Fun with javascript.

notfred

Lifer
Feb 12, 2001
38,241
4
0
If you're not a web developer type, this probably won't interest you. But I think it's kinda cool. Click the image to see what it does. I think it might be a neat effect to put in a gallery type website... maybe fox302.com or pics.bbzzdd.com somewhere?
 

BEL6772

Senior member
Oct 26, 2004
225
0
0
What happens to adjacent items? Do they slide out of the way or are they covered?
 

MichaelD

Lifer
Jan 16, 2001
31,528
3
76
[guy who is out of his league here] OK. You click on the pic, and it "slides, resizes" is this special? [/guy who is out of his league here]

Well, at least the pic doesn't turn into some screaming zombie thing that makes you pee your pants.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Originally posted by: BEL6772
What happens to adjacent items? Do they slide out of the way or are they covered?

They should slide out of the way. The page would have to be designed with this effect in mind so other content didn't look funny sliding around as the image resized.

Originally posted by: MichaelD
[guy who is out of his league here] OK. You click on the pic, and it "slides, resizes" is this special? [/guy who is out of his league here]

Well, at least the pic doesn't turn into some screaming zombie thing that makes you pee your pants.

Ever seen another website use this method to show full size images from thumbnails?
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Originally posted by: nakedfrog
I dig it. You do good work (I'm using your AT streamliner right now too :p)


Next version of that will allow you to remove the sidebar at the left, and move the forum links/personal messages link to the top of the page. :)
 

MikeMike

Lifer
Feb 6, 2000
45,885
66
91
notfred, couldnt you also do it with layers however and have the image you want to enlarge be on a higher layer and thus cover the others as it maximizes?

MIKE
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Originally posted by: nourdmrolNMT1
notfred, couldnt you also do it with layers however and have the image you want to enlarge be on a higher layer and thus cover the others as it maximizes?

MIKE

I could do that, which may or may not be a desirable effect. It depends on the layout of the page. This is really just a proof of concept demo, it could be incorporated into a site in a number of ways.
 

OREOSpeedwagon

Diamond Member
May 30, 2001
8,485
1
81
Originally posted by: notfred
Originally posted by: nakedfrog
I dig it. You do good work (I'm using your AT streamliner right now too :p)


Next version of that will allow you to remove the sidebar at the left, and move the forum links/personal messages link to the top of the page. :)

i was actually wondering if it would be possible to remove the left sidebar. looking forward to the next release :thumbsup:
 

Wadded Beef

Banned
Dec 15, 2004
1,482
0
0
im a noob when it comes to webpage stuff but i thinks its cool, wonder why more websites don't use this effect...
 

rh71

No Lifer
Aug 28, 2001
52,844
1,049
126
it's loading both the complete image sizes of thumbnail and full image, on inital page load, correct ? If so, that could be troublesome for a gallery.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Originally posted by: rh71
it's loading both the complete image sizes of thumbnail and full image, on inital page load, correct ? If so, that could be troublesome for a gallery.

It is, and it could be a problem depending on how many images are shown per page. The loading of the large image could be moved to the point in time that the image is first clicked on, but it might not look very good. It's definitely something to look at.