open new window on click

open new window on click

Advert

Open a new window on click

In this tutorial we'll make a link tag which opens the link in new window.
  New_Window

The Following effects will only work with the following browsers only.

Sometimes you may want to display user some information but doesn’t want them to navigate away from the current page especially when you want to display the terms before the user agrees to it. Here is the java script that you can use which does not need any external files to work.

link name

You can also change the availability of the tools in the new window.
     toolbar=yes/no according to your choice the toolbar will be avalible.
     scrollbars=yes/no according to your choice the scroll bar will be avalible.
Demo
1.No tool bar
2.No tool bar and scroll bar
3.with tool bar and scroll bar

Note : All the above fuction like scrollbar and other are not supported by all the browser.

To close keep a button to close the new oped window put this script

Close X  

Comments

Wow ! you have someting to tell us. That's great! Please keep in mind that comments are moderated, we employ rel="nofollow" for links, avoid using a spammy word or a domain in name field, it might end up as a Spam. Thanks for reading.

Last 5 Articles

All Articles >

  1. Loop Counter in Djnago View

     
  2. Meeting Customers Where They Are (Digitally)

     
  3. Recover dropped table in Django : Table doesn't exist

     
  4. Nomenclature of Domain Names

     
  5. 4 Reasons to Enhance Shopping Cart

     

News Letter

Subscribe to our email newsletter for useful tips and valuable resources, sent out every new article release.