[DEV] JQuery Top Down 0.0.9

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Ideas Centre
User avatar
FranckTH
Registered User
Posts: 364
Joined: Thu Jul 28, 2011 12:14 pm
Location: France
Name: Franck

[DEV] JQuery Top Down 0.0.9

Post by FranckTH »

Image

MOD Title: JQuery Top Down

MOD Description: Add two buttons with fixed position on the bottom left of the page to back to top and down with JQuery effect...


Works with: phpbb3.0.11 (prosilver based styles)
Version: [DEV] 0.0.9
Tested under: Firefox 6, IE9 , Opera and Chrome
Language: English / French / Polish

Author: FranckTH

Credits: cabot to hack for IE6

License: GNU General Public License v2

Image

Working:
- Add possibility in ACP to disable this option
- Add buttons in viewtopic under profil
- Change click by mouseover

Screenshot:
Image

Demo :
http://graphogames.fr/phpBB3/index.php


MOD Download:
JQuery Top Down

Edit : zip updated with "scroll.css" sorry for inconvenient
Last edited by FranckTH on Fri Nov 23, 2012 11:21 pm, edited 15 times in total.
Free Flash & HTML5 Games for Phpbb 3.2.2 + Extension Relax Arcade Pro
Free Flash & HTML5 Games for Relax Arcade Pro
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica

Re: [DEV] JQuery Top Down 0.0.1

Post by Jessica »

I have already added in "Bottom" and "Top" from a snippet, but I think I will remove them and use this!! mostly because it uses jQuery *nods*
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
User avatar
FranckTH
Registered User
Posts: 364
Joined: Thu Jul 28, 2011 12:14 pm
Location: France
Name: Franck

Re: [DEV] JQuery Top Down 0.0.1

Post by FranckTH »

thanks, if you have any bugs, tell me and i'll try to fix them ;)
Free Flash & HTML5 Games for Phpbb 3.2.2 + Extension Relax Arcade Pro
Free Flash & HTML5 Games for Relax Arcade Pro
User avatar
FranckTH
Registered User
Posts: 364
Joined: Thu Jul 28, 2011 12:14 pm
Location: France
Name: Franck

Re: [DEV] JQuery Top Down 0.0.2

Post by FranckTH »

Key language added for mouse over, see "contrib" file to update your file ;)

Zip file updated with contrib ;)
Free Flash & HTML5 Games for Phpbb 3.2.2 + Extension Relax Arcade Pro
Free Flash & HTML5 Games for Relax Arcade Pro
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] JQuery Top Down 0.0.2

Post by 4_seven »

Nice mod :D
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
VOLKERMORD
Registered User
Posts: 119
Joined: Thu Jul 23, 2009 1:20 pm
Location: Dacia (Wolf land)

Re: [DEV] JQuery Top Down 0.0.2

Post by VOLKERMORD »

Thx for this nice mod ;)
Har tios tintoninos insus tiko is dakon kand sia til kogaion ilmaton hlioylo pleiste naktoilo
User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr

Re: [DEV] JQuery Top Down 0.0.2

Post by all4phone »

Hi FranckTH ;)
Is it possible to change the speed of moving?

Thanks for this useful MOD, good job ;)

Polish translation:

Code: Select all

<open src="language/en/common.php">
			<edit>
				<find><![CDATA['BACK_TO_TOP'			=> 'Top',]]></find>
				<action type="after-add"><![CDATA['BACK_TO_DOWN'			=> 'Down',]]></action>
			</edit>
		</open>

Code: Select all

<open src="language/pl/common.php">
			<edit>
				<find><![CDATA['BACK_TO_TOP'			=> 'Góra',]]></find>
				<action type="after-add"><![CDATA['BACK_TO_DOWN'			=> 'Dół',]]></action>
			</edit>
		</open>
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] JQuery Top Down 0.0.2

Post by 4_seven »

all4phone wrote:Is it possible to change the speed of moving?

Code: Select all

			$('html, body').animate({scrollTop: $elem.height()}, 800);

Code: Select all

			$('html, body').animate({scrollTop: '0px'}, 800);
change the value 800 in styles/prosilver/template/overall_header.html
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr

Re: [DEV] JQuery Top Down 0.0.2

Post by all4phone »

Thx mate ;)
User avatar
FranckTH
Registered User
Posts: 364
Joined: Thu Jul 28, 2011 12:14 pm
Location: France
Name: Franck

Re: [DEV] JQuery Top Down 0.0.2

Post by FranckTH »

thanks all4phone for polish language and thanks 4_seven for help ;)
Free Flash & HTML5 Games for Phpbb 3.2.2 + Extension Relax Arcade Pro
Free Flash & HTML5 Games for Relax Arcade Pro
Drakken
Registered User
Posts: 144
Joined: Thu Jun 12, 2003 6:59 pm

Re: [DEV] JQuery Top Down 0.0.2

Post by Drakken »

Is it possible to expand the arrows to the top and bottom of the page?
User avatar
FranckTH
Registered User
Posts: 364
Joined: Thu Jul 28, 2011 12:14 pm
Location: France
Name: Franck

Re: [DEV] JQuery Top Down 0.0.2

Post by FranckTH »

of course you can

Open file "styles/prosilver/theme/scroll.css"

Find :

Code: Select all

bottom:35px;
Replace with :

Code: Select all

top: 10px;
Edit : zip file updated with polish language (thanks to all4phone) ;)
Free Flash & HTML5 Games for Phpbb 3.2.2 + Extension Relax Arcade Pro
Free Flash & HTML5 Games for Relax Arcade Pro
User avatar
FranckTH
Registered User
Posts: 364
Joined: Thu Jul 28, 2011 12:14 pm
Location: France
Name: Franck

Re: [DEV] JQuery Top Down 0.0.3

Post by FranckTH »

- Polish Language added in zip file
- "scroll.css" updated with round corner for IE9

Zip file updated in first post ;)
Free Flash & HTML5 Games for Phpbb 3.2.2 + Extension Relax Arcade Pro
Free Flash & HTML5 Games for Relax Arcade Pro
Drakken
Registered User
Posts: 144
Joined: Thu Jun 12, 2003 6:59 pm

Re: [DEV] JQuery Top Down 0.0.3

Post by Drakken »

Moved mine to the right, changed the icon and it works great! :mrgreen:
User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr

Re: [DEV] JQuery Top Down 0.0.3

Post by all4phone »

It is only an option up or down.
Suggestion: maybe better to use onMouseOver to stop moving the page?
Have you considered an option like this?

Return to “[3.0.x] MODs in Development”