PDA

View Full Version : Stylesheet switcher w/Slashdot Menu



julmado
08-24-2007, 03:52 AM
1) Script Title: Slashdot Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/slashdot.htm

3) Describe problem:

I have gotten the SD menu to work beautifully (thank you DimX!), and would like to permit users to select their menu style by selecting stylesheets from a dropdown.

The default CSS file is sdmenu.css, and I have created a few variants I want to make available.

I have attempted two methods:

http://www.alistapart.com/stories/alternate/

and (of course)

http://www.dynamicdrive.com/dynamicindex9/stylesheetswitcher.htm

It seems there may be a Javascript conflict somewhere but I can't pinpoint it precisely.

My stylesheets are vertainly valid as everything display properly, however switching does not seem possible.

Is this an impossible feat?

jscheuer1
08-24-2007, 07:02 AM
I cannot speak for the 'A List Apart' script, but the two Dynamic Drive scripts do not appear to have any intrinsic conflicts between them. It probably has to do with how you are using them, but it could be something else. To be able to help you, we would need a link to the page that uses these two Dynamic Drive scripts:

Please post a link to the page on your site that contains the problematic scripts so we can check it out.