help with scroll to top, then goto link

55 views
Skip to first unread message

Chad Meyers

unread,
Oct 31, 2012, 1:45:20 PM10/31/12
to mootool...@googlegroups.com
I want to click a link in the menu, have the page scroll back to the top, THEN go to the new page (load link)

I already did this for the "blog menu" on this site  (http://www.idoweddingsaway.ca/blog20121005.php scroll down/to the bottom then click a link on the left side), but it is more "complicated" because a bunch of effects run.  On a new site I am working on, it will be simple, just scroll to top, then set the href/URL

I have never had success chaining events, maybe some one could take a stab at it for me.

here is a fiddle (I didn't even get close to working, but the very basic html and css are there)

All I want is to scroll and onComplete load then new page

Chad Meyers

unread,
Oct 31, 2012, 2:15:46 PM10/31/12
to mootool...@googlegroups.com
I think I have it, it works, but is there a better way to do this? http://jsfiddle.net/Gz3Pk/2/
Reply all
Reply to author
Forward
0 new messages