I was able to get something similar working. This one looks like it will be a little cleaner though.
Scott
Announcement
Collapse
No announcement yet.
delay and element from displaying
Collapse
X
-
Code:$(document).ready(function() { $('#mybutton').hide().delay(3000).fadeIn(2200); });
Leave a comment:
-
It's the Iron and Wool RT. I'm already using some JQuery/JS to control the state of the button with product variants. But, the default is Add. We don't want to change that if we don't need to. Delaying the button render may be the optimal solution for this scenario. A show/hide could work I guess. Would be good enough to wait for a Document Ready and Show on a timer? Not sure how I would do that.
Scott
Leave a comment:
-
Hi Scott,
Depending on what you are delaying for, you may be able to use JavaScript to either listen for something or set a timeout before revealing the button. If it is not a matter of show/hide, then maybe using JavaScript to add the button after your delay could work as well.
Leave a comment:
-
delay and element from displaying
I might need to delay the Add 2 Basket button from showing up on the page. Is there a way to do this?
Scott
Tags: None
Leave a comment: