Print Page | Close Window

inc_catsmenu and FireFox

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=2322
Printed Date: 22-July-2025 at 11:12am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: inc_catsmenu and FireFox
Posted By: bsnyder
Subject: inc_catsmenu and FireFox
Date Posted: 08-January-2009 at 12:50pm
Hello, I use the inc_catsmenua.asp in my product cart.  this funcation works perfectly with Internet Explorer but with FireFox it will not function at all.
 
Anyone have any suggestions?



Replies:
Posted By: Greg Dinger
Date Posted: 08-January-2009 at 1:12pm

Could you be a bit more specific about what doesn't work?  Does the generator fail?  Do your pages not render correctly?  Could  you post a link?



-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: bsnyder
Date Posted: 08-January-2009 at 1:32pm
The menu will not expand
 
http://www.tekdragon.com - http://www.tekdragon.com


Posted By: Matt
Date Posted: 08-January-2009 at 2:09pm
That is not the default menu.  Your UpDown function does not select an object.

It should look like this:

var etab=document.getElementById('SUB' + tabid);


Posted By: bsnyder
Date Posted: 08-January-2009 at 2:19pm
Yeah, I don't know what that means, all I have done was put
<ul><li style="width: 180px"><!--#include file="inc_catsmenua.asp"--></li></ul> 
into my header
I would use inc_catsmenu.asp rather than inc_catsmenua.asp but that one does not render right even in IE and puts those ugly +'s to the left of them.


Posted By: Greg Dinger
Date Posted: 08-January-2009 at 2:28pm

The point Matt is making is that you are using code for the menu that is not the stock code from ProductCart.

The process of altering the code (in inc_catsmenua.asp) to remove the +- icons evidently resulted in a situation where the javascript is incompatible with FF.  There are also display issues with FF, such that the pages shift to the left whereas they are centered in IE.



-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: bsnyder
Date Posted: 08-January-2009 at 2:31pm
yes, but I did not alter inc_catsmenu.asp to make inc_catsmenua.asp
It was already in my PC directory
Perhaps it was from an older version of product cart.


Posted By: Matt
Date Posted: 08-January-2009 at 2:31pm
That menu is not part of the ProductCart v3.x

Try this:

1.) Open inc_catsmenua.asp

2.) Find
var etab=eval(tabid);

3.) Replace with:
var etab=document.getElementById(tabid);

4.) Save and Upload.  Be sure to backup your existing copy first.


Posted By: bsnyder
Date Posted: 08-January-2009 at 2:34pm
Ok, that worked, Menu now expands in FireFox.
still aligns the page to the left, but that is no big deal, I can live with that.
 
Thanks


Posted By: Greg Dinger
Date Posted: 08-January-2009 at 2:50pm
Try removing the centering reference and adding this to the end of the very first table tag in your header.asp file:
 style="margin: 0 auto;"
 
Before:
<table width="750" border="0" cellspacing="0" cellpadding="0" align="center">
 
After:
<table width="750" border="0" cellspacing="0" cellpadding="0" style="margin: 0 auto;">


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net