M
Mahernoz
Hello Friends,
The JavaScript File exmplmenu_var.js contains the code... (for the
sake of brevity i am showing only that code which needs to be changed)
I am actually developing a menu using JavaScript. I have used a
readymade javascript and there are variables like...
var LowBgColor='#0c4297'; // Background color when mouse is not over
var LowSubBgColor='#0c4297'; // Background color when mouse is not
over on subs
var HighBgColor='0c4297'; // Background color when mouse is over
var HighSubBgColor='#0e1651'; // Background color when mouse is over
on subs
var FontLowColor='white'; // Font color when mouse is not over
var FontSubLowColor='white'; // Font color subs when mouse is not
over
var FontFamily="Abadi MT Condensed" // Font family menu items
My Question is simple, instead of putting the values in JavaScript
File, for color, font, etc. i want to use the .css file, for e.g.
classname instead of values like '#0c4297'.
Any help?
Regards,
Mahernoz
The JavaScript File exmplmenu_var.js contains the code... (for the
sake of brevity i am showing only that code which needs to be changed)
I am actually developing a menu using JavaScript. I have used a
readymade javascript and there are variables like...
var LowBgColor='#0c4297'; // Background color when mouse is not over
var LowSubBgColor='#0c4297'; // Background color when mouse is not
over on subs
var HighBgColor='0c4297'; // Background color when mouse is over
var HighSubBgColor='#0e1651'; // Background color when mouse is over
on subs
var FontLowColor='white'; // Font color when mouse is not over
var FontSubLowColor='white'; // Font color subs when mouse is not
over
var FontFamily="Abadi MT Condensed" // Font family menu items
My Question is simple, instead of putting the values in JavaScript
File, for color, font, etc. i want to use the .css file, for e.g.
classname instead of values like '#0c4297'.
Any help?
Regards,
Mahernoz