Instead of continuing the battle against spammers, we decided to close the forum for new users and topics. But don't worry, there are still plenty of ways to reach us. Most notably, we will move our attention to Stack Overflow, where we will monitor questions under the tags [highcharts], [highstock] and [highslide].
For other ways of getting in touch with us, see Highcharts Support or Highslide Support.
Torstein Hønsi, CTO, 2013-01-29// gallery config object
var config1 = {
slideshowGroup: 'group1',
autoplay: false,
transitions: ['expand', 'crossfade']
};// gallery config object
var config2 = {
slideshowGroup: 'group2',
autoplay: false,
transitions: ['expand', 'crossfade']
};onclick="return hs.expand(this, config1 )"onclick="return hs.expand(this, config2 )"// Add the slideshow controller
hs.addSlideshow({
//slideshowGroup: 'group1',
interval: 5000,
repeat: true,
useControls: true,
fixedControls: false,
overlayOptions: {
className: 'text-controls',
opacity: '1',
position: 'bottom center',
offsetX: '0',
offsetY: '-60',
relativeTo: 'viewport',
hideOnMouseOut: false
},
thumbstrip: {
mode: 'horizontal',
position: 'bottom center',
relativeTo: 'viewport'
}
});
<span class="highslide-caption">Caption from a subsequent div</span><div class="highslide-caption">Caption from a subsequent div</div>.highslide-caption {
display: none;
color: #300;
font-family: serif !important;
text-align: center;
font-size: 14pt !important;
padding: 2px;
}I seemed to have lost the outer boxes around the thumbnail pics.
.highslide img {
border: 1px solid #D0D0D0;
margin: 10px;
}RoadRash wrote:You have conflicts between the stuff in your highslide.config.js file and the Highslide stuff placed between the head tags.
First – you should place all Highslide stuff inside the config file instead of some between the head tags and some in the config file.
Second – when using multiple thumbstrip galleries you need to add a var for each slideshowGroup.
For the first gallery:
- Code: Select all
// gallery config object
var config1 = {
slideshowGroup: 'group1',
autoplay: false,
transitions: ['expand', 'crossfade']
};
For the second gallery:etc
- Code: Select all
// gallery config object
var config2 = {
slideshowGroup: 'group2',
autoplay: false,
transitions: ['expand', 'crossfade']
};
Each gallery must use different config settings added to the onclick – config1 for the first gallery, config2 for the second gallery etc.
- Code: Select all
onclick="return hs.expand(this, config1 )"
- Code: Select all
onclick="return hs.expand(this, config2 )"
My example page you refer to in your post doesn’t have that since it wasn’t made for thumbstrip galleries.
You also need to comment out the slideshowGroup for the addSlideshow (add double slash // in front of slideshowGroup) to add the controlbar and thumbstrip to all galleries, not only the gallery with slideshowGroup: 'group1':
- Code: Select all
// Add the slideshow controller
hs.addSlideshow({
//slideshowGroup: 'group1',
interval: 5000,
repeat: true,
useControls: true,
fixedControls: false,
overlayOptions: {
className: 'text-controls',
opacity: '1',
position: 'bottom center',
offsetX: '0',
offsetY: '-60',
relativeTo: 'viewport',
hideOnMouseOut: false
},
thumbstrip: {
mode: 'horizontal',
position: 'bottom center',
relativeTo: 'viewport'
}
});
I’ve made you an example page. All the Highslide stuff is placed between the head tags, but you can put it inside your config file. Replace the addSlideshow part and the var config1 with the stuff from my example page.
http://www.roadrash.no/hs-support/4gall ... strip.html
RoadRash wrote:Hi jsdummyfornow, (but not for long)
I’m not exactly sure what you are trying to achieve… Do you want thumbstrips for your galleries?
As for now you have no code for thumbstrip. And autoload – do you mean autoplay, or should the gallery open automatically on pageload?
If you choose one of the galleries from the barebones samples we can help you to make four of them in the same page.
You can also use the Highslide Editor to make a gallery with the look and feel you want. (The earlier mentioned highslide.config.js file comes from the Highslide Editor). TheHighslide Editor can’t make several galleries in the same page, but if you make one gallery with the look and feel you want, we can help you add more galleries to the same page.
Users browsing this forum: No registered users and 5 guests