News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Go up top

Started by varen sea, September 22, 2009, 05:21:23 PM

Previous topic - Next topic

varen sea

Link to Mod

Go up top v1




Author: - waren
collaborator - lucas-ruroken


Descripcion (Spanish):
mod que nos dara la posibilidad por medio de un botn el hacer Scroll hacia la parte de arriba del foro..


Description (English):
Modification will give us the possibility by means of a button to scroll towards the top of the forum ..

Languages:
english
english-utf8
spanish_es
spanish_es-utf8
spanish_latin


Imagenes:

gbsothere

Very nice, Waren!

I like the fact that I can play with the style.css and change the color or move it or keep it at the bottom, instead of fixed.  Very versatile, great job!

:)
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

franklinrony

excellent work,congrats,very usefull mod
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

Rafferty

Very nice touch, well done

Don't Follow me I got No Idea what I'm Doing

islam2hamy

nice mode

Arabic-utf8 translation :

//Go up to           
$txt['Scrollgoup'] = 'للأعلى ^';
//Go up to End


please before put the translation in the file be sure that the file encode is UTF-8

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





Sudhakar Arjunan

smart work.

Hope it works on all theme.

Let me try it.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum


TC Carl


I gotta tell you, Ive been hankering for this feature ever since I first clicked the Go Up button and did not Go Up to the main header area.

Well done!!



Eclipse16V

German Lang

//Go up to
$txt['Scrollgoup'] = '^ Nach Oben';
//Go up to End
I worked with:
SMF 2 in German

Shop:
SID Giessen

playdiune

For me it doesnt work properly. when i click the button it redirects for the forum URL. so, it loads the page again, instead of scrll up.

what can it be ?

thanks
My personal forum is now improving thanks to the Power of SMF

http://www.new-digital.net

varen sea

#10
Quote from: playdiune on January 22, 2010, 10:03:01 PM
For me it doesnt work properly. when i click the button it redirects for the forum URL. so, it loads the page again, instead of scrll up.

what can it be ?

thanks

/Themes/default/index.template.php

Find:
<a id="toTop" href="">

Replace With:
<a id="toTop" href="#">

playdiune

/Themes/default/index.template.php

Find:
<a id="toTop" href="">

Replace With:
<a id="toTop" href="#">

[/quote]

Still doesnt work. the link is still the forum URL. I am using last version of Internet Explorer.

What could it be ?

Thanks
My personal forum is now improving thanks to the Power of SMF

http://www.new-digital.net

varen sea

I do not understand well the problem is with IE, simply add the "#" as indicated,
for an example Site: http://waren.zobyhost.com/index.php/topic,3.0.html

playdiune

#13
I have the code like this;

//Scroll Go up
   
    echo '
       <a href="#" id="toTop">',$txt['Scrollgoup'],'</a></body></html>';
}


Could you take a look here ?

http://www.new-digital.net

Maybe i miss something on manual installation.... could you see, please ?
My personal forum is now improving thanks to the Power of SMF

http://www.new-digital.net

varen sea

Sorry for the delay, here I leave some captures image
What I see in site,


and what I see on my site is this


as you will appreciate, the difference is in the #,
if not put the #. always going to refresh the page, but with IE, with Ferefox, Chrome..

playdiune

Well, i really have the code like this;

//Scroll Go up       echo '       <a href="#" id="toTop">',$txt['Scrollgoup'],'</a></body></html>';}

but than if i look on the page source code, it appear without "#". i dont understand ...

can it be caused by another MOD ?
My personal forum is now improving thanks to the Power of SMF

http://www.new-digital.net

vicram10

Quote from: playdiune on January 24, 2010, 09:45:48 AM
Well, i really have the code like this;
//Scroll Go up       echo '       <a href="#" id="toTop">',$txt['Scrollgoup'],'</a></body></html>';}
but than if i look on the page source code, it appear without "#". i dont understand ...
can it be caused by another MOD ?

You change the index.template.php of your current theme or of the default theme?

playdiune

i am using the default theme. i realy dont understand... :(
My personal forum is now improving thanks to the Power of SMF

http://www.new-digital.net

varen sea

I understand that if you add the #, when you save the file, it disappears for another Mod?.
because now if I do not understand.

Joker™

for me button appears till the page is loading .... n as page completely loads button disappears

Im using RC2 n firefox web browser
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Advertisement: