The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Form that opens a new window does not open in IE 7
tangeryne
post Apr 30 2009, 09:08 AM
Post #1





Group: Members
Posts: 2
Joined: 30-April 09
Member No.: 8,482



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>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 30 2009, 10:01 AM
Post #2


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 15,200
Joined: 9-August 06
Member No.: 6



Do you block pop-ups or JavaScript in IE7?


--------------------
"Never go to excess, but let moderation be your guide."
- Cicero

IPB Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
tangeryne
post Apr 30 2009, 10:08 AM
Post #3





Group: Members
Posts: 2
Joined: 30-April 09
Member No.: 8,482



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th July 2014 - 10:11 AM