Skip to content

Instantly share code, notes, and snippets.

@jumanji27
Created February 15, 2013 07:41
Show Gist options
  • Save jumanji27/4959007 to your computer and use it in GitHub Desktop.
Save jumanji27/4959007 to your computer and use it in GitHub Desktop.
// Где-то в html есть <a href="#" class="js__p_hidden_start" style="display:none;">Нажмите</a>
$(function() {
$(".js__p_hidden_start").simplePopup();
var hiddenPopup = function() {
$(".js__p_hidden_start").on("click");
// Или $(".js__p_hidden_start").click();
};
setTimeout(hiddenPopup, 1000);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment