homepage Welcome to WebmasterWorld Guest from 54.211.213.10
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
Forum Library, Charter, Moderator: open

Site Graphics and Multimedia Design Forum

    
enlarge view image
I want to view my image enlarge
mannbaig




msg:3558513
 7:40 am on Jan 26, 2008 (gmt 0)

I want to view my image in enlarge view as like this effect using javascript. <snip>
No URL's please, see TOS [webmasterworld.com]

May I got any help from here?

[edited by: limbo at 6:24 pm (utc) on Jan. 26, 2008]

 

coopster




msg:3558747
 4:45 pm on Jan 26, 2008 (gmt 0)

Welcome to WebmasterWorld, mannbaig.

Anytime a site uses Javascript to perform an operation you can view the source code for that site to see how they are doing it. In this particular case, the code is embedded right in the page.

Basically what is happening here is that the thumbnail image is loaded and a link is displayed below the image. When the link is "Click to enlarge" the Javascript takes over to display the also-preloaded large image. The effects being used to make it "grow" are in the Javascript and it is called "scaling". When you "Click to shrink" the image, the reverse happens. The larger image is replaced with the thumbnail again and the scaling process gives it that visual "shrinking" effect. The text is changed upon each operation as well.

mannbaig




msg:3562622
 7:18 am on Jan 31, 2008 (gmt 0)

thanks a lot coopster.
I will found it now.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved