Welcome to WebmasterWorld Guest from 54.227.5.198

Forum Moderators: not2easy

Message Too Old, No Replies

enlarge view image

I want to view my image enlarge

     

mannbaig

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

5+ Year Member



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

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

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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

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

5+ Year Member



thanks a lot coopster.
I will found it now.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month