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:59
Popup a Menu on MouseOver of A Image
Poster: dvtusa
Dated: Friday October 31 2003 - 3:34:00 GMT
I've just purchased a license today and follow the instructions but it doesn't work for me. Basically, I want a menu to popup whenever my mouse is moved over an image. I got Object not found when in try to invoke the function popdown() and popup(). A simple example is at
http://www.realtimerealty.net:8080/site ... t/test.jsp
All the JS files are located in the same directory.
Thanks
Poster: John
Dated: Friday October 31 2003 - 5:19:36 GMT
Getting 404s when looking for your Milonic menu files in that directory.
Did you look at http://milonic.com/menusample.php?sampleid=24?
Poster: kevin3442
Dated: Friday October 31 2003 - 5:32:53 GMT
Hi,
Are you sure the .js files are in the same directory? That's where you're trying to load them form, true. But the page is behaving as if the scripts are not being found. For example, you src a menu_data.js file, but no menu appears. I also can't find any of the three script files manually (404 errors). I'd check that first.
Another thing I notice: In your <img> tag, you have name="Image39" and id="calc", but the sample page uses the same value for both id and name (id="milonicmenu" and name="milonicmenu"). I've had success using just the id in the <img>; don't know if you need to use name as well, but it might be necessary for some cross-browser compatibility. I've also gotten it to work by simply calling the popup() and popdown() functions with the onmouseover and onmouseout events in the <img> tag; that makes more logical sense to me, since the menu opens with respect to the image and not the <a> tag. But both approaches should work.
Hope that helps,
Kevin