Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:33
Darn Background Image (How the??)
Poster: aspwiz
Dated: Saturday July 6 2002 - 11:08:34 BST
Hi!!!
I'm trying to apply a background image to submenu's ... I have style1 applied to the top (horizontal) menu and style2 applied to all others which expand vertically from the top menu. I have version 3.4 and see no provision to add a background image to the menus... Am I missing something, or is this something that is undocumented?
I know it's possible, reading other posts on here, but cant glean enough info from them on how to do this. I cant see an option in the menu_array.js file to do this. If it helps, I downloaded the zip from this site today (06th July 2002) and so I know I have the latest version.
Any help in achieving what I need would be gratefully received.
Thanks in Advance,
Poster: Andy
Dated: Monday July 8 2002 - 11:57:57 BST
Hi,
If you are using the latest version (v3.4.12) you can try this.
Code:
,"Sample","link.htm backimage=img1.gif;overbackimage=img2.gif",,,1
Your style will need to have transparent colors for this to work, you can do this by setting the color to "" in the style array.
You can also add images to the menu item itself like this
Code:
,"<img border=0 src=img1.gif> Text Here","# swapimage=img2.gif;",,,0
Hope this helps
Andy