Solved

Integrate RokSlide Scroller or similar

Posted on 2008-10-10
1
655 Views
Last Modified: 2013-11-19
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
Comment
Question by:fgict
1 Comment
 
LVL 5

Accepted Solution

by:
wickedpassion earned 500 total points
ID: 22711840
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now