Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Let's say I have <div id="offer">
That div I've managed to display with clicking on a link <a class="colorbox-node" href="offer?width=500&height=500">Click</a>
and it's displayed with colorbox and colorbox node modules. It's working perfectly.
Now I want that div "offer" to be hidden and after entering the website in a 5 seconds to popup with colorbox. Please anyone to show some example here or on jsFiddle. Thank you.
Comments
Comment #0.0
satvision83 CreditAttribution: satvision83 commentedcorrection
Comment #1
satvision83 CreditAttribution: satvision83 commentedSo, the thing is I don't know hot to call colorbox onload properly with jQuery. Any help?
Comment #1.0
satvision83 CreditAttribution: satvision83 commented...
Comment #2
Neslee Canil Pinto