It is currently Fri Dec 19, 2014 6:01 am Advanced search

Addslideshow syntax : apply to multiple groups ?

Technical support, bug reports, feature requests and more.

Addslideshow syntax : apply to multiple groups ?

Postby webmammuth » Fri Feb 27, 2009 11:47 am

Used this code to define one slide show on a page using both slideshows and swf.

Code: Select all
   // Add the controlbar
   if (hs.addSlideshow) hs.addSlideshow({
      slideshowGroup: '1',
      interval: 5000,
      repeat: false,
      useControls: true,
      fixedControls: 'fit',
      overlayOptions: {
         opacity: .75,
         position: 'bottom center',
         hideOnMouseOut: true
      }
   });


I'd like to know if I must duplicate this code to use a second slideshow group, or if there is a possibility to apply this controlbar to multiple slideshow groups. If yes, what is the correct syntax ?

Code: Select all
slideshowGroup: '1' '2',
?

Thanks
webmammuth
 
Posts: 12
Joined: Tue Feb 17, 2009 5:12 pm

Re: Addslideshow syntax : apply to multiple groups ?

Postby RoadRash » Fri Feb 27, 2009 12:06 pm

You can use
Code: Select all
slideshowGroup: ['1','2'],
Hilde
Highslide Support Team

Overview of my Highslide sample pages: RoadRash.no
User avatar
RoadRash
 
Posts: 8232
Joined: Tue Jul 15, 2008 8:43 pm
Location: Fredrikstad, Norway

Re: Addslideshow syntax : apply to multiple groups ?

Postby webmammuth » Fri Feb 27, 2009 12:17 pm

Thank you very much.
I'll use that
webmammuth
 
Posts: 12
Joined: Tue Feb 17, 2009 5:12 pm


Return to Highslide JS Usage

Who is online

Users browsing this forum: No registered users and 3 guests