WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 CSS confusion with multiple DHTML Menu 4s, Bob Ryskamp, February 23, 2004
     Re:CSS confusion with multiple DHTML Menu 4s, Erik Arvidsson, February 24, 2004
         Re:CSS confusion with multiple DHTML Menu 4s, Bob Ryskamp, February 25, 2004

Subject: Re:CSS confusion with multiple DHTML Menu 4s From: Bob Ryskamp Date: February 25, 2004

I've tried setting the cssFile in the .js files like this:

in componentSwitcher.js, this line: Menu.prototype.cssFile = "componentSwitcher.css";

in componentMenu.js, this line: Menu.prototype.cssFile = "componentMenu.css";

Still the page displays the menuBars using one of the files, and the menuBodies with the other file. Should I be setting the css file in another way?

Thanks,

Bob

From: Erik Arvidsson
Sent: Feburary 24, 2004
Subject: Re:CSS confusion with multiple DHTML Menu 4s

All the menu bars on the page will use the same css (unless you modify the css files). You can set the cssFile or the cssText on the menu object instead of on the prototype to allow different menus to have different look and feel.

erik





Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX