Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Scrolling Image on Right Side of Screen

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-26-2013, 06:35 PM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default 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?
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote
  #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

The following user thanks totaltec for this useful post:
qualiteam (11-29-2013)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:38 AM.

   

 
X-Cart forums © 2001-2020