You could do it with http://script.aculo.us/, which is shipped with Magento, some CSS and implement the list with the category listing block with a custom template..
So if anyone has successfully implemented this, can you post some code snippets, or give us some clues how to do this ourselves? I am wanting to do this on upsells.
I was able to get a slider to display on the upsell view using jCarousel a jQuery plugin. It was actually pretty easy to do. Most of my efforts were on styling the look of the slider and hunting down where magento sets the number of items to be displayed (catalog.xml).
jCarousel comes with two skins that you can modify to your liking!
This is how I had to change the upsell.phtml view to display in the slider. Basically change it to a list instead of a nasty table, yuck!
<?php if(count($this->getItemCollection()->getItems(12))): ?> <div class="collateral-box up-sell"> <div class="head"><h4><?php echo $this->__('You may also be interested in the following product(s)') ?></h4></div>
<div class="generic-product-grid catalog-listing" id="upsell-product-table"> <?php $this->setColumnCount(12); // uncomment this line if you want to have another number of columns. also can be changed in layout ?> <?php $this->resetItemsIterator() ?> <?php for($_i=0;$_i<$this->getRowCount();$_i++): ?>
And this is all I had to change in order to get more products. Change the limit number to whatever you wish, I don’t know if the columns even matter anymore, but couldn’t hurt.
<script type="text/javascript"> jQuery(document).ready(function() { // Initialise the first and second carousel by class selector. // Note that they use both the same configuration options (none in this case). jQuery('.carousel').jcarousel(); }); </script>
I managed to get cu3er running in magento! I have tested it is IE, Safari, and Opera, all working yet it will not initialize in firefox?
I am going to post exactly what I did and maybe someone can figure out how to get it working in firefox.
I hope this is all clear,
you can then play around with the transitions by just changing the config.xml. I uploaded the cu3er directory structure to /skin/frontend/default/myskin/ folder making a cu3er folder in there, and to make it easier for me added it again in the root but you could just configure the xml for you skin folder.
But it works!! just click on my name and the my web url to see it in action it is pretty!
Sean
I tryed your method, but it doesnt work in firefox and explorer for me. So I did this: (what I have testet it works in safari, firefox, explorer, chrome)
I imported it into images/flash/cu3er/ - remember to change that!