Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:36
Where is my subimage?
Poster: Cirtap
Dated: Wednesday April 25 2007 - 16:11:21 BST
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
Poster: Ruth
Dated: Wednesday April 25 2007 - 23:58:02 BST
Hi,
The path to the subimage is incorrect. You have image/arrow which sees the path as
Code:
http://www.arbetsgivaralliansen.se/test/aaweb/medlem/idrott/image/arrow.gif;
But, the actual path is
Code:
http://www.arbetsgivaralliansen.se/test/aaweb/image/arrow.gif
Ruth
Poster: Cirtap
Dated: Thursday April 26 2007 - 10:34:10 BST
Thanx Ruth
The arrows is back on track.
One more question. On my dummy site I just this cod for the meny
Code:
<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>
<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:
<noscript><a href="http://www.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>
<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
Poster: Ruth
Dated: Thursday April 26 2007 - 17:02:32 BST
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:
"../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