Overlays
Posted: Sat Mar 03, 2018 3:04 pm
I have a number of single images which, when clicked on, display a larger version with a semi-transparent close button overlay as in the bare-bones example. This works fine. However, I'm now trying to add several galleries to the same page using the samples from http://www.roadrash.no/highslide-js-sample-pages, 3 Galleries in page. This works fine for my initial two galleries except that the close button overlay from the expanded single images now appears in the frame surrounding each gallery. The offending bit of code in the <head> section of the page is this:
How can I prevent this overlay being applied to my galleries?
Wrong placement of the topic. Next time, please make sure that you place your topic in correct section.
Moved your topic to Highslide section.
~daniel_s
Code: Select all
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
});
Wrong placement of the topic. Next time, please make sure that you place your topic in correct section.
Moved your topic to Highslide section.
~daniel_s