+ Reply to Thread
Results 1 to 3 of 3

Thread: good rollover button tutorial

  1. #1
    Chris Z's Avatar
    Chris Z is offline x10 Spammer Chris Z is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    Alabama, USA
    Posts
    2,802

    good rollover button tutorial

    could anyone direct me to a good rollover button tutorial for Photoshop or if i could just have the code for it,
    basically what i want to do is have a image that is "uploads/click%20here.png" rollover to "uploads/nbrt.png" and have it link to http://mail.google.com/hosted/cgz09.com/

    does anyone know how to do this?

    Thanks!
    -Chris Z
    Retired Account Manager


  2. #2
    careerbridge's Avatar
    careerbridge is offline x10 Sophmore careerbridge is an unknown quantity at this point
    Join Date
    Jun 2006
    Location
    India
    Posts
    126

    Re: good rollover button tutorial

    if u r ready to use js.... here is the method !!

    insert this code to ur page header

    Code:
    <script type="text/javascript">
    
    // CHANGE SOURCE
    function Change(mID,cID){
    	mItem=document.getElementById(mID);
    	mItem.src="over.jpg";
    }
    
    // RESTORE SOURCE
    function Restore(mID,cID){
    	mItem=document.getElementById(mID);
    	mItem.src="normal.jpg";
    }
    </script>
    code for the image....

    Code:
    <a href="http://mail.google.com/hosted/cgz09.com/">
    <img src="normal.jpg" name="img_1" id="img_1" onMouseOver="Change('img_1')" onMouseOut="Restore('img_1')"></a>
    Note :: normal.jpg is the normal state image and over.jpg is the roll over image !!!

  3. #3
    Chris Z's Avatar
    Chris Z is offline x10 Spammer Chris Z is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    Alabama, USA
    Posts
    2,802

    Re: good rollover button tutorial

    SWEET! thank you careerbridge! you're a good help ;)
    -Chris Z
    Retired Account Manager


+ Reply to Thread

Similar Threads

  1. Network Folder Sharing Tutorial
    By TheJeffsta in forum Computers & Technology
    Replies: 0
    Last Post: 03-31-2006, 02:33 AM
  2. Really good tutorial website!!
    By randomize in forum Tutorials
    Replies: 3
    Last Post: 03-23-2006, 02:03 PM
  3. Not good at ps Heres a few sigs..
    By minievan in forum Graphics & Webdesign
    Replies: 15
    Last Post: 01-14-2006, 06:11 AM
  4. Good Bye X10hosting
    By ak007 in forum Off Topic
    Replies: 4
    Last Post: 01-07-2006, 10:01 PM
  5. Is My Computer Good
    By Chirantha in forum Off Topic
    Replies: 27
    Last Post: 09-10-2005, 11:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers