
I have pages where a single image gets enlarged and has a caption displayed either to the right or below with the larger image that works ok. I have pages where I have a combination of single images and galleries with a thumbstrip below that work fine together. I now need a more complex page where I can have the user:
• click on a thumbnail to see a larger version of an image,
• where I can place one or more galleries to display a sequence of photographs that each require only a single line caption,
• where I can display a gallery when the user clicks on a text link, with a longer caption appropraite to each image displayed either alongside or below
I’ve used separate test pages to get each of the above elements to work on their own, based on:
• Barebones sample : Drop shadow and no border, semi transparent close button
• Roadrash’s samples: In-page gallery with thumbstrip below caption
• Roadrash’s samples: Open mini gallery from text link
However, I’ve hit problems when combining these, and I've have noticed some things I don’t understand.
Code: Select all
<script type="text/javascript">
//<![CDATA[
hs.registerOverlay({
html: '<div class="closebutton" onclick="return hs.close(this)" title="Close"></div>',
position: 'top right',
fade: 2 // fading the semi-transparent overlay looks bad in IE
});
hs.graphicsDir = '../highslide/graphics/';
hs.wrapperClassName = 'borderless';
//]]>
Code: Select all
//<![CDATA[ ? … //]]>
When setting up a slideshow, what is the significance of this:
Code: Select all
// Add the slideshow providing the controlbar and the thumbstrip
hs.addSlideshow({
//slideshowGroup: 'group1',
Code: Select all
//slideshowGroup: 'group1',
Code: Select all
// Add the controlbar
if (hs.addSlideshow) hs.addSlideshow({
//slideshowGroup: 'group1',
Then there is this in one example:
Code: Select all
<!--
3) Modify some of the styles
-->
<style type="text/css">
.highslide-image {
border: 1px solid black;
}
.highslide-controls {
width: 90px !important;
}
.highslide-controls .highslide-close {
display: none;
}
.highslide-caption {
padding: .5em 0;
}
</style>
Using all three gallery types on one page, the effects I’m getting are that the in page gallery and thumbstrip works ok, but the text linked gallery doesn’t display the controls. However, the left/right arrows do allow navigation through the gallery. When I do get the text-linked gallery to work, the controls appear over two rows, the close control doesn’t appear, and the thumbstrips on the other galleries have disappeared

Any help will be greatly appreciated.