Sorry for being a little late, I am just catching up with past posts.

For a simple double roll-over, I just used the following:

<script language="javascript">


<!--//
function msover(name1,img1,name2,img2) {

        document.images[name1].src=img1
        document.images[name2].src=img2

}

function msout(name1,img1) {

        document.images[name1].src=img1
        document.images['bigmain'].src="main.gif"

}
//-->

</script>

Then when you are actually placing the rollover, the code goes:

<A HREF="http://www.URL.com/page.htm"
onMouseOver="msover('name','gif2.gif','bigmain','gif3.gif')"
onMouseOut="msout('name','gif3.gif')"><IMG name="gif" SRC="gif.gif" ></A>

The advantage here is that you can swap a bunch of gif into the page and
keep the same code.

Hope this helps.

ari


At 02:25 PM 7/24/98 -0500, you wrote:
>On Fri, 24 Jul 1998, John H.Stewart wrote:
>
>> Yes, you can use the mounseover with an image map.  With the recent talk
>> about it, I started playing with the code using and image map.  I can
>> get the image map to change and get a secondary image to change.  I
>> haven't got a clean code sample; however, I started with one of the
>> samples and added my own graphic images.
>
>Try http://www.webmonkey.com.  I'm sure I saw an brief article with code 
>snippets on this subject there recently.
>
>Brett
>____________________________________________________________________
>--------------------------------------------------------------------
> Join The Web Consultants Association :  Register on our web site Now
>Web Consultants Web Site : http://just4u.com/webconsultants
>If you lose the instructions All subscription/unsubscribing can be done
>directly from our website for all our lists.
>---------------------------------------------------------------------
>
>
_________________________________________
Ari Kambouris
Metaphor Group, Inc.
Information Architecture and Project Management
565 W. 169th St. 3G
New York, NY 10032
tel. 212.740.6306
pager 917.243.1548 
e-mail <[EMAIL PROTECTED]>
____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to