Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Fly to the top instead of jumping
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

balexandre
Junior Member

Denmark
418 Posts

Posted - 21 October 2007 :  07:01:53  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message  Reply with Quote
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
2360 Posts

Posted - 25 October 2007 :  23:46:20  Show Profile  Reply with Quote
Hi Bruno,

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

Cheers,

Etymon
<
Go to Top of Page

balexandre
Junior Member

Denmark
418 Posts

Posted - 26 October 2007 :  03:45:17  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message  Reply with Quote
glad to help <

Bruno Alexandre
(Strøby, DANMARK)

"a Portuguese in Danmark"


Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 26 October 2007 :  10:23:22  Show Profile  Visit JJenson's Homepage  Reply with Quote
I like that alot thanks balaexandre<
Go to Top of Page

PPSSWeb
Junior Member

312 Posts

Posted - 26 October 2007 :  10:34:26  Show Profile  Reply with Quote
I like it. I will have to try it out. Thanks. <
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 28 October 2007 :  10:50:58  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Great script! Thanks! <

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 28 October 2007 10:51:15
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 28 October 2007 :  11:30:32  Show Profile  Visit MarkJH's Homepage  Reply with Quote
Very nice indeed. Thanks, Bruno. <

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 28 October 2007 :  11:39:17  Show Profile  Visit MarkJH's Homepage  Reply with Quote
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/
Go to Top of Page

balexandre
Junior Member

Denmark
418 Posts

Posted - 28 October 2007 :  14:26:37  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message  Reply with Quote
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
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 28 October 2007 :  16:12:49  Show Profile  Visit MarkJH's Homepage  Reply with Quote
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/
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 29 October 2007 :  07:59:30  Show Profile  Visit Webbo's Homepage  Reply with Quote
It does cause a conflict if you have the Photo Album mod installed

<
Go to Top of Page

balexandre
Junior Member

Denmark
418 Posts

Posted - 29 October 2007 :  13:32:17  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message  Reply with Quote
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"


Go to Top of Page

Marcus Fenix
Starting Member

Austria
1 Posts

Posted - 29 October 2007 :  14:34:03  Show Profile  Reply with Quote
10x Man :)<
Go to Top of Page

PPSSWeb
Junior Member

312 Posts

Posted - 30 October 2007 :  07:32:15  Show Profile  Reply with Quote
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?<
Go to Top of Page

balexandre
Junior Member

Denmark
418 Posts

Posted - 30 October 2007 :  08:28:00  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message  Reply with Quote
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"


Go to Top of Page

PPSSWeb
Junior Member

312 Posts

Posted - 30 October 2007 :  09:37:41  Show Profile  Reply with Quote
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<
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07