It's a faith in technology.

Showing posts with label Close the browser. Show all posts
Showing posts with label Close the browser. Show all posts

Close the browser with a button in your Blog

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>
 

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

You can also receive Free Email Updates: