Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 674
  • Last Modified:

Integrate RokSlide Scroller or similar

Hi,

I really like the Rokslide module plugin for Joomla, I would be really interested in including this on my website but I can't find my way around all the extraneous css tabs e.g. DIV containers

Is there anywhere I could find just the code for the Slider on a simple HTML page without all the extraneous code or is there a similar code which is compatible with all main browsers
0
fgict
Asked:
fgict
1 Solution
 
wickedpassionCommented:
Are you using Mootools in combo as I believe this is pre-requisite for Slideshow to work!?

If you do then paste you must also ensure that the following two lines are contained in the head sections of every page that you wish to use slideshow.

<script type="text/javascript" src="rokslideshow/mootools.js"></script>
<script type="text/javascript" src="rokslideshow/rokslideshow.js"></script>

Once completed the code required will be something like the following:









<script type="text/javascript">
 window.RokSlideshowPath = '';
 window.addEvent('load', function(){
 var imgs = [
        {
 
        file: 'yourfile.jpg',
        title:'yourtitle',
        desc: 'your description',
        url: '#'
        },{
 
        file: 'yourfile.jpg',
        title:'yourtitle',
        desc: 'your description',
        url: '#'
 
}];
 
 
var myshow = new Slideshow('slideshow', {
    type: 'combo',
    showTitleCaption: 1,
    captionHeight: 45,
    width: 450,
    height: 300,
    pan: 20,
    zoom: 30,
    loadingDiv: 1,
    resize: true,
    duration: [2000, 9000],
    transition: Fx.Transitions.Expo.easeOut,
    images: imgs,
    path: '/path/to/your/images/'
  });
 
myshow.caps.h2.setStyles({
    color: '#fff',
    fontSize: '13px'
});
 
myshow.caps.p.setStyles({
    color: '#ccc',
    fontSize: '11px'
  });
 });
</script>

Open in new window

0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now