Jump to content

multiple jquery nyromodal popups


coderhut

Recommended Posts

<a href="showBadges1.php" class="nyroModal" style="display:none"></a>
<a href="showBadges2.php" class="nyroModal" style="display:none"></a>
<a href="showBadges3.php" class="nyroModal" style="display:none"></a>


<script>
$(document).ready(function() {

//how can I run associate above links to nyromodal one by one. That is next popup appears only if previous get disappeared.
        $('a.nyroModal').each(function(){
                $(this).nyroModal({ minWidth:500,minHeight:580, modal:true});
                $(this).trigger('click');
        });

)}
</script>

you should create a diffrend function for popup and change the class of each picture, becose it all have the same class the script activate all pictures to popup

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.