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

images on menu header do not appear?


Poster: stuarth
Dated: Friday October 22 2004 - 0:46:19 BST

My menu has not gone live yet so I will try to explain my problem as best I can.

My menu functions fine as a horizontal bar across the browser however, When I load the page fresh the menu title images do not appear, instead I have the image placeholders with the white square and red cross!? The script is clealy not fetching the images. When I hover over one of these drop downs the image appears and stays there. When I run over all the image titles with the curser all the images appear and there does not seem to be a problem. Upon refreshing the page the images again dissapear and I have to go through the same process to see them.

Am I missing something simple here? Help would be greatly appreciated as its beginning to get on my nerves. I have looked at every element of JS but cannot find the problem?

If you require a URL for me to help you understand please let me know and I'll see what I can do.

Thanks,
Stu


Poster: Maz
Dated: Friday October 22 2004 - 4:14:58 BST

Make sure you paths are correct, usually works best to start with slash
/images.gif

Then like the last post you might want to locate and use preloadimages.js

Hopefully you didn't put the menu in a div. ;)

maz


Poster: stuarth
Dated: Friday October 22 2004 - 12:46:51 BST

shouldnt the images load without preload? The timing of the images loading is not a problem. The images dont load at all until I roll over them. This isnt a preload problem.

Can anyone help?


Poster: Ruth
Dated: Friday October 22 2004 - 13:29:07 BST

What browser are you using, and OS? I've just tested the samples 12, 16, 17, 18, 19 all of which uses images and I didn't have any problem in IE5.5 win98se. If possible could you post a test page with your menu and images?

Ruth


Poster: stuarth
Dated: Friday October 22 2004 - 14:04:29 BST

I'm using IE 6.0. Should be ok.

I'm just trying to prepare a preview page for you online but might take a while.

Would it be easier if I supplied my JS on here for you to look at?

Thankyou very much for the help. Very much appreciated


Poster: Ruth
Dated: Friday October 22 2004 - 15:38:12 BST

We wouldn't have the images, nor the page coding along with the menu coding. We need all of it to see if something is causing the problem, some kind of conflict, so when you do the page, you need to have whatever coding is on the one that's causing you the problem.

Ruth


Poster: stuarth
Dated: Friday October 22 2004 - 15:52:17 BST

I have tried uploading all the necessary files (web pages / images / JS / css) etc. The problem with this is the menu does not appear at all when live?! Locally the menu appears but does not have the title images to begin the drop down titles. I could provide you with my code in text format but this forum does nat allow me to upload attachments.

This is beginning to get on my nerves. I have a few people helping me on the coding forum site where I was able to upload my DW MX pages and JS.

Thanks for the help but there is no point in you looking at my URL live because the menu does not appear!


Poster: stuarth
Dated: Friday October 22 2004 - 16:12:57 BST

I keep recieving the same error - 'menuname' is undefined?


Poster: Ruth
Dated: Friday October 22 2004 - 16:18:14 BST

Hi Stuarth,
I'm sorry about the frustration. I do understand because I still have those problems of not seeing menu sometimes when I'm testing. Usually it's because I didn't put in the correct path to the menu files on the web. Now I've created a folder in my root directory called 'test' and I've started just putting in the full path when I'm testing, like this
Code:
<script language=JavaScript src="http://whatever.com/test/milonic_src.js" type="text/javascript"></script>

      <SCRIPT language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=http://whatever.com/test/mmenuns4.js><\/scr"+"ipt>");      
  else _d.write("<scr"+"ipt language=JavaScript src=http://whatever.com/test/mmenudom.js><\/scr"+"ipt>");
</SCRIPT>
<SCRIPT language=JavaScript src="http://whatever.com/test/menu_data.js" type=text/javascript></SCRIPT>
If you could give me the url I could check and see if I can find out what's wrong.

Ruth


Poster: Ruth
Dated: Friday October 22 2004 - 16:33:19 BST

Hi Stuarth,
I was posting as you were putting up the other message. If you could give me a url to get your menu_data.js file I can check and see if there's something incorrect in it that's causing that message. Or you could paste the code here using the code buttons.

Ruth


Poster: stuarth
Dated: Friday October 22 2004 - 17:20:09 BST

Yes of course Ruth!
Try;

http://www.bii-compliance.com/blue_cube/javas/menu_data.js
http://www.bii-compliance.com/blue_cube/library/BlueCubeNav.lbi

the URL of the temporary homepage is http://www.bii-compliance.com/blue_cube/index.htm

I really hope you can help. I've been looking at this all day and have only managed to work backwards!


Poster: Ruth
Dated: Friday October 22 2004 - 18:22:38 BST

You have an error in the image path for the http://www.bii-compliance.com/blue_cube ... ubeNav.lbi When I go to that page and view source the source shows the images as images/why_bc_off.gif, the problem is the url for the .lbi is library/etc but you have no library/images folder. The folder for images is blue_cube/images/

As to why you're not getting the menu, I have to think it's something to do with that <!-- #BeginLibraryItem "/Library/BlueCubeNav.lbi" --> Since on my desktop, where I don't use the .lbi it shows fine. However, I can't help with that becaue I have no idea what it is or how it works. The only suggestion I can make is again with the paths. That error you are getting seems to be saying that the menuname part of this
Code:
with(milonic=new menuname("Main Menu")){
is not defined. That definition comes from the program files milonic_src.js and mmenudom.js, so that implies the page is not getting the files.

I'm sorry I can't help more, but I don't know about .lbi which I think is the problem. Not that file, but the paths I think

Ruth


Poster: stuarth
Dated: Friday October 22 2004 - 18:35:07 BST

Thanks Ruth.

The problem for me at this stage is the images not showing on the menu bar. I shall create a local images folder to the library document and see if this helps.

Thanks for your help, greatly appreciated Ruth.


Poster: Ruth
Dated: Friday October 22 2004 - 19:00:18 BST

You're welcome. If you fix the paths for the images in that file, you still won't see them, except on that page since the menu is not rendering except there. It must be the paths in that .lbi file for the menu files that is causing the problem for showing the menu.

Ruth


Poster: stuarth
Dated: Monday October 25 2004 - 9:43:52 BST

The Library file (lbi) is simply a page which applies to all my web pages. When I make a change to this document dreamweaver automatically updates the rest of my web pages. Just easier to manage the site.

I have someone coming in today to have a look at the problems. I shall let you know if I manage to sort this problem out.

Stu.


Poster: stuarth
Dated: Monday October 25 2004 - 11:56:55 BST

I created an images folder in the library directory (folder) and redirected the paths to fetch images from this location. The result was exactly the same :( Still no images appear on my menu until rollover.

Getting a little depressing this.

If anyone can help please give me a shout.


Poster: stuarth
Dated: Monday October 25 2004 - 12:30:07 BST

Do you think this could have abything to do with the fact that I have the Evaluation copy? I tried removing the image on the top left of the screen and writing it in html but 'milonic' came up instead of what I wanted?!! This clicked straight through to the Milonic site.

This website has been passed onto me so I was not aware of the Milonic tie up until I ventured into the source. I need this menu to work as soon as possible. If I need to purchase the full licence to stop this happening please let me know how I can do this.

Thanks


Poster: John
Dated: Monday October 25 2004 - 16:07:41 BST

Couple of problems. While not directly involved with your problem, they still need to be addressed.

You have removed the copyright statement from mmenudom.js. Not allowed...

Quote:
All Copyright statements must always remain in place in all files at all times
******* PLEASE NOTE: THIS IS NOT FREE SOFTWARE, IT MUST BE LICENSED FOR ALL USE *******


You are a commercial site, so the menu absolutely does need to be licensed. See http://www.milonic.com/cbuy.php. That will also take care of the Milonic item appearing as the first menu item.

Might as well upgrade while you're at it. The current version is 5.51, you're running 5.45.


Stick with Ruth - she'll get you going.


Poster: stuarth
Dated: Monday October 25 2004 - 17:00:48 BST

Thanks John.

Like I said before I was handed the site a week ago and asked to piece it all together because a design agency handeling the design were 4 months overdue.

The Milonic script was clearly cleaned off some of the pages but it didnt take me long to realise. I instantly got on this forum to ask for direction because I need this sorted in order to continue the design process.

Ruth was excellent but I am now in direct contact with Milonic who are sorting out my menu. I will of course be paying for the menu. If the menu is a success I will also glady write a case study of my nightmare week!

Thanks for your input John.


Poster: John
Dated: Tuesday October 26 2004 - 0:06:35 BST

I spent some time on it this morning, but unfortunately had to go back to my regular work (and haven't been out of this chair since!). Sorry I wasn't able to snag it for you then, but Andy will definitely get it done.


Poster: stuarth
Dated: Tuesday October 26 2004 - 1:08:39 BST

Turns out that the old version which I had was having bug trouble. Andy provided me with a couple of fixed JS scripts which put things right as rain. I am very happy.

Fantastic feedback - Thanks Ruth, John and Andy for making this project possible for me.


Poster: John
Dated: Tuesday October 26 2004 - 4:16:18 BST

He probably gave you 5.52, which is up as a pre-release right now. I think you had 5.51, which is what I was trying as well.

Anyway, glad it's working!