shankar.parshimoni
shankar.parshimoni

Reputation: 1299

popup window on page load html5 responsive design

How to popup window on page load.I searched so many web sites,All are doing like Link click.But i wanted to show on page loading in html.is there any load method for showing pop up in j query.I referred this Link .how to show on page loading.

Upvotes: 0

Views: 7202

Answers (1)

shankar.parshimoni
shankar.parshimoni

Reputation: 1299

<script type="text/javascript">
$(document).ready(function() {
$('#modal').reveal({ 
            animation: 'fade',
            animationspeed: 600,
            closeonbackgroundclick: true,
            dismissmodalclass: 'close'
        });
return false;
});

After long time thinking,I got answer from this Link.Here i am posting the code regarding popup model in page loading.I hope this answer will help someone,Who ever wanted to do such kind of task.I have just removed a tag in the page and written jquery code in document.ready() function.Now popup will load in page loading only.

Upvotes: 3

Related Questions