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: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:20

Dynamic Images Setup?


Poster: -TeZ-
Dated: Friday October 25 2002 - 18:11:06 BST

I've noticed that the sample for dynamic images has no working links:
http://www.milonic.co.uk/menu/menusample.php?sampleid=4

I would like to have a dynamic mouse-over image (a small arrow), linked text and "show-menu" all in the same menu item. Can this be done? I've tried variations of the following with no luck:
Code:
,"<img src=/images/image1.gif border=0> Link Text","/ swapimage=image2.gif;offfunction=undefined;","http://buttonURL","show-menu=menu1",1


Quote:
Alternate properties are addition properties that change the appearance of your menu items and are included with the link text in your menu array. If the URL slot contains a holder for a submenu with show-menu=menuname you shift both the url and altarnate-properties over to the alternate_url slot.

Where is the "altarnate url" slot?


Poster: kevin3442
Dated: Friday October 25 2002 - 20:21:00 BST

Hi Tez,

Using the elements from the code you wrote, try this approach:
Code:
,"<img src=/images/image1.gif border=0>&nbsp;Link Text","show-menu=menu1","http://buttonURL swapimage=image2.gif;offfunction=undefined;",,1

A few things to note:

(1) It'll look better if you put at least one &nbsp; after the image.

(2) The "show=menu=..." always goes in the main URL field (field #2)

(3) If you use a show-menu in the main URL field, all alternate properties must go in the alternate URL field (field #3). If you don't actually have a URL you want to link to on a click, but still want to use alternate properties, use a # in place of a URL to link to.

It's also worth noting that if you just want a small arrow to indicate the availability of a submenu, you don't have to go to the trouble of defining images and rollovers for each such menu item. The functionality is actually built into the menu system (you could therefore reserve the above efforts for other image effects).

Hope that helps,

Kevin


Poster: -TeZ-
Dated: Tuesday October 29 2002 - 15:32:36 GMT

OOhh, I see now! Thanks very much!