sjbowen / layers

layers interactive
0 stars 0 forks source link

JS slideshow #9

Closed sjbowen closed 5 years ago

sjbowen commented 5 years ago

Can see off-stage slides when roll over a JS slideshow embedded hotspot

sjbowen commented 5 years ago

This is an issue with the code used for the slideshow, not the layers code.

Slideshow code is based on Snook's Simplest JavaScript Slideshow.

sjbowen commented 5 years ago

Scratch that... it is issue with layers code. I needed to avoid embedding iframe-d content as it prevented drag or tap panning etc. of the panorama. So, I had integrated the Snook JS into index.js and layersstyle.css.

sjbowen commented 5 years ago

Fixed. Problem in CSS. Slide images had .fadein class, but hidden images were not inheriting absolute positioning from .fadein .img. So, added to subclass .is-hidden.