Results 1 to 4 of 4

Thread: Document Magnifier 2.0 not working

  1. #1
    Join Date
    Jun 2005
    Location
    Los Angeles
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Document Magnifier 2.0 not working

    1) Script Title: Document Magnifier 2.0

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex3/zoom.htm

    3) Describe problem: For the life of me, I can't figure out what I am doing wrong.
    I have all the magnifier images, .js file, and zoom.html files in a directory called "magnify"
    I have the html page pointing to the .js script
    I have the .js script pointing to the zoom.html file
    I have var baseDir="http://www.sonboleh.com/portfolio/graphics/magnify/"
    I have var iframeSrc = "http://www.sonboleh.com/portfolio/graphics/magnify/zoom.html";
    You can see the magnifier but you can't see the magnified image inside of it. Just "Page Cannot be Found". This can't be this difficult. What am I doing wrong please?

    http://www.sonboleh.com/portfolio/graphics/girl.htm

    Thank you.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Are you using IE5+ to view it? This script specifically says it won't work in FF, opera, etc.
    Aside from that, I'm not sure, sorry.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Jun 2005
    Location
    Los Angeles
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I am using IE 6.0

    But good thinking. Thanks.

  4. #4
    Join Date
    Dec 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    If it's worth anything, I came here with the exact same problem you are having...Ironically I even have my files in a directory named the same as you, /magnify/ and I can't get this thing to work either!

    I've tried everything. The one thing I did find is that on my "Page Not Found" I have a link to my home page and I clicked it and now my zoom window is stuck on my home page, even if I refresh my page I am trying to zoom in on.

    Did you ever find out anything?

    I found this out:
    baseDir="" is realitive to the web sites address, in this case baseDir="/magnify/";
    var iframeSrc = ""; is where zoom.html is realitive to the baseDir, in this case var iframeSrc = "zoom.html";
    if I put zoom in another directory then ../anotherdirectory/zoom.html

    OK, It's working, but your gonna find this tough to understand. I did. I kept making changes and uploading, etc and refreshing, etc. etc. etc. and then finally I decided to remove the references from my html page and yet I would still get the zoom window, and upon checking the source the script code was still there.

    So, I deleted the html page I was working on, re-uploaded it, closed the browser window, opened it again and went to my page, then added the script code to it and refreshed and viola! it's working fine.

    Conclusion: Do the variables inside of zoom.js as I have above, then close the browser window and reopen the page to completely restart and refresh.



    OK, but still after finding this out, I still can't get a zoom "picture" in the zoom box window. I just get a white blank page....
    Last edited by additude; 12-24-2006 at 07:46 PM.

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
  •