It's a faith in technology.

Close the browser with a button in your Blog

Share on :
If you're looking for a JavaScript code that will enable you to close a window with a button, this JavaScript code may be your answer.

This JavaScript code provides a great way for your visitors to close a window simply by clicking on a button. This is a great way to enable your visitors to close a tips window, instructions window or whatever you'd like.

1. Login to Blogger then Chose "Layout"
2. Click on "Add page element" (chose where you want to put it) then chose "HTML/Javascript"
3. Copy the code given below and put it in the "Configure HTML/JavaScrip" box.
4. Save Your Work and Refresh Your Blog For New Changes.
<script language="JavaScript">
function closeIt() {
close();
}
</script>
<center>
<form>
<input value=" Close Window" onclick="closeIt()" type="button"/>
</form>
</center>

0 comments on Close the browser with a button in your Blog :

Post a Comment and Don't Spam!

Thanks For Your Comment. You can also reach me at my mai Id :- blogtips.frd@gmail.com

 

Receive all updates via Facebook. Just Click the Like Button Below

You can also receive Free Email Updates: