Alex
13-06-2010, 06:16 PM
Hey guys and girls....
I need some Javascript assistance as I'm now stuck!
I need to be able to make the login window open in a NEW window!
Here is the current coding :
<form action="http://alexentertainmentplanning.co.uk/clientlogon.asp" method="post">
<table align="center">
<tbody>
<tr>
<td>
Username</td>
<td>
<input name="username" type="text" /></td>
</tr>
<tr>
<td>
Password</td>
<td>
<input name="password" type="password" /></td>
</tr>
<tr>
<td>
</td>
<td>
<input name="submit" type="submit" value="Log On" /></td>
</tr>
</tbody>
</table>
<br />
<br />
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>document.write("<p align=center><a href='javascript:SendPasswordWindow()'>Forgot Your Password?</a></p>")</SCRIPT><NOSCRIPT><a href="http://alexentertainmentplanning.co.uk/sendpassword.asp?typeoflogon=client">Forgot Your Password?</a></NOSCRIPT></form>
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
<!--
function SendPasswordWindow() {
spWindow = window.open('http://alexentertainmentplanning.co.uk/sendpassword.asp?typeoflogon=client','spWindow','w idth=350,height=150,menubar=no,scrollbars=no,resiz able=yes,location=no,directories=no,status=no');
spWindow.focus();
}
// -->
</SCRIPT>
I've tried everything I can think of to make it "pop" open.... but nothing is working! :(
Any clues?????
In the HREF section I have tried adding _Target / _Self / _Blank and nothing changes! So we can count that out! LOL
I need some Javascript assistance as I'm now stuck!
I need to be able to make the login window open in a NEW window!
Here is the current coding :
<form action="http://alexentertainmentplanning.co.uk/clientlogon.asp" method="post">
<table align="center">
<tbody>
<tr>
<td>
Username</td>
<td>
<input name="username" type="text" /></td>
</tr>
<tr>
<td>
Password</td>
<td>
<input name="password" type="password" /></td>
</tr>
<tr>
<td>
</td>
<td>
<input name="submit" type="submit" value="Log On" /></td>
</tr>
</tbody>
</table>
<br />
<br />
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>document.write("<p align=center><a href='javascript:SendPasswordWindow()'>Forgot Your Password?</a></p>")</SCRIPT><NOSCRIPT><a href="http://alexentertainmentplanning.co.uk/sendpassword.asp?typeoflogon=client">Forgot Your Password?</a></NOSCRIPT></form>
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
<!--
function SendPasswordWindow() {
spWindow = window.open('http://alexentertainmentplanning.co.uk/sendpassword.asp?typeoflogon=client','spWindow','w idth=350,height=150,menubar=no,scrollbars=no,resiz able=yes,location=no,directories=no,status=no');
spWindow.focus();
}
// -->
</SCRIPT>
I've tried everything I can think of to make it "pop" open.... but nothing is working! :(
Any clues?????
In the HREF section I have tried adding _Target / _Self / _Blank and nothing changes! So we can count that out! LOL