|
|
Can I specify an image in place of text or background in my mouse over drop down menu?
Return to Recent Questions
Q:
Can I specify an image in place of text or background for each item in my mouse over drop down menu?
A:
If you want to use images instead item text, you should use
individual item styles.
Use DHTML Tuner application to create and assign individual
styles for your mouse over drop down menu items. You can find it in the trial package.
For example:
var itemStyles = [
["itemWidth=200", "itemBackImage=image1.gif,image2.gif"], // style 0
["itemWidth=150", "itemBackImage=image3.gif,image4.gif"], // style 1
];
var menuItems = [
[" ", "link", "", "", "tip", "target", "0"],
[" ", "link", "", "", "tip", "target", "1"],
];
Where "0", "1" - style number in itemStyles.
Return to Recent Questions
Related:
- March 12, 2009 - I don't understand, how can change place of the icon in button context menu...
- March 12, 2009 - I have problems with image paths when I create net navigation menu in DHTML Tuner.
- March 15, 2009 - I have problems with transitional effects in Firefox in the mouse over drop down menu...
- March 15, 2009 - How can I disable items in javascript onmouseover menu?
- March 16, 2009 - Is there any way to keep a effective website navigation lit up when going to another page?
- March 16, 2009 - How can I change item width in the Vista templates in the dhtml javascript menu?
- March 18, 2009 - I am getting a Javascript error, when accessing any of the menue script.
- March 19, 2009 - How to get the javascript menu dynamique to highlight and stay on the page you're viewing?
- March 19, 2009 - I need that the dynamic css menu loads pages into an iFrame.
- March 20, 2009 - Is it possible to have the "parent" items of the css pulldown menu be purely an image?
- March 20, 2009 - Links don't work in the site navigation. How can I correct this?
|