Elxis CMS Forum

Extensions => Modules => Topic started by: webgift on April 17, 2010, 13:12:03

Title: Scroll Top
Post by: webgift on April 17, 2010, 13:12:03
Scroll Top Module

(http://www.elxis-downloads.com/components/com_downloads/thumbnails/94_logo_scroll.png)

Scroll Top is a JavaSript-Based module that It displays a stationary control at the lower right corner of the window that when clicked on gently scrolls the page back up to the top. And instead of always being visible on the user's screen, the script lets you specify how far down the page the user is at (in pixels) before revealing the control.

Important : Just publish the module on HEADER module position on your template. This module works on hidden situation and it must published on the top module of your site. See the Demo below.

/**
You can change the image which shown on by replacing the root/modules/mod_scrolltop/images/up.png with yours up.png image. It's preferred the dimension of this image to be 64px width with 64px height. Then you can change from module parameters the exactly dimension you prefer.
**********************************/

Inspired by Dynamic Drive (http://www.dynamicdrive.com/dynamicindex3/scrolltop.htm)
Copyright (c) 2010 Web Gift (http://www.webgift.gr). All rights reserved.

Download : http://www.elxis-downloads.com/com_downloads/sliders-scrollers-tabs/248.html
Request for a demo

Title: Re: Scroll Top
Post by: nikos on April 17, 2010, 21:28:51
The same function button there is on philoxenia template http://hotels.isopensource2.com/ (http://hotels.isopensource2.com/)
Title: Re: Scroll Top
Post by: webgift on April 17, 2010, 22:02:02
Yes i know that nikos.
I found this module at the first time i saw it very useful to be added as a module on Elxis Platform.

There are so much site that it has something like that etc philoxenia template.

There is a thought to create a bot and let the user to be added manually like {scrolltop} {/scrolltop}
If you like then i will create that. ;)
Title: Re: Scroll Top
Post by: nikos on April 18, 2010, 00:36:40
Yes it is useful as an effect module and i have already done it and used it to my sites, using philoxenia's code.

One suggestion. On line 289 of mod_scrolltop.php replace  title:'Scroll Back to Top' with title:'_CMN_TOP' and you will have on mouse over the alternate text in every language.

Go on with good work, Elxis needs developers.
Title: Re: Scroll Top
Post by: webgift on April 18, 2010, 12:37:30
Yes i will update the module and i inform with this one more parameter choice.

OnMouseOver Title :)
Title: Re: Scroll Top
Post by: webgift on April 18, 2010, 14:24:39
Module UPDATED to version 1.1.
Download file : http://www.elxis-downloads.com/downloads/sliders-scrollers-tabs/248.html
This parameter that just tell me Nikos inserted.
With that give the opportunity to our elxis members to change the title with any language will prefer.!

Thanks a lot.
Title: Re: Scroll Top
Post by: nikos on April 19, 2010, 09:33:38
Webgift i did not mean this you did. By this i suggested, title is appearing automatically in any language because is used the define _CMN_TOP which if you see in any language has different value (Top for English Πάνω for Greek e.t.c.) and in this way you publish module in all languages and user does not have to edit anything.

Now as you did it (not wrong) module has to be copied in any published language of the site and user must set for every language the corresponding title. Apart if user wants to have the same custom title in all languages.
Title: Re: Scroll Top
Post by: webgift on April 19, 2010, 09:40:35
I understand what you mean.
I prefer to give this opportunity to the user to edit the title with whatever he wants.

In version 2.0 Module will be translated in several supported languages. ;)
Title: Re: Scroll Top
Post by: webgift on April 25, 2010, 19:58:12
Scroll Top Module updated to version 1.2.
The Module uses the jQuery javascript technology.

In the same case the Ios Gallery on the way of Gallerific Mode uses the same technology so this module conflicted and returned error.

Now on version 1.2 we have done the check if any jQuery load at the top (code) of our pages and it works excellent! Enjoy!