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<script type="text/javascript" src="highslide/highslide-with-gallery.js"></script><script type="text/javascript" src="highslide/highslide-full.js"></script>var config1 = {
slideshowGroup: 'group1',
numberPosition: 'heading',
transitions: ['expand', 'crossfade']
};var config1 = {
slideshowGroup: 'group1',
thumbnailId: 'gallery-opener',
numberPosition: 'heading',
transitions: ['expand', 'crossfade']
};var config2 = {
slideshowGroup: 'group2',
thumbnailId: 'gallery-opener2',
numberPosition: 'heading',
transitions: ['expand', 'crossfade']
};// Add the slideshow controller
hs.addSlideshow({
slideshowGroup: 'group1',
interval: 2500,
repeat: true,
useControls: true,
fixedControls: 'fit',
overlayOptions: {
className: 'text-controls',
opacity: 1,
position: 'bottom center',
offsetX: 50,
offsetY: -10,
relativeTo: 'viewport',
hideOnMouseOut: false
},
thumbstrip: {
mode: 'vertical',
position: 'leftpanel',
relativeTo: 'image'
}
});<area shape="rect" coords="735,300,883,334" id="gallery-opener2" href="javascript:;" onclick="document.getElementById('thumb2').onclick()"/>
<area shape="rect" coords="433,306,592,340" id="gallery-opener" href="javascript:;" onclick="document.getElementById('thumb1').onclick()" /><div class="hidden-container">
[color=#FF0000]<a id="thumb1"[/color]
<a href="highslide/images/large/a11-viwd-mc-05-676.jpg" class="highslide"
title=""
onclick="return hs.expand(this, config1 )">
<img src="highslide/images/thumbs/a11-viwd-mc-05-676.jpg" alt=""/>
</a><div class="hidden-container">
<a id="thumb1" href="highslide/images/large/a11-viwd-mc-05-676.jpg" class="highslide"
title=""
onclick="return hs.expand(this, config1 )">
<img src="highslide/images/thumbs/a11-viwd-mc-05-676.jpg" alt=""/>
</a> <a id="thumb2" href="highslide/images/large/a11-viwd-mc-05-676.jpg" class="highslide"
title=""
onclick="return hs.expand(this, config2 )">
<img src="highslide/images/thumbs/a11-viwd-mc-05-676.jpg" alt=""/>
</a>#lvdc {
height: 677px;
width: 1060px;
margin-top: 1px;
margin-right: auto;
margin-left: auto;
}RoadRash wrote:Then add this at the bottom of your highslide.config.js file for the second gallery:
- Code: Select all
var config2 = {
slideshowGroup: 'group2',
thumbnailId: 'gallery-opener2',
numberPosition: 'heading',
transitions: ['expand', 'crossfade']
};
onclick="return hs.expand(this, config2 )""title=""
onclick="return hs.expand(this, config2 )">
<img src= etc...// gallery config object
var config1 = {
slideshowGroup: 'group1',
thumbnailId: 'gallery-opener',
numberPosition: 'heading',
transitions: ['expand', 'crossfade']
};
var config2 = {
slideshowGroup: 'group2',
thumbnailId: 'gallery-opener2',
numberPosition: 'heading',
transitions: ['expand', 'crossfade']
};<script type="text/javascript" src="highslide/highslide-full.js"></script>
<script type="text/javascript" src="highslide/highslide.config.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="highslide/highslide.css" />
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="highslide/highslide-ie6.css" />
<![endif]-->/**
* Site-specific configuration settings for Highslide JS
*/
hs.graphicsDir = 'highslide/graphics/';
hs.outlineType = 'custom';
hs.dimmingOpacity = 0.75;
hs.transitionDuration = 300;
hs.align = 'center';
hs.marginBottom = 70;
hs.marginLeft = 100;
hs.captionEval = 'this.a.title';
hs.captionOverlay.position = 'below';
hs.registerOverlay({
html: '<div class="closebutton" onclick="return hs.close(this)" title="Fermer"></div>',
position: 'top right',
useOnHtml: true,
fade: 2 // fading the semi-transparent overlay looks bad in IE
});
// Add the slideshow controller
hs.addSlideshow({
interval: 2500,
repeat: true,
useControls: true,
fixedControls: 'fit',
overlayOptions: {
className: 'text-controls',
opacity: 1,
position: 'bottom center',
offsetX: 50,
offsetY: -10,
relativeTo: 'viewport',
hideOnMouseOut: false
},
thumbstrip: {
mode: 'vertical',
position: 'leftpanel',
relativeTo: 'image'
}
});
// French language strings
hs.lang = {
cssDirection: 'ltr',
loadingText: 'Chargement...',
loadingTitle: 'Cliquer pour annuler',
focusTitle: 'Cliquer pour amener au premier plan',
fullExpandTitle: 'Afficher à la taille réelle',
creditsText: 'Propulsé par <i>Highslide JS</i>',
creditsTitle: 'Site Web de Highslide JS',
previousText: 'Précédente',
nextText: 'Suivante',
moveText: 'Déplacer',
closeText: 'Fermer',
closeTitle: 'Fermer (esc ou Échappement)',
resizeTitle: 'Redimensionner',
playText: 'Lancer',
playTitle: 'Lancer le diaporama (barre d\'espace)',
pauseText: 'Pause',
pauseTitle: 'Suspendre le diaporama (barre d\'espace)',
previousTitle: 'Précédente (flèche gauche)',
nextTitle: 'Suivante (flèche droite)',
moveTitle: 'Déplacer',
fullExpandText: 'Taille réelle',
number: 'Image %1 sur %2',
restoreTitle: 'Cliquer pour fermer l\'image, cliquer et faire glisser pour déplacer, utiliser les touches flèches droite et gauche pour suivant et précédent.'
};
// gallery config object
var config1 = {
slideshowGroup: 'group1',
thumbnailId: 'gallery-opener',
numberPosition: 'heading',
transitions: ['expand', 'crossfade']
};
var config2 = {
slideshowGroup: 'group2',
thumbnailId: 'gallery-opener2',
numberPosition: 'heading',
transitions: ['expand', 'crossfade']
};var config3 = {
slideshowGroup: 'group3',
thumbnailId: 'gallery-opener3',
numberPosition: 'heading',
transitions: ['expand', 'crossfade']
};id="gallery-opener3"onclick="document.getElementById('thumb3').onclick()"id="thumb3"onclick="return hs.expand(this, config3 )"Users browsing this forum: No registered users and 1 guest