coolispaul
asked on
Jquery parralax effect
Hi,
I want to create an effect with html/jquery similar to the attached pdf.
Is this possible and how should i go about it?
Thanks
infin.pdf
I want to create an effect with html/jquery similar to the attached pdf.
Is this possible and how should i go about it?
Thanks
infin.pdf
I would start with Jquery ScrollTo
ASKER
thanks, but how would you get the same effect by actually scrolling?
it looks like that only works when you trigger the function by clicking a link or something...
it looks like that only works when you trigger the function by clicking a link or something...
You can use the jquery .scroll function.
But honestly, why not just create a large background image and code it in a linear fashion. When someone scrolls(like the PDF) you'll have the effect.
But honestly, why not just create a large background image and code it in a linear fashion. When someone scrolls(like the PDF) you'll have the effect.
ASKER
I dont understand how that would work as there is movement diagonally
It only "looks" like there is movement diagonally when you scroll. A PDF is just like any other document in that it's vertical.
If you have an image that you'd like to use I can see if I can code a quick example for you.
If you have an image that you'd like to use I can see if I can code a quick example for you.
ASKER
After some playing around, it's probably going to be best to slice up the images you need and then we'll invoke the jquery scrollTo plugin. I tried it as one large background, but it just looks clunky and odd.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.