That's an awesome way to do a slideshow. it would be slick to wrap
that up in a jQuery plugin (like the cool numeric stepper)
*Blech* to pollution in China. it really is that bad, i got to
experience Beijing and Shanghai first hand back in May. but i
digress :-)
On Oct 31, 10:0
I don't think you need Javascript for that. If you put an image as a
background, then tell it to scale to 100%, you should be good.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gabriel Tadeu
Sent: Thursday, October 30, 2008 5:06 PM
To: jQuery
Actually this effect is not done using JS,
it's just simple CSS. Have a look at the
element with the id #bg.
i think there is first and foremost a clever use of CSS, because if i
disable javascript, the effect is still there. Anyway, what's nice is
this proportional resizing of the image, according to the viewport
dimensions.
Then, the relevant code is this:
kina = {
doc: { x: 0, y: 0 },
fix: f
4 matches
Mail list logo