Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Image Rollover and Popup

    Hey hey, I know this question has been asked several times, because I searched previous form discussions first, but none of them really explained it very clearly, at least not enough for me to understand. So, please help!

    I need just one image to swap to another, and when clicked, a popup without any scrollbars or anything. I know, that's it! How new am I to this.

    Well, thanks in advance.
    ARON

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    Try the following



    <HTML>
    <HEAD>
    <TITLE>Document Title</TITLE>
    <script>
    function newWin(theURL){
    var newWin=open((theURL),'','width=200,height=100,top=300,left=250' );
    }
    </script>
    </HEAD>
    <BODY>

    <center><a href="#null" onclick="newWin('page1.htm')">
    <img name="Image1" src="pic1.jpg" onmouseover="this.src='pic2.jpg' " onmouseout="this.src='pic1.jpg' ">
    </a>


    </BODY>
    </HTML>



  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •