Results 1 to 7 of 7

Thread: Noob needs help

  1. #1
    Join Date
    Feb 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Noob needs help

    1) Script Title: Image Thumbnail Viewer II

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

    3) Describe problem: Ok so i have all the info in the head and boby and has the js working but yet it will not work. I have read and re-read the tut but am still not able to get it to work. I do not know what other info you need hopefully this is enough info. If you need more info let me know

  2. #2
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    What happens when the script runs-- or is supposed to run? Do the images appear as [x], or not at all? Do you get any errors? The most likely problem if you followed the directions is the URL to the images (which is case sensitive). You might also try starting with it on a blank page to see if you can get it to work, as one of your other scripts/styles may be interfering with it.
    Last edited by Jas; 02-14-2008 at 09:26 PM.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  3. #3
    Join Date
    Feb 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    All the links show up but when i click or scroll over they do not open. when i click on them open a different page

  4. #4
    Join Date
    Oct 2005
    Posts
    63
    Thanks
    5
    Thanked 1 Time in 1 Post

    Default

    CAn you post a lnk your page??

  5. #5
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    It sounds to me like the url to the script is incorrect. Check the path and the case. If that doesn't help, post the code or a link.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  6. #6
    Join Date
    Feb 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    If the page is not live right now will that make a difference??

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>

    <body>
    <a href="http://www.nasa.gov/images/content/167040main_image_feature_738_ys_4.jpg" rel="enlargeimage::mouseover" rev="loadarea::http://www.dynamicdrive.com" title="This is an example">Thumbnail Example 1</a><br />
    <a href="http://www.nasa.gov/images/content/168177main_image_feature_749_ys_4.jpg" rel="enlargeimage::mouseover" rev="loadarea">Thumbnail Example 2</a><br />

    <a href="http://www.nasa.gov/images/content/166615main_image_feature_733_ys_4.jpg" rel="enlargeimage::click" rev="loadarea2">Thumbnail Example 3 (click)</a><br />
    <a href="http://www.nasa.gov/images/content/168291main_image_feature_750_ys_4.jpg" rel="enlargeimage::click" rev="loadarea2">Thumbnail Example 4 (click)</a><br /><br />

    <div id="loadarea" style="width: 600px"></div>

    <h2 />

    <div id="loadarea2" style="width: 550px"></div>
    <div id="loadarea" style="width: 500px">
    This DIV will show my enlarged images!
    </div>
    <script src="thumbnailviewer2.js"></script>

    </body>
    </html>
    Last edited by Neenahred; 02-20-2008 at 08:06 PM.

  7. #7
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    Being offline doesn't matter.

    Is the javascript in the same folder as the page? I tried it, and it works fine when the script's url points to the file. Right now your url is saying that the file is in the same folder as the webpage that is being viewed.
    Code:
    <script type="text/javascript" src="thumbnailviewer2.js" defer="defer">
    Last edited by Jas; 02-21-2008 at 07:06 PM.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

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
  •