Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:48


Poster: Valarie
Dated: Wednesday January 14 2004 - 21:12:03 GMT

Thanks in advance for all assistance!

My testing link:

I've loaded up a couple of pages for testing purposes. The problem is with images I use on the main menu. If you move to one of the subpages, I'm losing the images. Any ideas??

Subpage: ... nefits.htm


Poster: John
Dated: Wednesday January 14 2004 - 22:08:42 GMT

First problem is you're way down-level. You are running RC31, and current is RC40. Upgrade.

As to the graphics, your pathing is wrong. As you have it now, it is document-relative (Elements/Menu/about_rg.gif). At the root level it looks for and finds it OK. When you move to a different level it now looks for ... out_rg.gif, which is not where your graphics are located. You need server-relative addressing, which is simply...

This forces the server to start looking for things from the root level, regardless of where the page is located.

Don't forget the arrow as well!

Poster: Valarie
Dated: Wednesday January 14 2004 - 22:29:03 GMT

Thanks a ton, John!

Was trying to get away with not having to do that... as you see I'm building this in a temp location. Ah, well. =)

I've also uploaded the new build, boss. =)

Thanks again!

Poster: Maz
Dated: Thursday January 15 2004 - 1:23:42 GMT


Its really easy, just drop in the 3 new main js files.


Poster: John
Dated: Thursday January 15 2004 - 14:27:26 GMT

You're welcome.

Also, somewhere in the early 30's (I think!) a few minor changes were made to the data file syntax. You might want to compare the sample _data.js file in the download against yours just to be sure - small stuff, ';' additions and placement, etc.

Scratch that. Just looked at what you have and it is correct.

However, I would suggest taking the...
<script language="JavaScript" src="Script/milonic_src.js" type="text/javascript"></script>   
<script language="JavaScript" type="text/javascript">
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=Script/mmenuns4.js><\/scr"+"ipt>");      
  else _d.write("<scr"+"ipt language=JavaScript src=Script/mmenudom.js><\/scr"+"ipt>");

...out of the <td> (leave only the _data call there) and move it up to the first items after <body>.