Results 1 to 3 of 3

Thread: thumbnail viewer 2

  1. #1
    Join Date
    May 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default thumbnail viewer 2

    1) Script Title: Image Thumnail Viewer II

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...thumbnail2.htm

    3) Describe problem: The image pops up in the whole window and not the "loadarea". See my page: http://amysrabbitranch.com/Creekside...otography.html

    Code:
    (IN HEAD) <script type="text/javascript" src="thumbnailviewer2.js" defer="defer">
    
    /***********************************************
    * Image Thumbnail Viewer II script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
    * This notice must stay intact for legal use
    ***********************************************/
    
    </script> (END WHAT IS IN THE HEAD)
    
    (BODY)
    <a href="Images/Photos/EveningStormClouds2.jpg" rel="enlargeimage::mouseover" rev="loadarea" title="This is an example"><img src="Images/Photos/EveningStormClouds2-t.jpg"></a><br />
    
    <div id="loadarea" style="width: 1080px"></div>
    So on so forth but that is the code part for the viewer. The little thumbnail image is there, and it enlarges to the fuller size, just in the whole window not the area given to it. I added where the head and body are because I didn't paste the whole html of my page lol, just the parts that are the viewer. I just copied/pasted this from the dynamic drive page mentioned above and changed the size of the "load area" and the image sources. That's it.
    Last edited by GracieLynn; 05-09-2008 at 03:30 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The file:

    thumbnailviewer2.js

    is not in the same folder as the page. And this:

    Code:
    <script type="text/javascript" src="file:///C:/Documents%20and%20Settings/HP_Administrator/Application%20Data/Adobe/Adobe%20GoLive/Settings8/JScripts/GlobalScripts/CSScriptLib.js"></script>
    is useless, except for when the page is viewed on a computer that has CSScriptLib.js in that location on its hard drive. Get rid of it.

    There could be other issues.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ah thank you! It is all working now!

    Gosh I feel dumb - I do stuff like that sometimes. And I'm not sure why GoLive keeps defaulting me to when I add images and such to put the whole computer path to it instead and apparently it did that for that other one you caught too. I always say I know enough about code to make sites but not enough to keep me out of trouble when I'm trying something new haha.

    Thanks again! It works beautifully now.

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
  •