Results 1 to 2 of 2

Thread: need help with thumbnail viewer II

  1. #1
    Join Date
    Apr 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question need help with thumbnail viewer II

    http://dynamicdrive.com/dynamicindex4/thumbnail2.htm

    Hi-
    I found a tutorial which has helped me with step 1.
    Step 2 is very complicated, however. I'm not sure what to plug in where to set up the thumbs.
    Anyone?

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The code in Step 2 represents the complete code you need to set up a couple of thumbnail images. As you long as you're familar with HTML, you should be able to just edit this code to customize it. here is the code again:
    Code:
    <a href="#" onMouseover="modifyimage('dynloadarea', 0)">image 1 (onmouseover)</a><br>
    <a href="#" onMouseover="modifyimage('dynloadarea', 1)">image 2 (onmouseover)</a><br>
    <a href="#" onClick="return modifyimage('dynloadarea2', 2)">image 3 (onclick)</a><p>
    
    <div id="dynloadarea" style="width:80px;height:225px"></div>
    
    <div id="dynloadarea2" style="width:80px;height:200px"></div>
    The last two DIVs above are the containers that will display the images when they're enlarged. Note the ID of these two DIVs (ie: "dynloadarea")- the links above reference this DIV to tell the script which DIV to load the thumbnail images in.

Bookmarks

Posting Permissions

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