URL on top menu items

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
AnnA[FN]
Beginner
Beginner
Posts: 4
Joined: Fri Apr 30, 2004 8:46 am
Location: Latvia, Riga
Contact:

URL on top menu items

Post by AnnA[FN] »

Followed instructions, but cant get links on top menu items.

I use only images + top menu items are on seperate file, not in menu_data.js. Included into table.

Any ideas what im doing wrong?

<SCRIPT language=JavaScript src="menu_data.js" type=text/javascript></SCRIPT>
<script language=JavaScript type=text/javascript>
with(milonic=new menuname("Main Menu")){
style=AllImagesStyle;
alwaysvisible=1;
orientation="horizontal";
position="relative";
aI("url=http://www.delfi.lv/;showmenu=aa Samples;image=./img/top_regular_03.gif;overimage=./img/top_over_03.gif;");
aI("url=http://www.delfi.lv/;showmenu=aa Samples;image=./img/top_regular_04.gif;overimage=./img/top_over_04.gif;url=http://dev.batesadm.lv/balta_new/;");
aI("showmenu=aa Samples;image=./img/top_regular_05.gif;overimage=./img/top_over_05.gif;");
aI("showmenu=aa Samples;image=./img/top_regular_06.gif;overimage=./img/top_over_06.gif;");
aI("showmenu=aa Samples;image=./img/top_regular_07.gif;overimage=./img/top_over_07.gif;");
aI("showmenu=aa Samples;image=./img/top_regular_08.gif;overimage=./img/top_over_08.gif;");
}
drawMenus();
</script>
AnnA[FN]
Beginner
Beginner
Posts: 4
Joined: Fri Apr 30, 2004 8:46 am
Location: Latvia, Riga
Contact:

Post by AnnA[FN] »

OK. Found another solution, even cant't find why on top menu weren't links. Made based on popup() function.

But if anbody have any ideas, plz share.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

To start with remove all the dots from your paths.

start with a slash /

maz
Post Reply