Mouseover - Image Change on MO

F

FluxForums

Place in <head
<script language="javascript"
<!-
/*Visit A1javascripts.com for more neat scripts*
a1=new Image(59,47
a1.src="http://yourimage.gif
a2=new Image(59,47
a2.src="http://yourimage.gif
//--
</script
<script
<!-
function filter(imagename,objectsrc)
if (document.images
document.images[imagename].src=eval(objectsrc+".src"

//--
</script
Place in <body
<!-- --
<a href="yoururl.htm
onmouseover="filter('img1','a2'); window.status='Status Message';retur
true;
onmouseout="filter('img1','a1'); window.status='';return true;
onclick="window.focus()"
<img src="yourimage.gif" name="img1" border=0 width=59 height=47></a
<!-- --
 
R

Randy Webb

FluxForums said:
Place in <head>
<script language="javascript">
<!--
/*Visit A1javascripts.com for more neat scripts*/
a1=new Image(59,47)
a1.src="http://yourimage.gif"
a2=new Image(59,47)
a2.src="http://yourimage.gif"
//-->
</script>
<script>
<!--
function filter(imagename,objectsrc){
if (document.images)
document.images[imagename].src=eval(objectsrc+".src")
}
//-->
</script>
Place in <body>
<!-- -->
<a href="yoururl.htm"
onmouseover="filter('img1','a2'); window.status='Status Message';return
true;"
onmouseout="filter('img1','a1'); window.status='';return true;"
onclick="window.focus()">
<img src="yourimage.gif" name="img1" border=0 width=59 height=47></a>
<!-- -->

If that is indicative of the junk/quality of the scripts on
A1javascripts, no thanks, I prefer quality scripts.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top