Where is my subimage?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Cirtap
Advanced
Advanced
Posts: 17
Joined: Fri Mar 19, 2004 10:02 am

Where is my subimage?

Post by Cirtap »

Can someone give me a clue what’s wrong with my subimage. I have updated my license and after that it won’t show up.

Here is the cod in member_menu_data.js. The site is table based so the rest of the cod is in each page.

[code]with(menuStyle=new mm_style()){
bordercolor="#767676";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#CCA8DC";
offcolor="#353535";
onbgcolor="#992a91";
oncolor="#ffffff";
outfilter="randomdissolve(duration=1)";
overfilter="Fade(duration=0.2);Alpha(opacity=95);Shadow(color=#f0f0f0', Direction=135, Strength=2)";
padding=3;
pagebgcolor="#C276E4";
pagecolor="black";
separatorcolor="#767676";
subimage="image/arrow.gif";
separatorsize=1;
subimagepadding=2;
}
drawMenus();[/code]

Test site:

http://www.arbetsgivaralliansen.se/test ... index.aspx

//cirtap
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

The path to the subimage is incorrect. You have image/arrow which sees the path as

Code: Select all

http://www.arbetsgivaralliansen.se/test/aaweb/medlem/idrott/image/arrow.gif; 
But, the actual path is

Code: Select all

http://www.arbetsgivaralliansen.se/test/aaweb/image/arrow.gif
Ruth
Cirtap
Advanced
Advanced
Posts: 17
Joined: Fri Mar 19, 2004 10:02 am

Post by Cirtap »

Thanx Ruth

The arrows is back on track.
One more question. On my dummy site I just this cod for the meny

Code: Select all

<script language=JavaScript src="../Script/member_script/horizon/member_milonic_src.js" type=text/javascript></script>

<script language=JavaScript src="../Script/member_script/horizon/member_mmenudom.js" type="text/javascript">
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=/member_mmenuns4.js></scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=/member_mmenudom.js></scr"+"ipt>");
</script>

<script language=JavaScript src="../Script/member_script/horizon/member_menu_data.js" type=text/javascript></script>
But after I renewed the licens and downloaded the new files I was told to juse this cod:

Code: Select all

<noscript><a href="https://milonic.com/">DHTML Menu By Milonic JavaScript</a></noscript>			
<script type="text/javascript" src="milonic_src.js"></script> 
<script type="text/javascript" src="mmenudom.js"></script> 
<!-- The next file contains your menu data, links and menu structure etc -->
<script type="text/javascript" src="menu_data.js"></script>
and the meny stop working. Can you please help me out?
/Cirtap
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Because your paths are incorrect. When they say use this code, they are just telling you that you don't need the if else statement unless you absolutely get people with netscape4, which I doubt is used anymore by anyone. But, you still have to use your paths to where you put the files which based on your old calls was here

Code: Select all

"../Script/member_script/horizon/


and then the file name.

If you don't put in the paths to where the file is on your site it can't find the file and the menu won't work.

Ruth
Post Reply