Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Nov 2002
    Location
    california
    Posts
    23
    Member #
    279
    Hi everyone,

    I need help with the cross image rollover script. Actually, I need to know how to do it!
    So far, the best information I have found on this so far is from this site:http://codepunk.hardwar.org.uk/bjs17.htm
    This was a good start, but since I really don't know javascript yet, I need some further help. Does anyone know a
    really good way to explain how to do this that I can understand and utilize right
    away? Help would be appreciated!

    Thanks

  2.  

  3. #2
    Junior Member
    Join Date
    Nov 2002
    Location
    california
    Posts
    23
    Member #
    279
    Maybe I wasn't clear....

    I am going to guess that either I should know how to do this, or that no one knows
    what I am talking about! http://codepunk.hardwar.org.uk/bjs17.htm This page explains what I am
    trying to learn. Help would really be appreciated!
    Thanks

    edited to make url a link

  4. #3
    Senior Member energizze's Avatar
    Join Date
    Oct 2002
    Posts
    260
    Member #
    238
    call one image "cimg1.gif" and the other "cimg2.gif"




    <script language='javascript'>

    cimg1 = New Image();
    cimg1.src = "cimg1.gif";

    cimg2 = New Image();
    cimg2.src = "cimg2.gif";


    </script>


    <img onmouseover='document.img2.src=cimg2.src' onmouseout='document.img2.src=cimg1.src' name='img1' src='cimg1.gif' border='0'>
    <img onmouseover='document.img1.src=cimg2.src' onmouseout='document.img1.src=cimg1.src name='img2' src='cimg1.gif' border='0'>



    hope this answers your question.

  5. #4
    Junior Member
    Join Date
    Nov 2002
    Location
    california
    Posts
    23
    Member #
    279
    thanks!

    thank you ever so much for answering, I am going to work on it!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:15 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com