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 8 of 8
  1. #1
    Junior Member
    Join Date
    Sep 2003
    Posts
    7
    Member #
    3288
    what is the easiest way to make an image change upon rollover... all i want is for a banner to change when you rollover it. nothing more.

    thanks
    :dead:

  2.  

  3. #2
    Member Supersheep's Avatar
    Join Date
    Oct 2003
    Location
    The Netherlands
    Posts
    32
    Member #
    3590
    The easiest way is to drag and drop it into Dreamweaver MX, well it's what I always do...
    saves me a lot of time
    "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy and the tallest guy in the National Basketball Association is Chinese."

  4. #3
    Senior Member Riat_Sila's Avatar
    Join Date
    Oct 2003
    Location
    Berkshire, UK
    Posts
    417
    Member #
    3485
    Javascript is probably the easiest way, using the onMouseOver event.

  5. #4
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Easiest way:
    Code:
    <img 
        src="out.gif" 
        onmouseover="this.src='over.gif';"
        onmouseout="this.src='out.gif';" />

  6. #5
    Senior Member dotcommakers's Avatar
    Join Date
    Oct 2003
    Posts
    527
    Member #
    3342
    Liked
    1 times
    Absolutely right

    Originally posted by transio
    Easiest way:
    Code:
    <img 
        src="out.gif" 
        onmouseover="this.src='over.gif';"
        onmouseout="this.src='out.gif';" />

    If you are using dreamweaver the just click on

    Insert --> Interactive Images --> Rollover images

    That's all mate

  7. #6
    Senior Member mafunk's Avatar
    Join Date
    Sep 2003
    Posts
    115
    Member #
    3277
    Lots of easy to drop-in scripts here
    http://www.dynamicdrive.com/dynamicindex15/index.html

  8. #7
    Senior Member DeltaWeb's Avatar
    Join Date
    Oct 2003
    Location
    U.S. of A
    Posts
    159
    Member #
    3592
    almost all roleover scripts are no more than 5 lines of code, there pretty easy. but when you get into effects when you roleover thats when it gets to be long.
    KRS-ONE....Knowledge Reigns Supreme Over Nearly Everyone....

  9. #8
    Member
    Join Date
    Sep 2003
    Posts
    37
    Member #
    3243
    Just a tip - sourcing out an image preload script can be great for mouseovers. Dreamweavers works well enough, as it means users on slower connections don't have to wait to download the mouseover image after they've hovered over the link - it adds a little time to the original loading of the page but I'm sure it looks better if images appear when they are supposed to.


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 11:12 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com