Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Web Site Functionality _ Form that opens a new window does not open in IE 7

Posted by: tangeryne Apr 30 2009, 09:08 AM

Hello,

This is the script I am using to collect an email address and open a new window that asks to confirm email address and submit. It works perfect in Firefox, but in IE7 the new window does not open. Does someone see a glaring mistake I have missed? Or even a cleaner way to get what I want.

Thanks for the help.

<style>
#enews table {
border-top: 1px solid #505453;
border-bottom: 1px solid #505453;
margin: 4px 0 4px 0;
width: 768px;
}
#enews table tr td {
padding: 7px 5px 6px 5px;
}
#enews form {
margin: 0;
}
#enews input.navemailbox {
height: 18px;
width: 150px;
font-size: 10px;
}
</style>
<center><div id="enews">
<form name="emailformEnews" method="post" onSubmit="window.open('xxx', 'xxx', 'width=600,height=500,status=yes,resizable=yes,scrollbars=yes')">
<table border=0 cellpadding=0 cellspacing=0 id="enews">
<tr valign=top>
<td>
<img src="picture" alt="blah blah blah" width="447" height="20"></td>
<td align="right">
<input name="Email" method="post" type="text" value="Enter Your Email" maxlength="50" size=12 class="navemailbox" onFocus="if(this.value=='Enter Your Email')this.value='';" onFocusout="if(this.value=='')this.value='Enter Your Email';" onBlur="if(this.value=='')this.value='Enter Your Email';">
</td>
<td align="right">
<input type="Image" name="emailSubmit" src="picture" border="0" alt="Sign Me Up" align="absmiddle">
</td>
</tr>
</table>
</form>
</div></center>

Posted by: pandy Apr 30 2009, 10:01 AM

Do you block pop-ups or JavaScript in IE7?

Posted by: tangeryne Apr 30 2009, 10:08 AM

QUOTE(pandy @ Apr 30 2009, 10:01 AM) *

Do you block pop-ups or JavaScript in IE7?


No, I double and triple checked all of that.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)