Dismiss Notice

Register now to be one of the first members of this SharePoint Community! Click here it just takes seconds!

Dismiss Notice
Welcome Guest from Country Flag

Multiple Rollover Images on a page

Discussion in 'SharePoint Blogs' started by /u/wiredwisk, Apr 4, 2017.

Thread Status:
Not open for further replies.
  1. /u/wiredwisk

    /u/wiredwisk Guest

    Blog Posts:

    I would like help adding multiple rollover images onto 1 page. So far I have the below code for 1 image. I can't figure out how to add an additional image. So far, everything I've tried as resulted in the two images not rolling over. Please help. (if you are interested the remaining images will be PN_CTR.png, PN_Equipment.png, PN_Exit.png, and PN_NewHire.png).

    <head> <script language="Javascript"> <!-- //Slide Show script (this notice must stay intact) //For this and more scripts //visit java-scripts.net or http://wsabstract.com

    if (document.images) { button1 = new Image button2 = new Image

    button1.src = 'https://~~~~/PN_Fed.png' button2.src = 'https://~~~~/PN_Fed_Over.png' }

    //--> </script> </head> <body> <a href="https://~~~~#/NewFed" onmouseover="document.rollover.src=button2.src" onmouseout="document.rollover.src=button1.src"><img src="https://~~~~/PN_Fed.png" border=0 name="rollover"></a> </body>

    submitted by /u/wiredwisk
    [link] [comments]

    Continue reading...
Thread Status:
Not open for further replies.

Share This Page

LiveZilla Live Chat Software