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:21
Set image.
Poster: WLQ
Dated: Tuesday March 4 2008 - 9:37:28 GMT
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>
Re: Set image.
Poster: Ruth
Dated: Tuesday March 4 2008 - 16:37:41 GMT
Hi,
You are going to have to give me the js function that is being called [the setImage thing] so I can experiment.
Ruth
Re: Set image.
Poster: WLQ
Dated: Thursday March 6 2008 - 10:14:10 GMT
here look http://try.phpnet.us/
Re: Set image.
Poster: Ruth
Dated: Friday March 7 2008 - 4:03:46 GMT
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
Re: Set image.
Poster: WLQ
Dated: Friday March 7 2008 - 9:46:10 GMT
ok thanks I'm waiting for the reply...
Re: Set image.
Poster: Ruth
Dated: Saturday March 15 2008 - 20:46:42 GMT
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://www.milonic.com/support/ If not, then I can only wait for Milonic to reply.
Ruth