JavaScript Scripts





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
Free Java Script Codes
Javascript List All
Slide Show Slide Show
Ad Display Ad Display
Image Effect Image Effect
Animated Image Effects Animated Image Effects
Form Validation Form Validation
Color Picker Tool Color Picker Tool
Formatting Forms Formatting Forms
Select All Select All
Dynamic Form Select Dynamic Form select
Dynamic Color Dynamic Color
Calendar Script Calendar
Textbox Counter Textbox Counter
Alphanumeric Alphanumeric
Date Time Script Date & Time
Stop Watch Script Stop Watch script
Delete Repeated Values Delete Repeated Values
Pagination Pagination
Random Generator Random Generator
Animated Text Animated Text
Cursor Position Cursor Position
User Info Window / User Info
Security Security / Authenticate
Bookmark Bookmark
Mouse Effects Mouse Effects
Title Bar Title Bar
Status Bar Status Bar
Country List Country List
Free Games Free Games
Calculators Calculators
 




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 type="text/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 price

For customization of this script or any script development, contact us at support@hscripts.com


Usage
a) Copy the following Java script code into your parent page.
    <input type="button" id="hide" onclick="topWindow()" value="click">
b) Just include <body onblur="self.focus()"> in child window.
c) Now the Java script function will work fine.

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



License
- The javascript (misspelled as java script) is given under GPL License
- i.e. Free use for those who use the codes as it is.
- Free, if your modification does not remove our copyright information and links.
- Click Here for detailed license information.
- You can purchase the script if your requirements does not meet our GPL License terms.
Other Links

web hosting