I am using this plugin to act as a scroll to top of page function, but despite trying all of these things, it's still just jumping to the top of the page (even when i tweak the duration) I also tried it with different elements on the page, and it's still just a plain jump....... I don't know if this is affecting it or if there's a way to get rid of this, but once i click the button the hash shows up in the URL.....Thanks!! Here are the basic elements I'm using:
target div at top of page:
<div id='menu-1'>
<div class='section-menu-1' style="cursorointer" onclick="tinker('top-menu');">this is the target element at page top
</div>
</div>
I found this threat after suffering from the same defects as you all above.
I have linked jquery as well as the .scrollTo.js file in my html file.
My links manage to jump to the correct #div, but no animation!!! What gives?!
I am also new the the javascript/JQuery game but am good at following orders. I just cannot figure this one out.
I spent many hours yesterday on this plug-in to make it work, but no luck. This morning I did it
Use jQuery 1.3.2, not 1.2.6, and scrollTo 1.4.2, not 1.4.0.
With the combination of jQuery 1.2.6 and scrollTo 1.4.0 nothing happened. I know I wrote the code correctly because I am very familiar with jQuery (even wrote plug-ins of my own).
Hey can anyone help me out? i know these post are kind of old but if anyone is still reading them can you please help me out? when i run the code firebug tells me what the issues are but i cant really figure out how to fix it. it says jquery is not defined ... i think i've followed the demo to a T and even looked their source code to see what my problem was, and i guess I'm just missing some thing. if anyone could help id appreciate it .
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,686
Thanks: 42
Thanked 637 Times in 625 Posts
Heya Sloth86,
Perhaps you could start a thread that describes your problem in full, including what code you've tried, and maybe even a link to your page that has the problem.
Hy, just registered, I'm having some problem with the plugin as well, you can see code and problem at this page (work in progress), www.silentbreeze-yurt.com , what happens in firefox and some other browsers as well is that when the button up is pressed for a moment it blinks the header of page and then back to the movement ftom bottom up to top page, it's as if the link is followed first and then the plug in enters and perform the task afterwords, please help
Hi naseem - you might want to read Fumigator's post a couple of posts above yours
Quote:
Originally Posted by Fumigator
Heya Sloth86,
Perhaps you could start a thread that describes your problem in full, including what code you've tried, and maybe even a link to your page that has the problem.
Kempobot, you're a saviour. I've spent a week trying to implement Flesler's ScrollTo script. It's a fantastic script but his instructions leave JavaScript beginners like me quaking at the knees. Yours was the only step-by-step instruction I could find, so thank you very much!
I was wondering if you (or anyone ) could help with something.
I need to queue the x-axis and y-axis motion. Some links will scroll first x, then y, others will do the opposite. This is what my link looks like:
The scrolling works okay but the x/y axis separation doesn't. There's probably something really silly that I missed.
Also I've noticed strange behaviour. Firstly, there is a rapid flash that happens just as the scrolling starts. Secondly, if I click on a link, and then click on another befor the scrolling has stopped, it sems to try follow the "#" href. and then shoots off to the wrong place.
Oops, my original post was at the end.
Kempobot, you're a saviour. I've spent a week trying to implement Flesler's ScrollTo script. It's a fantastic script but his instructions leave JavaScript beginners like me quaking at the knees. Yours was the only step-by-step instruction I could find, so thank you very much!
I was wondering if you (or anyone ) could help with something.
I need to queue the x-axis and y-axis motion. Some links will scroll first x, then y, others will do the opposite. This is what my link looks like:
The scrolling works okay but the x/y axis separation doesn't. There's probably something really silly that I missed.
Also I've noticed strange behaviour. Firstly, there is a rapid flash that happens just as the scrolling starts. Secondly, if I click on a link, and then click on another befor the scrolling has stopped, it sems to try follow the "#" href. and then shoots off to the wrong place.