images in menu

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.
dadams@njs-ent.com
Beginner
Beginner
Posts: 2
Joined: Sun May 19, 2002 7:24 pm

Re: images in menu

Post by dadams@njs-ent.com »

I second this wholeheartedly!
User avatar
yadin
Super Advanced
Super Advanced
Posts: 69
Joined: Sun May 19, 2002 8:23 pm
Location: State College, PA, USA
Contact:

Re: images in menu

Post by yadin »

absolutely you can.
all you have to do is point to an image in the array rather than put in text. Then in the same directory as the image (whatever.gif) put the rollover image with a name of whatever_over.gif
cheers!
Yadin
dnorris2@midsouth.rr.com
Beginner
Beginner
Posts: 3
Joined: Sun May 19, 2002 7:24 pm

Re: images in menu

Post by dnorris2@midsouth.rr.com »

How do you reference the rollover image in the array?

Like below, you would replace Band with an image reference, correct? How about the rollover? Thanks for the help in advance!

,"Band","show-menu=band",,"",
dadams@njs-ent.com
Beginner
Beginner
Posts: 2
Joined: Sun May 19, 2002 7:24 pm

Re: images in menu

Post by dadams@njs-ent.com »

I got it to work with "<img src='../images/myimg.gif' border=0>","show-menu=band",,"",

Simply have an image named myimg_over.gif in the same folder as myimg.gif and you're good to go.

Thanks Yadin!
chpalatinus@challengers.o
Beginner
Beginner
Posts: 5
Joined: Sun May 19, 2002 7:23 pm

Re: images in menu

Post by chpalatinus@challengers.o »

only problem is that it turns back to its original state on mouseout. How can you have it that the mouseover state remains when a submenue is opened?
User avatar
yadin
Super Advanced
Super Advanced
Posts: 69
Joined: Sun May 19, 2002 8:23 pm
Location: State College, PA, USA
Contact:

Re: images in menu

Post by yadin »

Glad you got it worked out David!

Chris, the concept of a rollover image is that it changes on mouseover and returns on mouseout. If you didn't want the image state to change you wouldn't use a rollover. I'm afraid I don't understand what you are asking for.
ken@digijar.com
Beginner
Beginner
Posts: 3
Joined: Sun May 19, 2002 7:23 pm

Re: images in menu

Post by ken@digijar.com »

I think what Chris means is that when you have the submenu open and move your mouse to the submenu.. the rollover image should stay on the over state to indicate that the submenu you are on is part of the mainmenu that it's brached off from.

thanks.
chpalatinus@challengers.o
Beginner
Beginner
Posts: 5
Joined: Sun May 19, 2002 7:23 pm

Re: images in menu

Post by chpalatinus@challengers.o »

That's exactly what I mean. I managed to configure the script so that the rollover state of the image of the supmenu is maintained, but I couldn't manage to swap the image back to its original state when all the menus or just the submenu closes. Yadin, I know it's not on your to-do list, but I hope you can tackle this wish of mine somehow.
Chris
User avatar
yadin
Super Advanced
Super Advanced
Posts: 69
Joined: Sun May 19, 2002 8:23 pm
Location: State College, PA, USA
Contact:

Re: images in menu

Post by yadin »

I understand now what you were asking for and actually others have brought this up. It is on our list for possible future releases since this adjustment would make the images match the behavior of the text. Stay tuned for updates!
Cheers,
Yadin
chpalatinus@challengers.o
Beginner
Beginner
Posts: 5
Joined: Sun May 19, 2002 7:23 pm

Re: images in menu

Post by chpalatinus@challengers.o »

Really looking forward for that feature to be implemented.....
chpalatinus@challengers.o
Beginner
Beginner
Posts: 5
Joined: Sun May 19, 2002 7:23 pm

Re: images in menu

Post by chpalatinus@challengers.o »

I have to come back to my problem with rollovers again. The rollovers work fine in NS4, meaning that the arrow-image in the top-menu remains active when a sub-menu is opened, and switches back when you mouse out or mouse over another top menu entry. Why is this? Is there a value set to a variable, or in which function do you say that the image should remain activated when its submenue is opened?
Jphe@wanadoo.fr
Beginner
Beginner
Posts: 3
Joined: Sun May 19, 2002 7:24 pm

Re: images in menu

Post by Jphe@wanadoo.fr »

Is there a way to put an image in background of the menu ?
I mean an image that would repeat under the text of the menu, like
in <td> of tables ?

I didn't understand how to do this ...
ken@digijar.com
Beginner
Beginner
Posts: 3
Joined: Sun May 19, 2002 7:23 pm

Re: images in menu

Post by ken@digijar.com »

I'm wondering the same thing as Jean-Philippe's inquiry.

If I use texts as the menu items on the parent or sub-level, how can I put background image underneath the text?

Thanks.
Jphe@wanadoo.fr
Beginner
Beginner
Posts: 3
Joined: Sun May 19, 2002 7:24 pm

Re: images in menu

Post by Jphe@wanadoo.fr »

Well in fact,
if you do not put a background color parameter the layer are transparent, and you can put image and text over.

BUT:

On IE 5 on Mac it doesn't work (the menu are green !!!)
Some parameters of img tag doesn't work on Mac ....
cbeattie@alphalink.com.au
Beginner
Beginner
Posts: 2
Joined: Sun May 19, 2002 7:24 pm

Re: images in menu

Post by cbeattie@alphalink.com.au »

Hello, I'm using images in my menu at the first level. However, I've come across a problem in NS4. The images seem to be padded at least 2 pixels (wide
el_kiwi@hotmail.com
Advanced
Advanced
Posts: 11
Joined: Sun May 19, 2002 7:23 pm

Re: images in menu

Post by el_kiwi@hotmail.com »

I am having the same green display problem with mac ie5 when not specifying background on/off in the style.
jp@encausse.net
Beginner
Beginner
Posts: 1
Joined: Sun May 19, 2002 7:24 pm

Re: images in menu

Post by jp@encausse.net »

Gotcha ! Thanks to Peter who told me :
the green displayed by the mac ie5 , is caused by gif89a transparency (it doesn't like it), if you use a PNG8 img this problem will not occur.

Thought you might like to know this as I have spent 3 days trying to find out why this happened.

It's so hard to understand that !!! Many thanks peter !
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: images in menu

Post by Andy »

Try this instead.

,"<img src=buttonlearn.jpg border=0>","show-menu=learn", "# swapimage=buttonlearn_over.jpg",,0

-- Andy
pavia@gti.net
Beginner
Beginner
Posts: 3
Joined: Sun May 19, 2002 7:24 pm

Re: images in menu

Post by pavia@gti.net »

I'm not sure which I'm more appreciative of...that it worked or that I got a response in two minutes. Wow! Thank you. :-)
steve@creedfeed.com
Beginner
Beginner
Posts: 2
Joined: Sun May 19, 2002 7:24 pm

Re: images in menu

Post by steve@creedfeed.com »

Ok, I have a question about this... is it possible to keep the "swapimage" showing while the user is mouseOver'ing the dropdown menu?

http://www.creedfeed.com/test.php

Check out the Latest News button. When a user puts the mouse on the button, the image swaps, but when they scroll over the dropdown menu, the image swaps back. It should stay swapped while the user is on that particular menu... how to do this?
Post Reply