Page 1 of 1
Hover over object ... image shows in Lightbox ?
Posted: Mon Dec 09, 2019 8:45 pm
by dannac
Hover over object ... image shows in Lightbox.
Can this be done ?
Re: Hover over object ... image shows in Lightbox ?
Posted: Mon Dec 09, 2019 9:16 pm
by Pablo
It is possible via events. However I am not sure if this is a good idea, because the user may not expect a lightbox that takes over the entire screen when they hover over an item
Re: Hover over object ... image shows in Lightbox ?
Posted: Mon Dec 09, 2019 9:27 pm
by dannac
Pablo wrote: Mon Dec 09, 2019 9:16 pm
It is possible via events. However I am not sure if this is a good idea, because the user may not expect a lightbox that takes over the entire screen when they hover over an item
Any tutorial showing how to set it up ?
Re: Hover over object ... image shows in Lightbox ?
Posted: Mon Dec 09, 2019 9:30 pm
by Pablo
it's just 2 steps
- a layer, set it to 'lightbox'
- use an event to show it.
Re: Hover over object ... image shows in Lightbox ?
Posted: Mon Dec 09, 2019 10:11 pm
by dannac
Pablo wrote: Mon Dec 09, 2019 9:30 pm
it's just 2 steps
- a layer, set it to 'lightbox'
- use an event to show it.
Thanks
I'm noticing that the hover will only work the 1st time the object is passed over.
After closing and trying again get "request cannot be completed".
Is this because the page is not uploaded to server ?
Hover works ... but only once
Posted: Tue Dec 10, 2019 2:09 am
by dannac
The hover mouseover works but only once. Get error on 2nd mouseover.
Download wbs file
https://app.box.com/s/xcs7i1q5918fgy0srmakx5hwpj8b1w7p
Re: Hover works ... but only once
Posted: Tue Dec 10, 2019 2:40 am
by crispy68
Change your version of jQuery to 1.7.2. You are using an older version in your demo.
Re: Hover over object ... image shows in Lightbox ?
Posted: Tue Dec 10, 2019 6:59 am
by Pablo
This is most likely related to how the selected lightbox works. Maybe another light-box will work?
Or it may just not be possible with hover.
Re: Hover works ... but only once
Posted: Tue Dec 10, 2019 2:54 pm
by dannac
crispy68 wrote: Tue Dec 10, 2019 2:40 am
Change your version of jQuery to 1.7.2. You are using an older version in your demo.
How do I change just jQuery to 1.7.2 ?
Re: Hover over object ... image shows in Lightbox ?
Posted: Tue Dec 10, 2019 2:56 pm
by Pablo
How do I change just jQuery to 1.7.2 ?
In the Page Properties
Re: Hover works ... but only once
Posted: Tue Dec 10, 2019 8:24 pm
by dannac
crispy68 wrote: Tue Dec 10, 2019 2:40 am
Change your version of jQuery to 1.7.2. You are using an older version in your demo.
Thank you ... that fixed it.