Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Did you know that
Elxis 5.x
uses HTML5, CSS3 and pure javascript without external libraries such as jQuery?
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Modules
»
Scroll Top
« previous
next »
Print
Pages: [
1
]
Author
Topic: Scroll Top (Read 9722 times)
webgift
Elxis Team
Hero Member
Posts: 4193
Scroll Top
«
on:
April 17, 2010, 13:12:03 »
Scroll Top Module
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
Copyright (c) 2010
Web Gift
.
All rights reserved.
Download :
http://www.elxis-downloads.com/com_downloads/sliders-scrollers-tabs/248.html
Request for a demo
«
Last Edit: November 29, 2013, 20:52:14 by webgift
»
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
nikos
Elxis Community
Hero Member
Posts: 1094
Re: Scroll Top
«
Reply #1 on:
April 17, 2010, 21:28:51 »
The same function button there is on
philoxenia
template
http://hotels.isopensource2.com/
Logged
Elxis Community |
Open Source Web Lab
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Scroll Top
«
Reply #2 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.
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
nikos
Elxis Community
Hero Member
Posts: 1094
Re: Scroll Top
«
Reply #3 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.
Logged
Elxis Community |
Open Source Web Lab
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Scroll Top
«
Reply #4 on:
April 18, 2010, 12:37:30 »
Yes i will update the module and i inform with this one more parameter choice.
OnMouseOver Title
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Scroll Top
«
Reply #5 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.
«
Last Edit: April 18, 2010, 15:14:14 by WebGift
»
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
nikos
Elxis Community
Hero Member
Posts: 1094
Re: Scroll Top
«
Reply #6 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.
Logged
Elxis Community |
Open Source Web Lab
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Scroll Top
«
Reply #7 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.
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Scroll Top
«
Reply #8 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!
«
Last Edit: April 25, 2010, 20:02:01 by WebGift
»
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Modules
»
Scroll Top