|
|
Is it possible to use background images for the top items in down menu script?
Return to Recent Questions
Q:
I'm trying out the cross-browser (top to bottom) drop down menu and I
was wondering if it was possible to have the top bar (the main items)
use a background image while the sub-items beneath used a plain
background color and no image?
So far I've gotten them to either both use a background image, or both
use a background color. Any advice would be greatly appreciated. :)
A:
Actually you can create any menu you like with Deluxe Menu.
You can use Individual Styles to set background image for the items
var itemStyles = [
["itemWidth=92px","itemBackImage=deluxe-menu.files/btn_black.gif,deluxe-menu.files/btn_black_blue.gif"],
];
or
you can use images instead of icons (you should delete item's text).
["","", "deluxe-menu.files/btn_black.gif", "deluxe-menu.files/btn_black_green.gif", "", "", "", "", "", ],
Return to Recent Questions
Related:
- Sep 02, 2006 - Can I show / hide the javascript floating menu .
- Sep 02, 2006 - Little vertical spacers between menu items in the drop down menu.
- Sep 06, 2006 - The alighment of the dropdown menu is off to the right in Firefox...
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Sep 06, 2006 - The first item of the html drop down menu stays highlighted.
- Sep 11, 2006 - How can I hide my dropdown menu on print?
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
- Sep 22, 2006 - How to call the function in my java script menu?
- Sep 23, 2006 - Is it possible that javascript drop down menus doesn't put anything on the local computer?
|