[WWB12] Hiding / Showing layer by bookmark event doesn't work

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
christiaan
 
 
Posts: 11
Joined: Mon Sep 05, 2016 6:56 pm

[WWB12] Hiding / Showing layer by bookmark event doesn't work

Post by christiaan » Sun Apr 22, 2018 4:04 pm

Hi,

on hiding / showing a TEXT by bookmark event "onscrollhide" everythig works find, BUT on trying to hide / show a LAYER by the same event nothing happen.

Any suggestions ?

User avatar
Pablo
 
Posts: 13069
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: [WWB12] Hiding / Showing layer by bookmark event doesn't work

Post by Pablo » Sun Apr 22, 2018 4:59 pm

Maybe there is a conflict in your settings?
For example, if you hide the object with an effect (opacity) then making it visible then the opacity may still be zero.

christiaan
 
 
Posts: 11
Joined: Mon Sep 05, 2016 6:56 pm

Re: [WWB12] Hiding / Showing layer by bookmark event doesn't work

Post by christiaan » Sun Apr 22, 2018 5:15 pm

Hi Pablo,

thanks for your prompt response.

Neither the text object nor the layer object has special settings.

I've created a small prototyp to show the effect - how can I attach it on the forum post ?

User avatar
Pablo
 
Posts: 13069
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: [WWB12] Hiding / Showing layer by bookmark event doesn't work

Post by Pablo » Sun Apr 22, 2018 5:34 pm

how can I attach it on the forum post ?
- upload the project to your website or another public server.
- share the link

Please remove all non-relevant content from the project, so it's directly clear what you have done.

christiaan
 
 
Posts: 11
Joined: Mon Sep 05, 2016 6:56 pm

Re: [WWB12] Hiding / Showing layer by bookmark event doesn't work

Post by christiaan » Sun Apr 22, 2018 5:52 pm

Here is the prototyp that shows just the effect: http://www.filedropper.com/show-hidelayer

User avatar
Pablo
 
Posts: 13069
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: [WWB12] Hiding / Showing layer by bookmark event doesn't work

Post by Pablo » Sun Apr 22, 2018 6:08 pm

The target of all events is set to the text object, not the layer.

christiaan
 
 
Posts: 11
Joined: Mon Sep 05, 2016 6:56 pm

Re: [WWB12] Hiding / Showing layer by bookmark event doesn't work

Post by christiaan » Sun Apr 22, 2018 6:31 pm

Upps, you're right - thanks. Setting the bookmark event targets to the layer solves the issue to this prototype.

But the actual issue is to show & hide a Panel Layer by bookmark events: http://www.filedropper.com/show-hidepanel-layer

User avatar
Pablo
 
Posts: 13069
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: [WWB12] Hiding / Showing layer by bookmark event doesn't work

Post by Pablo » Sun Apr 22, 2018 8:28 pm

This project seems to work correct.
However, normally you would use 'onscrollreveal' rather than on 'onscrollhide'.
I think onscrollhide is only triggered when the object has been visible first.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests