View Single Post
  #2  
Old 11-28-2013, 06:34 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default 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.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote