Jump to content

PopUp HTML Code problems in I.E.8


groogruxking40

Recommended Posts

OK-

this code is working just fine on Firefox. this is what's suppose to happen:

 

you go to the website, a pop-up comes up, you click the pop-up and another window opens up to register for site..

 

see it here  www . christiancouriernewspaper . com / popuptest.html  (try in both firefox and internet explorer)

 

here is my code...

 

<html>
<head>
<title>The Christian Courier - a ministry preserved in Christ</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Refresh" content="10;URL=http://www.ChristianCourierNewspaper.com/blogbase">
<style type="text/css">
.sub {  font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #666666}
.bod {  font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #000000}
.subwh {  font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; color: #FFFFFF}
.bodwh {  font-family: "MS Sans Serif", Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; font-weight: bold}
</style>
<style>
.dhmcss  {width:100%;background:#FFFFFF ;COLOR: #808080; FONT-FAMILY: verdana,arial,helvetica; FONT-SIZE: 10pt; FONT-WEIGHT: bold; padding-left:5;padding-right:5;padding-top:4;padding-bottom:4; TEXT-DECORATION: none; }
.dhmcssover  {width:100%;background:#EC941C ;COLOR: #FFFFFF; FONT-FAMILY: verdana,arial,helvetica; FONT-SIZE: 10pt; FONT-WEIGHT: bold;  padding-left:5;padding-right:5;padding-top:4;padding-bottom:4; TEXT-DECORATION: none; }
.dhmcssdown  {width:100%;background:#ACDCA5 ;COLOR: #000000; FONT-FAMILY: verdana,arial,helvetica; FONT-SIZE: 10pt; FONT-WEIGHT: bold;  padding-left:5;padding-right:5;padding-top:4;padding-bottom:4; TEXT-DECORATION: none; }
</STYLE>

<SCRIPT language=JavaScript>
<!--
var expDays = 100; // number of days the cookie should last

function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}

function SetCookie (name, value,expires) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}

function DeleteCookie (name) {
var exp = new Date();
exp.setTime (exp.getTime() - 1);
var cval = GetCookie (name);
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));

function getCookieVal(offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}

function checkCount() {
var count = GetCookie('poponce');
if (count == null) {
count++;
SetCookie('poponce', count, exp);

// Action to take
dothis()
}
}

function dothis(){
var windowprops = "left=50,top=150,width=550,height=450,location=no,toolbar=no,menubar=no,scrollbars=no"; window.open("http://www.christiancouriernewspaper.com/register.html", "Christian Courier e-Paper Registration", windowprops); // Use to load a page
}
// -->
</SCRIPT>


</head>


<BODY>
<BODY OnLoad="checkCount()"> 

<body bgcolor="#ECEDEC" text="#000000" link="#666666" vlink="#666666" alink="#CCCCCC" leftmargin="1" topmargin="1" marginwidth="1" marginheight="1">



<!--function slide(dir){
if (dir == "1" && loc.style.pixelLeft < (screen.width-300)/2){
	loc.style.pixelLeft+=5; 
	move=setTimeout("slide(dir)",50);
        }
if (dir == "0" && loc.style.pixelTop < (screen.height-300)/2){
	loc.style.pixelTop+=5; 
	move=setTimeout("slide(dir)",50);
        }
}
if (navigator.appName=="Microsoft Internet Explorer") slide(dir);-->

<div align="center">
  <table width="770" border="0" cellspacing="0" cellpadding="0" height="471">
    <tr valign="top"> 
      <td width="1024" height="471" align="right">
                <table border="1" width="100%" id="table2">
				<tr>
					<td align="center" bgcolor="#FFFFFF">
<!--						<p class="sub" align="center"><font color="#000000">____________________</p></font><div id="BigAdsdv" style="position:relative;width:700px;height:350px;overflow:hidden;padding:0px;margin:0px;border-style:solid;border-width:0px;border-color:#FFFFFF;z-index:1;FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=3,enabled=false);"></img> -->
					<p>
	<img border="0" src="Logo_15_Wrapped_2009.png" width="291" height="135" align="left"></p>
<p> </p>
<p>
			<img border="0" src="MPj04026520000[1].jpg" width="304" height="248" align="right"></p>
<p><u><font size="4" color="#0000FF"><b>America's Longest Running Christian 
Newspaper</b></font></u></p>
<p><b><u><font size="4" color="#0000FF">
					<br>
					</font></u></b><font size="4" color="#0000FF">
					------------------------- Info: 414.344.7300 
					---------------</font><font size="2"><br>
<br>
<br>
<b><a href="http://www.MensRetreat.com">
<img border="0" src="MidwestMensRetreat2009.png" width="412" height="151"></a><br>
Midwest Men's Retreat - Conference             
Fri-Sun    Sept 18-20</b><br>
Geneva Ridge Resort in Lake Geneva Wisconsin<br>
 </font></p></td>
				</tr>
			</table>
			<p>
			<script src="BigAdsfade.js" type="text/javascript"></script></td>
    </tr>
    </table>
  <table width="826" border="0" cellspacing="0" cellpadding="0" id="table1">
    <tr> 
      <th width="826" height="50" nowrap colspan="3">
			<i><font face="Tahoma" size="2">
			<a href="Current_Issue/LightMinistriesNorth.pdf" style="text-decoration: none; font-weight: 400">
			<font color="#800000">....Download a Gift from the Heart...[click here]</font></a><span style="font-weight: 400"><font color="#800000">
			<br>
			by Light Ministries North</font></span></font></i></th>
    </tr>
    <tr> 
      <td width="194" height="50" align="center">
	<p align="left">
	<b><font size="2"><a href="Contacts.htm">Contact Us</a></font></b></td>
      <td width="528" height="50" align="center">
	<p align="center"><b>
	<font face="MS Sans Serif" size="1" color="#666666"> </font><span class="bod"><font face="MS Sans Serif"><font color="#666666"> ©2009 
		The Christian Courier Newspaper  //  Design & Content 
	by </font> <a style="text-decoration: none" href="http://www.Sagacity-LLC.com">
	Sagacity LLC</a></font></span></b></td>
      <td width="104" height="50" align="center"> 
        <span class="bod"><b><a target="_top" href="PrivacyPolicy.htm">
	<font color="#000000">Privacy<br>
	Policy</font></a></b></span></td>
    </tr>
  </table>
  <br>
</div>
</body>
</html>

 

any/all help will be much appreciated

thank you

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.