Advertisement:

Author Topic: Go up top  (Read 9647 times)

Offline varen sea

  • Jr. Member
  • **
  • Posts: 184
  • Gender: Male
    • varen sea
Go up top
« on: September 22, 2009, 05:21:23 PM »
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:
« Last Edit: January 06, 2010, 03:17:53 PM by varen sea »

Offline gbsothere

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,780
  • I'm a Pappy!
Re: Go up top
« Reply #1 on: September 22, 2009, 05:37:14 PM »
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.

Offline franklinrony

  • SMF Hero
  • ******
  • Posts: 1,958
  • Gender: Male
  • Sharedownload SEO
    • franklinrony on Facebook
    • @franklinrony on Twitter
    • share download
Re: Go up top
« Reply #2 on: September 22, 2009, 11:57:04 PM »
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----

Offline Rafferty

  • Jr. Member
  • **
  • Posts: 318
  • Gender: Male
    • 16 Air Defence Regiment Members
Re: Go up top
« Reply #3 on: September 23, 2009, 02:55:23 AM »
Very nice touch, well done

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

Offline islam2hamy

  • Sophist Member
  • *****
  • Posts: 1,364
  • Gender: Male
  • SMF أنا بحب
    • First Arabic Support Site For SMF
Re: Go up top
« Reply #4 on: September 23, 2009, 03:52:43 AM »
nice mode

Arabic-utf8 translation :
Code: [Select]
//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





Offline Sudhakar Arjunan

  • Sophist Member
  • *****
  • Posts: 1,253
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - Webdesigning & Webhositing services in Chennai
Re: Go up top
« Reply #5 on: September 26, 2009, 02:43:20 PM »
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


Offline TC Carl

  • Semi-Newbie
  • *
  • Posts: 74
    • Treasure Coast Voices
Re: Go up top
« Reply #7 on: October 30, 2009, 02:40:56 PM »

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!!



Offline Eclipse16V

  • Sophist Member
  • *****
  • Posts: 1,070
  • Gender: Male
  • Tornado Map
    • Eclipse16V on Facebook
    • @Eclipse16V on Twitter
    • SID Giessen
Re: Go up top
« Reply #8 on: January 07, 2010, 03:51:19 AM »
German Lang

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

Shop:
SID Giessen

Offline playdiune

  • Jr. Member
  • **
  • Posts: 291
  • Gender: Male
    • new-digital.net
Re: Go up top
« Reply #9 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
My personal forum is now improving thanks to the Power of SMF

http://www.new-digital.net

Offline varen sea

  • Jr. Member
  • **
  • Posts: 184
  • Gender: Male
    • varen sea
Re: Go up top
« Reply #10 on: January 22, 2010, 11:52:27 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:
Code: [Select]
<a id="toTop" href="">
Replace With:
Code: [Select]
<a id="toTop" href="#">
« Last Edit: January 22, 2010, 11:56:49 PM by varen sea »

Offline playdiune

  • Jr. Member
  • **
  • Posts: 291
  • Gender: Male
    • new-digital.net
Re: Go up top
« Reply #11 on: January 23, 2010, 08:26:40 AM »
/Themes/default/index.template.php

Find:
Code: [Select]
<a id="toTop" href="">
Replace With:
Code: [Select]
<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

Offline varen sea

  • Jr. Member
  • **
  • Posts: 184
  • Gender: Male
    • varen sea
Re: Go up top
« Reply #12 on: January 23, 2010, 08:48:59 AM »
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

Offline playdiune

  • Jr. Member
  • **
  • Posts: 291
  • Gender: Male
    • new-digital.net
Re: Go up top
« Reply #13 on: January 23, 2010, 11:03:21 AM »
I have the code like this;

Code: [Select]
//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 ?
« Last Edit: January 23, 2010, 11:08:35 AM by playdiune »
My personal forum is now improving thanks to the Power of SMF

http://www.new-digital.net

Offline varen sea

  • Jr. Member
  • **
  • Posts: 184
  • Gender: Male
    • varen sea
Re: Go up top
« Reply #14 on: January 23, 2010, 02:06:22 PM »
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..

Offline playdiune

  • Jr. Member
  • **
  • Posts: 291
  • Gender: Male
    • new-digital.net
Re: Go up top
« Reply #15 on: January 24, 2010, 09:45:48 AM »
Well, i really have the code like this;

Code: [Select]
//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

Offline vicram10

  • Charter Member
  • SMF Hero
  • *
  • Posts: 6,050
  • Gender: Male
    • vmrm10 on Facebook
    • vicram10 on GitHub
    • vicram10 on LinkedIn
    • @vicram_10 on Twitter
    • Noticias Tecnologicas, Tutoriales e Internet
Re: Go up top
« Reply #16 on: January 24, 2010, 09:59:17 AM »
Well, i really have the code like this;
Code: [Select]
//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?

Offline playdiune

  • Jr. Member
  • **
  • Posts: 291
  • Gender: Male
    • new-digital.net
Re: Go up top
« Reply #17 on: January 24, 2010, 05:14:38 PM »
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

Offline varen sea

  • Jr. Member
  • **
  • Posts: 184
  • Gender: Male
    • varen sea
Re: Go up top
« Reply #18 on: January 24, 2010, 05:28:07 PM »
I understand that if you add the #, when you save the file, it disappears for another Mod?.
because now if I do not understand.

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: Go up top
« Reply #19 on: January 26, 2010, 05:36:05 AM »
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