Javascript Fade In/Out Image Viewer

Discussion in 'JavaScript' started by unqiuesole, Dec 27, 2007.

  1. #1
    I am making my website with HTML/CSS for my portfolio site. I want to be able to click on a thumbnail image on one side and the enlarged version shows up on on the opposite side. For example like this site:

    http://www.wakeupmrsingh.com/


    I found this script, http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm. How do I add a fade in/out effect?

    Help please!
     
    unqiuesole, Dec 27, 2007 IP
  2. Meth_

    Meth_ Well-Known Member

    Messages:
    1,063
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    140
    #2
    look up the use of "onload", and you'll learn yourserlf how to do it
     
    Meth_, Dec 27, 2007 IP
  3. unqiuesole

    unqiuesole Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Okay I found out how to do the fade in effect; How do I add this code, http://clagnut.com/sandbox/imagefades/,
    to this code http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm?
     
    unqiuesole, Dec 27, 2007 IP