X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Scrolling Image on Right Side of Screen (https://forum.x-cart.com/showthread.php?t=68225)

minfinger 11-26-2013 06:35 PM

Scrolling Image on Right Side of Screen
 
I'd like to have an image scrolling on the side of my 4.3.2 Xcart site that is a Link to a URL.

Similar to this. I don't care about the twitter/facebook images. I just want a single image.
http://davidwalsh.name/demo/scrolling-sidebar.php

Here's the code he says he uses
http://davidwalsh.name/scroll-sidebar

Any idea how to set all this up on a 4.3.2 site?

totaltec 11-28-2013 06:34 AM

Re: Scrolling Image on Right Side of Screen
 
I've used this technique in the past to keep customer mini-carts in view.

I like the CSS tricks method the best: http://css-tricks.com/scrollfollow-sidebar/

Just add the CSS to your style sheet, insert the javascript in a tpl and add the html content somewhere. I would practice this using a page outside of X-cart first, a simple html page. Then it should be simpler for you to asee how to add it to XC.

I want to warn you though, In live tests on very busy sites, I actually had customers complain about this behavior. We received so many complaints that we took it off the site.


All times are GMT -8. The time now is 11:58 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.