Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4

Thread: .JS Zoom script

  1. #1
    Member
    Join Date
    Mar 2012
    Posts
    50
    Member #
    31189
    problem solved...

  2.  

  3. #2
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    What problem, and what was the solution?
    acegreen likes this.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  4. #3
    Member
    Join Date
    Mar 2012
    Posts
    50
    Member #
    31189
    actually lol, the script was written incorrectly. I had to look into it myself - which was surprisingly beneficial since I am new to javascript.

    I should mention though, the script only "works" when you have a larger pic with better resolution in addition to the original. There's no way for a .js script to magnify a picture by itself ( you need a larger, more clear version of the original), correct? You can't really create extra pixels with .js, can you ? is what I'm trying ask.

    Please let me know.

    Thanks in advance!
    AG

  5. #4
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    It sounds like you're describing a "lightbox" type of javascript application - and yes, in that case you'll need two versions of the image, the smaller one to load first, and the larger one to be shown when the event is triggered (usually an onClick or and onMouseOver). At least I've never heard of one where you can use the same image, but I guess it could be done if you used the javascript to force the image to load smaller and then showed it full size on the event.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 08:06 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com