Forums Archive Index > SmartMenus 5 > "#" after address causes menus to lose CSS styles.

Author: phredphish

Date: 17 May 2005 10:13 am

My website is:
--> http://lymanbriggs.msu.edu/index_test.php

When you add a # to the end of the address like:
--> http://lymanbriggs.msu.edu/index_test.php#

in BOTH IE and Firefox, the menus lose their green-themed CSS style and revert back to the purple original. What am I missing that allows this to happen?

(if it doesn't show up incorrectly the first time, hit REFRESH when the '#' is added to the address)

Thanks,
Andrew B.


Author: smartmenus

Date: 17 May 2005 11:07 am

You currently have s_autoSELECTED=true set in your configuration file. If you don't want to use this feature, just set s_autoSELECTED=false and your problem will be gone.

However, if you want to use this feature, you will have to replace all instance of U:'#' you have in your configuration file with U:''. Btw, it's a good thing to do this as this is actually the correct syntax you should use for items that don't have links. This will solve the problem.