Friday, July 15, 2005

Sub-menus do not load on one of the pages of your website

One possible problem, that I faced was that the value assigned for the name attribute of the anchor tag, was similar to the one of the varible used in the menu script. This caused some kind of Java script error that did not display the submenus only on that particular page.

For example

If u have used something like
<a name="thisyear">


and suppose your javascript code also has a variable defined 'thisyear' then there is a high probability that there would be a javascript error raised.

0 Comments:

Post a Comment

<< Home