Author |
Topic |
balexandre
Junior Member
Denmark
418 Posts |
Posted - 21 October 2007 : 07:01:53
|
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 www.dezinerfolio.com/2007/08/08/df- -smooth-scroll/" target="_blank">dezinerfolio.com website (www.dezinerfolio.com/wp-content/plugins/wp-downloadMonitor/download.php?id=16" target="_blank">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)
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< |
Bruno Alexandre (Strøby, DANMARK)
"a Portuguese in Danmark"
|
Edited by - balexandre on 23 March 2008 04:00:10 |
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 25 October 2007 : 23:46:20
|
Hi Bruno,
Thank you for the code. It's a great idea!
Cheers,
Etymon < |
|
|
balexandre
Junior Member
Denmark
418 Posts |
Posted - 26 October 2007 : 03:45:17
|
glad to help < |
Bruno Alexandre (Strøby, DANMARK)
"a Portuguese in Danmark"
|
|
|
JJenson
Advanced Member
USA
2121 Posts |
Posted - 26 October 2007 : 10:23:22
|
I like that alot thanks balaexandre< |
|
|
PPSSWeb
Junior Member
312 Posts |
Posted - 26 October 2007 : 10:34:26
|
I like it. I will have to try it out. Thanks. < |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
|
balexandre
Junior Member
Denmark
418 Posts |
Posted - 28 October 2007 : 14:26:37
|
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
http://www.ga-paneuropean.com< |
Bruno Alexandre (Strøby, DANMARK)
"a Portuguese in Danmark"
|
Edited by - balexandre on 28 October 2007 14:28:55 |
|
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
Posted - 28 October 2007 : 16:12:49
|
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. < |
Bandlink.net - http://www.bandlink.net/ Bandlink Music Forums - http://www.bandlink.net/forum/ |
|
|
Webbo
Average Member
United Kingdom
982 Posts |
Posted - 29 October 2007 : 07:59:30
|
It does cause a conflict if you have the Photo Album mod installed
< |
|
|
balexandre
Junior Member
Denmark
418 Posts |
Posted - 29 October 2007 : 13:32:17
|
really?
I do have Photo album and i don't get any error what so ever in any browser... check the error you are getting and post it here.< |
Bruno Alexandre (Strøby, DANMARK)
"a Portuguese in Danmark"
|
|
|
Marcus Fenix
Starting Member
Austria
1 Posts |
Posted - 29 October 2007 : 14:34:03
|
10x Man :)< |
|
|
PPSSWeb
Junior Member
312 Posts |
Posted - 30 October 2007 : 07:32:15
|
This script seems to conflict with Proeder's file attachement MOD. When installed, the attach buttons no longer function properly and the user is sent to the top of the page instead. Can anyone else confirm this issue, or did I install it wrong?< |
|
|
balexandre
Junior Member
Denmark
418 Posts |
Posted - 30 October 2007 : 08:28:00
|
I don't have that MOD, so I'm not be able to help you on that
open in Firefox with Firebug installed and see if there's anything wrong.< |
Bruno Alexandre (Strøby, DANMARK)
"a Portuguese in Danmark"
|
|
|
PPSSWeb
Junior Member
312 Posts |
Posted - 30 October 2007 : 09:37:41
|
quote: Originally posted by balexandre
I don't have that MOD, so I'm not be able to help you on that
open in Firefox with Firebug installed and see if there's anything wrong.
I don't see anything "wrong", but I haven't had time to go through your code to know exactly what it is doing. It seems that the problem goes beyond that button for me. Upon closer inspection it seems to effect all links that use window.open to create a pop-up. This includes standtard events such as emailing, deleting, and locking a member as well as other features. Can anyone confirm this to be a problem with the standard features or shed some light as to why this would be happening for my setup.
If it helps, I am running a fully patched 3.4.05 version of the forums.
Thanks, Steve< |
|
|
Topic |
|