I have Highslide set up with the full.packed.js version on my WordPress blog. The files are located in a folder (within my theme) named highslide and the structure is identical to the download. I have the gallery with controls in the heading script in my header which looks like this. The only thing I'm doing differently from the download is that I've changed the graphics directory in the script shown below and enabled the dimming opacity.
Code: Select all
<script type="text/javascript">
hs.graphicsDir = '/images/highslide/';
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.outlineType = 'rounded-white';
hs.wrapperClassName = 'controls-in-heading';
hs.fadeInOut = true;
hs.dimmingOpacity = 0.75;
// Add the controlbar
if (hs.addSlideshow) hs.addSlideshow({
//slideshowGroup: 'group1',
interval: 5000,
repeat: false,
useControls: true,
fixedControls: false,
overlayOptions: {
opacity: 1,
position: 'top right',
hideOnMouseOut: false
}
});
</script>
I have a few images in a post I've displayed. Here's the code I'm using:
Code: Select all
<div class="highslide-gallery">
<a href="/images/screenshots/welcome.jpg" class="highslide" onclick="return hs.expand(this)">
<img src="/images/screenshots/welcome.jpg" width="125" height="160" /></a>
<div class="highslide-heading">Heading for the 1st image.</div>
<a href="/images/screenshots/welcome.jpg" class="highslide" onclick="return hs.expand(this)">
<img src="/images/screenshots/welcome.jpg" width="125" height="160" /></a>
<div class="highslide-heading">Heading for the 2nd image.</div>
<a href="/images/screenshots/aboutme.jpg" class="highslide" onclick="return hs.expand(this)">
<img src="/images/screenshots/aboutme.jpg" width="125" height="160" /></a>
<div class="highslide-heading">Heading for the 3rd image.</div>
<a href="/images/screenshots/welcome.jpg" class="highslide" onclick="return hs.expand(this)">
<img src="/images/screenshots/welcome.jpg" width="125" height="160" /></a>
<div class="highslide-heading">Heading for the 4th image.</div>
</div>
In Firefox latest version and IE7 latest version I get the heading on the first image but no controls. Subsequent images get no heading and no controls.
I do not have any browser-specific CSS in place that could be overwriting the HS CSS. I have not altered the source JS in any way. I have not altered the source CSS in any way either. It's all stock.
The only thing different here is that this is a WordPress installation so I'm wondering of there aren't relative references to things here that don't actually work when the source files are not relative to the root of the document, but to the theme.
Any insights into this would be greatly appreciated. I paid for a business license for this script probably two years ago and there's nothing else out there that does it all. I use it for all kinds of content pop-ups too. Absolutely love it. This new heading option is perfect for what I like to do too. I hope there's a logical answer to this I'm just missing.