1 Attachment(s)
Back to Top Plugin [Support Thread]
Hello :-)
This neat jquery plugin will add a "Back to Top" link that will automatically appear one a user scrolls your page.
Attachment 11550
See a live demo here:
Back to Top Zen Cart Plugin Live Demo
Features:
- Completely customizable button through css
- Adds a "Back to Top" link that will automatically appear one a user scrolls your page
- Detailed HTML readme file with written instructions and screenshots, and links to videos for the installation and customization steps.
- Fully compatible with versions 1.3.8x, 1.3.9x, 1.5x. Would probably work with lower versions although it has not been tested.
Please post any bugs or questions here.
Thanks,
Anne
Re: Back to Top Plugin [Support Thread]
Not sure if its just me, but it is bugging out pretty bad on your demo website in chrome/ie.
doesn't scroll properly and half the image only displays.
Re: Back to Top Plugin [Support Thread]
In ff 17
It is mostly hidden by other elements on the page as you scroll
Re: Back to Top Plugin [Support Thread]
Quote:
Originally Posted by
PearceStephens
Not sure if its just me, but it is bugging out pretty bad on your demo website in chrome/ie.
doesn't scroll properly and half the image only displays.
I just looked at it in chrome and am not seeing the problem.
Are you viewing in a really small monitor or on a hand held device?
Thanks,
Anne
Re: Back to Top Plugin [Support Thread]
Quote:
Originally Posted by
gilby
In ff 17
It is mostly hidden by other elements on the page as you scroll
If you are viewing on a small monitor and want to make it float above page elements just add a z-index to the #BackToTop in the stylesheet_back_to_top.css file.
Thanks,
Anne
Re: Back to Top Plugin [Support Thread]
Quote:
Originally Posted by
picaflor-azul
If you are viewing on a small monitor and want to make it float above page elements just add a z-index to the #BackToTop in the stylesheet_back_to_top.css file.
Thanks,
Anne
Seems to be working fine now!
Re: Back to Top Plugin [Support Thread]
Quote:
Originally Posted by
gilby
Seems to be working fine now!
Ok, great ;-) I'll include the z-index fix in a future update.
Thanks,
Anne
1 Attachment(s)
Re: Back to Top Plugin [Support Thread]
Hello Anne - Before I start I wanted to thank you for your contribution.
I am having problems implementing the plugin. Following are some information that I though might be useful for you to view.
- I am using / revising the Classic Template came with Zen Cart 1.5.1.
- I have copied the following file structure to the server:
includes/templates/classic/css/stylesheet_back_to_top.css
includes/templates/classic/jscript/back_to_top.min.js - The follwing code has been added to includes/templates/classic/common/tpl_main_page.php (override)
$right_column_file = 'column_right.php';
$body_id = ($this_is_home_page) ? 'indexHome' : str_replace('_', '', $_GET['main_page']);
?>
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
<?php // ** BEGIN REVISED - FOR BACK_TOP PLUG ?>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js" type="text/javascript"></script>
<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/back_to_top.min.js' ?>" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
BackToTop({
text : 'Back to Top',
autoShow : true,
timeEffect : 750
});
});
</script>
<?php // ** END REVISED - FOR BACK_TOP PLUG ?>
<?php
if (SHOW_BANNERS_GROUP_SET1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1)) {
- Following is the screen capture of the page source of the Main / index page:
Attachment 11694
- Page width is 950px.
The "BACK TOP" button does not show up on any of my pages, regardless of the length.
I don't see any stylesheet reference anywhere. Could that be it?
I would appreciate your help. Thanks.
Re: Back to Top Plugin [Support Thread]
Can anyone help me on this?
Re: Back to Top Plugin [Support Thread]
If you post a link to your site I can take a look.
Thanks,
Anne