ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - inc_catsmenu and FireFox
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

inc_catsmenu and FireFox

 Post Reply Post Reply
Author
Message
bsnyder View Drop Down
Newbie
Newbie


Joined: 18-November-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote bsnyder Quote  Post ReplyReply Direct Link To This Post Topic: inc_catsmenu and FireFox
    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?


Edited by bsnyder - 08-January-2009 at 12:52pm
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post 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?

Back to Top
bsnyder View Drop Down
Newbie
Newbie


Joined: 18-November-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote bsnyder Quote  Post ReplyReply Direct Link To This Post Posted: 08-January-2009 at 1:32pm
The menu will not expand
 
Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post 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);
Back to Top
bsnyder View Drop Down
Newbie
Newbie


Joined: 18-November-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote bsnyder Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
bsnyder View Drop Down
Newbie
Newbie


Joined: 18-November-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote bsnyder Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
bsnyder View Drop Down
Newbie
Newbie


Joined: 18-November-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote bsnyder Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post 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;">
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.074 seconds.