Search…

X3 Photo Gallery Support Forums

Search…
 
tschortsch
Experienced
Topic Author
Posts: 150
Joined: 01 Apr 2010, 17:23

Dynamic-to-top thing

02 Jan 2012, 09:45

Hey!

I'm wondering how to make this cool "dynamic-to-top" thing you are using on your website (bottom right) which allows you to navigate quickly back to top of the page when scrolling...

I only have small CSS skills, so I would need some help to create such a thingy! :D
dynamic-to-top.png
dynamic-to-top.png (808 Bytes) Viewed 4622 times
I hope this is the right thread to post such a matter.

Thanks!
 
tschortsch
Experienced
Topic Author
Posts: 150
Joined: 01 Apr 2010, 17:23

Re: Dynamic-to-top thing

02 Jan 2012, 09:58

I'm sorry!

I should have used Google, it's a WordPress plugin, right?! Well, there is quite a lot stuff to learn from... :)

Please delete!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Dynamic-to-top thing

02 Jan 2012, 12:04

Essentially, its just some jQuery, and was converted to a Wordpress plugin:
http://www.mattvarone.com/web-design/ui ... ry-plugin/

On another website, we have a simple jQuery javascript that you can just trigger from your own button that would need to be palced with your own html+css:
Code
$('#go-top').click(function () {
		$('body,html').animate({
			scrollTop: 0
		}, 800, "easeInOutCubic");
		return false;
	});
 
tschortsch
Experienced
Topic Author
Posts: 150
Joined: 01 Apr 2010, 17:23

Re: Dynamic-to-top thing

03 Jan 2012, 04:22

Thank you for your help!

I'm running a MyBB forum and already found a nice plugin for that!