Fly to the top instead of jumping - Posted (14808 Views)
Junior Member
balexandre
Posts: 418
418
I like to share this you you.
I implemented this to my Forum at www.ga-paneuropean.com (just go to the bottom of the page and click the "Go to Top" arrow...)

instead of jumping instantaneously to the top, the user will be scrolling the page... really nice effect (at least that's what I thought when I saw it)

to implement such effect all you need to do is TWO things
1. copy the 2 javascript files found in dezinerfolio.com website (the code can be downloaded directly from here) to your Forum (or JS) folder
2. add this line to inc_header.asp above line 234 (original 3.4.06 files)

Code:
Response.Write	"<script src=""js/smooth.pack.js"" type=""text/javascript""></script>"

if you added the 2 javascript files into js folder, if you added to the main folder where every file are, just erase the js/

hope it brings a little happinesses to someone<
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Advanced Member
Etymon
Posts: 2396
2396
Hi Bruno,

Thank you for the code. It's a great idea!
Cheers,

Etymon
<
Posted
Posted
Advanced Member
JJenson
Posts: 2121
2121
I like that alot thanks balaexandre<
Posted
Junior Member
PPSSWeb
Posts: 312
312
I like it. I will have to try it out. Thanks. smile<
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
Great script! Thanks! bigsmile<
Posted
Senior Member
MarkJH
Posts: 1722
1722
Very nice indeed. Thanks, Bruno. bigsmile<
Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Posted
Senior Member
MarkJH
Posts: 1722
1722
FWIW, this works great on IE7 and FF but not on Opera. Still jumps to the top, though.<
Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Posted
Junior Member
balexandre
Posts: 418
418
I'm sorry, but there's something you have wrong then

try my Fórum in Opera, works great as well

it even works in Safari for Windows tongue
http://www.ga-paneuropean.com<
Posted
Senior Member
MarkJH
Posts: 1722
1722
Hmm. My forum is heavily modified. Maybe there's some kind of conflict there that stops it from working correctly. Still, it's not a problem. smile<
Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Posted
Average Member
Webbo
Posts: 982
982
It does cause a conflict if you have the Photo Album mod installed

<
You Must enter a message