It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

blur problem

blur problem

Postby dayaccus on Tue Sep 07, 2010 2:34 pm

Hi,
I have 2 problems I need some help:
1. I have a login form as a new small window in JS and I want to make the parent window blur as long the login form is in front, here is the code:

Code: Select all
<script language="JavaScript">
<!--
function new_window()
{
// Name the Window, so the remote can target it
self.name = "Parent_Window";

var new_window = "scrollbars,resizable,width=300,height=140,left=700,top=250";
OpenWindow = window.open("login.php", "login", new_window);
}
-->
</script>


2. The second problem is this: the result of the form is in the parent window and I want to automaticaly close the form(login.php) after I click the submit button and I am logged in the parent window. If I use onClick(window.close()) it close the page login.php(form) but the form is not processed.

Thanks.
dayaccus
 
Posts: 1
Joined: Tue Sep 07, 2010 2:30 pm

Who is online

Users browsing this forum: No registered users and 6 guests