smooth scroll
- Started
- Last post
- 17 Responses
- leftwave
does anyone know if you can use a smooth scroll effect for horizontal pages??
i'm looking to apply this sort of vertical effect:
http://www.dezinerfolio.com/wp-c…to this horizontal page:
http://leftwave.com/indevelopmen…
- AndyRoss0
Can't you just convert his javascript code to do that horizontally?
- seanhaus0
Just invert the axis.
Or email me and I will just do it for you.
- pkny0
http://javascript.internet.com/n…
the js code in this one is easier to track
- leftwave0
i can get it to work VERTICALLY, but as soon as it's HORIZONTAL, it breaks!
- neonspice0
leftwave,
this is your lucky day.
you can download a javascript called mootools.js here
http://demos.mootools.net/Fx.Scr…
the effect you want to use is fx.scroll.
it works both horizontal and vertical. i have used it for my own site
http://friends.neonspice.net (click on 'feedback' and '_friends')hope this helps
- amullins0
jquery scrollto/localscroll http://plugins.jquery.com/projec…
- leftwave0
i tried the mootools.js file, but it's not working for me. i'm not much of a programmer. can you tell me what i'm doing wrong?
http://leftwave.com/indevelopmen…
- amullins0
new SmoothScroll({duration:500}); and change your links' href attributes to their destination's id attribute (you need to make certain you are only using any single id ONE time ONLY - change "mycustomscroll" to a unique id for each wrapper div). also, since you are using mootools, you may want to consider using a domloaded event handler - instead of body.onload. put the mm_swapimages and the new SmoothScroll() code in a domloaded function.
- leftwave0
thanks amullins for the tips... if i had a clue how to do what you said, i probably wouldn't be here asking about this in the first place! :)
if what you're saying to do isn't that difficult, would you mind emailing me a revised file???
- ********0
I've got one on my site... http://www.mimeartist.com it supports the back button too, uses mooTools.
- leftwave0
clearly you guys are way better at javascript than me because your sites are exactly what i'm trying to do and you're using the SAME scripts that i am, but i can't get it to work for me. ARRRGGHHHH!!
- leftwave0
holy crap amullins!!! you rock!!! thank you so much for taking the time to remind me that i really need to learn more programming. go enjoy the rest of your sunday night. i've got a website to finish :)
- Yaaki0
So I am trying to use the moo tools Fx.scroll and I can't get it to work on my page can anyone help me out?
- vrmbr0
use jquery. more reliable and more options
- trooper0
used jquery on www.xrio.com/website/faster this scrolls sideways
- ********0
hmm that xrio doesn't work straight off