SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

Go up top

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

Previous topic - Next topic


Quote from: sid2varun 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

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


Quote from: varen sea on January 22, 2010, 11:52:27 PM
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 ?



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

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

Changed today the code ( for test ) from

<a id="toTop" href="#">

to this one

<a id="toTop" href="#top">

and it now works like a charm ;)

hope can help some others
My personal forum is now improving thanks to the Power of SMF


Updated to Smf 2.0 Rc3
Adk Portal 3.1 is coming....

Design your universe!


I was wondering if anyone can tell me how to add another button right below this one that says "home" and redirect the user to the forums home page ("").  Any help would be greatly appreciated.

SMF Version: 1.1.11
SimplePortal Version: 2.3.2


He who waits for perfect conditions sees nothing!!
If you need help adding a button or tab PM me!!



<a href="#" id="toTop">',$txt['Scrollgoup'],'</a>

and replace with:

<a href="" id="toTop">',$txt['Scrollgoup'],'</a>

if you want another image, you will search in the index.css/style.css (Smf 2 or Smf 1):
#toTop {

add after:
background-image: url(http://yourimage.jpg) no-repeat;
Adk Portal 3.1 is coming....

Design your universe!

Biology Forums

What theme is that for 1.x screenshot?


I'm always tinkering around with things and ran across this little mod.  I just wanted to say that it works beautifully in 2.0.11 and throws no errors.  However, instead of the first "Find" string in index.template.php

<script type="text/javascript" src="', $settings['theme_url'], '/scripts/theme.js?rc2"></script>

You need to search for this, instead:

<script type="text/javascript" src="', $settings['theme_url'], '/scripts/theme.js?fin20"></script>

(and then follow the rest of the parsing instructions, which includes downloading the zip and moving a JS directory to Themes/default.)   Dead easy.   :)

(I know there are other versions of this type of thing, but I liked the look of this one so....   just putting this out into the universe.)   :D