Monday, January 17, 2011

How To Add Confirmation box to Blogger

1.Login to your blogger dashboard and go to Desing --& Page Elements.

2.Click on 'Add a Gadget' on the sidebar.

3.Select 'HTML/Javascript' and add the one of code given below and click save.

<script>
if (!confirm("Do you want to enter this site?"))
window.location=history.back()
</script>


Note: Change pop up text Do you want to enter this site? as you like.

Now You are done

0 comments:

Post a Comment