suzy1982
Junior Member
Posts: 2
Registered: 1/17/2005
Member Is Offline
|
| posted on 1/17/2005 at 02:12 PM |
|
|
unable to put images in a javascriopt menu
Puttin pictures into a Javascript menu
Hi There,
I'm hoping someone can help me, i am having problems putting bullt images into my javascript menu,
I have attatched a small screen print to show what i am trying to achieve, below is some of the code i am using in this part of the menu, although the
image shows the triangle bullets these are not showing in the menu.
can you advise what kind of tag needs to be put in and where abouts in the code, i would have thought it would have went in before every
"menuitem.additem..."
here is the code
var menu = new _Menu(0,100,169) // create the menu menu(left,top,width)
//menu.bottomimage="images/sidebot_nav.gif"; //to set the bottom image below the menu
menuItem = menu.addItem( new _MenuItem("TA Home", menuStyle, "/folder_structure1/folder_structure2.htm"));
menuItem = menu.addItem( new _MenuItem("TA News", menuStyle));
menuItem.addItem(new _MenuItem("TA News", subMenuStyle, "//folder_structure1/folder_structure3.htm") );
menuItem.addItem(new _MenuItem("News Archive", subMenuStyle, "//folder_structure1/folder_structure4.htm") );
menuItem.addItem(new _MenuItem("News Alert System", subMenuStyle, "//folder_structure1/folder_structure5.htm") );
i had to change the folder names but apart from that it does work!
sooze
Attachment: help_file1.psd (65.86kb)
This file has been downloaded 324 times
|
|
|
tigra
Administrator
Posts: 1990
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 1/25/2005 at 07:01 PM |
|
|
Make sure you use Tigra Menu. By the code sample you provided I can say it's something else.
|
|
|
|