PDA

View Full Version : Eulda.com top anchor



berkoWitZ
April 16th, 2007, 12:12 PM
Hello!

I was watching www.eulda.com and I notice something I´ve never seen before, go to the lowest part of the site and press top, it is a regular common anchor code but with a very nice smooth transition, any idea how could this be done?? It is very elegant and a nice touch ;)

I suppose it is made with javacript :puzzled:

aldomatic
April 16th, 2007, 12:43 PM
Yea its probably using some javascript framework, for the effect:
http://interface.eyecon.ro/demos/ifx.html

simplistik
April 16th, 2007, 02:12 PM
I've seen it used in quite a few places, on my site I actually use it... it's one of it's primary features... :D

http://www.mad4milk.net/entry/scroll-your-internal-links-smoothly

berkoWitZ
April 16th, 2007, 04:04 PM
Thanks!! :thumb:

But obviously something wrong Im doing because it is not working it is a little confusing :puzzled:

Gimme a hand simp, first what should I do? I create the class in the first step but how do I name it?

I know I have to call the class with a window.onload function but I don´t know where?

:puzzled: