Set image.

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
WLQ
Super Advanced
Super Advanced
Posts: 35
Joined: Fri Aug 03, 2007 8:18 am

Set image.

Post by WLQ »

Is it possible to make two and more pictures so that they are connected to each other.
For example. I have image 1 and image 2. When i mouseover image 1 image 1 changes to image 1_over and image 2 changes to image 2_nothing. When i mouse over image 2 image 2 changes to image 2_over and image 1 changes to image 1_nothing.

Here is the html example:

<a href="#"
onmouseover="SetImage('Image1','images/1_over.bmp');SetImage('Image2','images/2_nothing.bmp');return false;"
onmouseout="SetImage('Image1','images/1.bmp');SetImage('Image2','images/2.bmp');return false;">
<img src="images/1.bmp" id="Image1" alt="" align="top" border="0" style="width:58px;height:24px;"></a>
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Set image.

Post by Ruth »

Hi,

You are going to have to give me the js function that is being called [the setImage thing] so I can experiment.

Ruth
WLQ
Super Advanced
Super Advanced
Posts: 35
Joined: Fri Aug 03, 2007 8:18 am

Re: Set image.

Post by WLQ »

User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Set image.

Post by Ruth »

Hi,

There is a way to do it in the menu_data file, but you don't need all that stuff with setimage and such. However, right now there's a bug in the separator image and overseparator image which has to be fixed. Once that is fixed you'd use the forum.bmp as the image, forum_over.bmp as the overimage, then you'd use button_bottom_nothing.bmp as the separatorimage, and button_bottom_over.bmp as overseparatorimage, setting the separatorheight=10;separatorwidth=101;

But, as I said, first the issue with the separatorimage, overseparatorimage has to be fixed. I just posted it to Milonic, they are usually pretty quick to fix things.

Ruth
WLQ
Super Advanced
Super Advanced
Posts: 35
Joined: Fri Aug 03, 2007 8:18 am

Re: Set image.

Post by WLQ »

ok thanks I'm waiting for the reply...
WLQ
Super Advanced
Super Advanced
Posts: 35
Joined: Fri Aug 03, 2007 8:18 am

Re: Set image.

Post by WLQ »

will it take monthes?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Set image.

Post by Ruth »

Hi,

It shouldn't. I will post again. You can also try contacting Milonic from the main site. If you have a professional or above license try this link http://milonic.com/support/ If not, then I can only wait for Milonic to reply.

Ruth
Post Reply