Dynamic Images Setup?

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
-TeZ-
Beginner
Beginner
Posts: 2
Joined: Fri Oct 25, 2002 5:50 pm

Dynamic Images Setup?

Post by -TeZ- »

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: Select all

,"<img src=/images/image1.gif border=0> Link Text","/ swapimage=image2.gif;offfunction=undefined;","http://buttonURL","show-menu=menu1",1
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?
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi Tez,

Using the elements from the code you wrote, try this approach:

Code: Select all

,"<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
-TeZ-
Beginner
Beginner
Posts: 2
Joined: Fri Oct 25, 2002 5:50 pm

Post by -TeZ- »

OOhh, I see now! Thanks very much!
Post Reply