Page 1 of 2

CAROUSEL DOES NOT DISAPPEAR

Posted: Tue Oct 21, 2014 6:32 pm
by Rafael Marques

the code worked and now no longer works.
before you update the constructor, the code worked, after the update stopped. Can provide me another code that make the same function?
Image

Image

Image

you appear, "in IMAGE" but I want the carousel disappear.


CAROUSEL DOES NOT DISAPPEAR

Posted: Tue Oct 21, 2014 6:57 pm
by Kal

Rafael,

I am not an Appery employee, but another user. I was having problems with Carousel hiding EVEN before the latest update. It would hide fine, but create other side effects that were unacceptable (like some temporary freezing behaviors).

So, I changed it - I created a 1x1 grid, called it "carouselGrid", set the padding of the single cell to 0,0,0,0 and put the carousel into it. Then, I can do

Appery("carouselGrid").hide();

This works very well. Maybe you can try it.

-Kal.


CAROUSEL DOES NOT DISAPPEAR

Posted: Tue Oct 21, 2014 7:22 pm
by Kateryna Grynko

Hi Rafael,

Kal advised a good solution!

Also please check whether if conditions are true. Are there any errors in console?
If this does not work for you please share the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and tell us its name.


CAROUSEL DOES NOT DISAPPEAR

Posted: Tue Oct 21, 2014 7:23 pm
by Rafael Marques

not work for me Kal


CAROUSEL DOES NOT DISAPPEAR

Posted: Tue Oct 21, 2014 7:45 pm
by Kal

Hmmm... are you sure if the "if condition" is met. You can always put a temporary alert inside the if block to see if it is getting fired.


CAROUSEL DOES NOT DISAPPEAR

Posted: Tue Oct 21, 2014 8:28 pm
by Rafael Marques

How do I do it?


CAROUSEL DOES NOT DISAPPEAR

Posted: Tue Oct 21, 2014 8:31 pm
by Kal

Just temporary replace

Apperyio('mobilecarousel').hide();

with -

alert('mobile carousel should hide');

If you don't get the alert box, then you know the "if" is not met.


CAROUSEL DOES NOT DISAPPEAR

Posted: Tue Oct 21, 2014 9:56 pm
by Rafael Marques

I put the alert but it didn't work.
The carousel has not disappeared, and the alert was not.

can you help me?


CAROUSEL DOES NOT DISAPPEAR

Posted: Tue Oct 21, 2014 9:56 pm
by Rafael Marques

I put the alert but it didn't work.
The carousel has not disappeared, and the alert was not.

can you help me?


CAROUSEL DOES NOT DISAPPEAR

Posted: Tue Oct 21, 2014 10:20 pm
by Kal

Then neither of those 2 conditions is evaluating to "true". You need to figure out why, can't help you with that.