Advertisement:

Author Topic: [New plugin] Scrolltop  (Read 8291 times)

tijo972

  • Newbie
  • *
  • Posts: 32
[New plugin] Scrolltop
« on: June 29, 2012, 10:49:30 pm »
Hello to all

I just present my first plugin for osclass "scrollTop"
which will allow you an automatic rise in osclass your page.

tell me if it works for you ...

New version 1.1

04/07/12 :en_US translation
30/06/12 :corrected display bug
« Last Edit: July 05, 2012, 06:52:55 pm by tijo972 »

tijo972

  • Newbie
  • *
  • Posts: 32
Re: [New plugin] Scrolltop
« Reply #1 on: July 05, 2012, 06:00:44 am »
Translation ok.

poedit give me a little slap, lol

But I finally understand how he wants to work.
« Last Edit: July 05, 2012, 06:03:16 am by tijo972 »

KarlssoN

  • Newbie
  • *
  • Posts: 42
Re: [New plugin] Scrolltop
« Reply #2 on: July 05, 2012, 06:30:32 pm »
The .zip file is empty!

tijo972

  • Newbie
  • *
  • Posts: 32
Re: [New plugin] Scrolltop
« Reply #3 on: July 05, 2012, 06:53:54 pm »
 ::) oops

Sorry, you can download it now.
« Last Edit: July 05, 2012, 07:00:11 pm by tijo972 »

KarlssoN

  • Newbie
  • *
  • Posts: 42
Re: [New plugin] Scrolltop
« Reply #4 on: July 07, 2012, 07:32:24 pm »
Works now! Only problem I'm having is that the Scrolltop links are visible as standard URL links in my header not at the bottom on the item page. They are correct on the main page!

tijo972

  • Newbie
  • *
  • Posts: 32
Re: [New plugin] Scrolltop
« Reply #5 on: July 07, 2012, 09:18:53 pm »
Karlsson

well did you put this code   <?php scrolltop(); ?>   in the header.php file of your theme?

And

Can you give me your site url .
« Last Edit: July 07, 2012, 09:28:32 pm by tijo972 »

aprendiz

  • Newbie
  • *
  • Posts: 7
Re: [New plugin] Scrolltop
« Reply #6 on: November 18, 2012, 07:53:59 pm »
Not work well on my site. Only on custom pages and main.. Not for search and category listings..

Any idea? Sorry my english


I have the solution:
Code: [Select]
  function scrolltop_header() {
       
     echo '<script type="text/javascript" src="/oc-content/plugins/scrolltop/js/scrolltop.js"></script>';
            echo '<link href="/oc-content/plugins/scrolltop/css/scrolltop.css" rel="stylesheet" type="text/css" />';
        }

I have to add a slash "/" before oc-content on src and href... this not working because I am using friendly url. :)
« Last Edit: November 19, 2012, 03:19:14 am by aprendiz »

Jan86

  • Full Member
  • ***
  • Posts: 196
Re: [New plugin] Scrolltop
« Reply #7 on: November 30, 2012, 01:20:28 am »
Nice Plug-in :-)

soluoma

  • Newbie
  • *
  • Posts: 10
Re: [New plugin] Scrolltop
« Reply #8 on: February 12, 2013, 02:23:54 am »
This plugin seems to be working only on the home page. Do I need to do anything else to make it appear also at the bottom of every other page? It appears now as links (2X) on header of other pages.

soluoma

  • Newbie
  • *
  • Posts: 10
Re: [New plugin] Scrolltop
« Reply #9 on: February 15, 2013, 03:38:39 pm »
any assistance on getting this to work will be greatly appreciated

tomshaft

  • Guest
Re: [New plugin] Scrolltop
« Reply #10 on: February 15, 2013, 04:36:39 pm »
If you placed  <?php scrolltop(); ?> into the theme header then it will appear on every long page.
Does NOT appear on short pages.
Tom

dcentm213

  • Newbie
  • *
  • Posts: 16
Re: [New plugin] Scrolltop
« Reply #11 on: June 13, 2013, 05:07:33 pm »
can  anyone tell me where to exactly add <?php scrolltop(); ?> on header.php.
I have modern theme.

sirjones

  • Full Member
  • ***
  • Posts: 102
Re: [New plugin] Scrolltop
« Reply #12 on: June 13, 2013, 10:07:25 pm »
maybe it will better by putting that script in main.php or head.php, it alsi depend on your theme schema
it just my opinion, neither tested or using it :)

aks

  • Full Member
  • ***
  • Posts: 179
Re: [New plugin] Scrolltop
« Reply #13 on: October 14, 2013, 02:57:01 am »
hi ..for 3.2.1 version, top arrows do not appears

plesk

  • Full Member
  • ***
  • Posts: 188
Re: [New plugin] Scrolltop
« Reply #14 on: October 24, 2013, 10:32:44 pm »

Hi, I owe it to place this code
thank you
<?php scrolltop(); ?>