H I O X INDIA
FREE Javascript
Google
Web hscripts.com
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Directories 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)   Bookmarks :-)  
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

Java Script Source
List All
Date & Time
Calendar
Stop Watch script
Slide Show
Image Effect
Mouse Effects
Color Picker Tool
Dynamic Color
Random Generator
Select All
Form Validation
Textbox Counter
Dynamic Form select
Bookmark
Window / User Info
Security / Authenticate
Status Bar
Title Bar
Cursor Position
Country List
Calculators
Delete Repeated Values
Alphanumeric
Free Games





DISABLE PARENT WINDOW SCRIPT


About
This javascript function will help you to disable the focus of parent window when child popup window arises in a webpage.


Features
a)You can get the popup window functionalities and the script to disable parent window using this javascript .
b)Parent window works only when child window is closed.
c)Simple and ease of use.
d)Just copy the code in to your page and use it.


Preview
click the button to see the preview. Works only in Internet Explorer(IE)



Code
JAVASCRIPT CODE.
 Javascript code
<!-- Script by hscripts.com -->
<script language=javascript>
function topWindow() {
var popup = window.open('simplett.html','Testing','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollb ars=no,resizable=no,width=400,height=200,left=350,top=200');
popup.focus();
}
</script> <!-- Script by hscripts.com -->
Release Date - 24-12-2007

Get free version without ©copyright link for just 5



Usage
How to use parent window disable?
a)Html content
    <input type="button" id="hide" onclick="topWindow()" value="click">

b)Copy the above javascript code into your parent page(i.e on the main window).

c)Now just include <body onblur="self.focus()"> in child window.

d)Things will work.

Note:Use the JavaScript code with in the head tag.





License
- This javascript (misspelled as java script)/HTML code is given under GPL License
- i.e. Free use for those who use it as it is.
- Free, if your modification does not remove our copyright information and links.
- Detailed License information can be found here
- You can purchase the script if your requirements does not meet GPL License terms.


privacy policy     license     sitemap
© 2004-2005 HIOX INDIA - hioxindia.com

Others