<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[KillerSites.com Web Design Forums - PopUp Code Problems in I.E.8]]></title>
	<link rel="self" href="http://www.killersites.com/forums/feed/atom/topic/1998/"/>
	<updated>2009-08-12T14:21:22Z</updated>
	<generator>PunBB</generator>
	<id>http://www.killersites.com/forums/topic/1998/popup-code-problems-in-ie8/</id>
		<entry>
			<title type="html"><![CDATA[PopUp Code Problems in I.E.8]]></title>
			<link rel="alternate" href="http://www.killersites.com/forums/post/9922/#p9922"/>
			<content type="html"><![CDATA[<p>OK-<br /> this code is working just fine on Firefox. this is what&#039;s suppose to happen:</p><p>you go to the website, a pop-up comes up, you click the pop-up and another window opens up to register for site..</p><p>see it here&nbsp; &nbsp;www . christiancouriernewspaper . com / popuptest.html&nbsp; &nbsp;(try in both firefox and internet explorer)</p><p>here is my code... </p><div class="codebox"><pre><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;The Christian Courier - a ministry preserved in Christ&lt;/title&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;meta http-equiv=&quot;Refresh&quot; content=&quot;10;URL=http://www.ChristianCourierNewspaper.com/blogbase&quot;&gt;
&lt;style type=&quot;text/css&quot;&gt;
.sub {  font-family: &quot;MS Sans Serif&quot;, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #666666}
.bod {  font-family: &quot;MS Sans Serif&quot;, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000}
.subwh {  font-family: &quot;MS Sans Serif&quot;, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; color: #FFFFFF}
.bodwh {  font-family: &quot;MS Sans Serif&quot;, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; font-weight: bold}
&lt;/style&gt;
&lt;style&gt;
    .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; }
&lt;/STYLE&gt;

&lt;SCRIPT language=JavaScript&gt;
&lt;!--
var expDays = 100; // number of days the cookie should last

function GetCookie (name) {
var arg = name + &quot;=&quot;;
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i &lt; clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(&quot; &quot;, 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 &gt; 2) ? argv[2] : null;
var path = (argc &gt; 3) ? argv[3] : null;
var domain = (argc &gt; 4) ? argv[4] : null;
var secure = (argc &gt; 5) ? argv[5] : false;
document.cookie = name + &quot;=&quot; + escape (value) +
((expires == null) ? &quot;&quot; : (&quot;; expires=&quot; + expires.toGMTString())) +
((path == null) ? &quot;&quot; : (&quot;; path=&quot; + path)) +
((domain == null) ? &quot;&quot; : (&quot;; domain=&quot; + domain)) +
((secure == true) ? &quot;; secure&quot; : &quot;&quot;);
}

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

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

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

// Action to take
dothis()
}
}

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


&lt;/head&gt;


&lt;BODY&gt;
&lt;BODY OnLoad=&quot;checkCount()&quot;&gt; 

&lt;body bgcolor=&quot;#ECEDEC&quot; text=&quot;#000000&quot; link=&quot;#666666&quot; vlink=&quot;#666666&quot; alink=&quot;#CCCCCC&quot; leftmargin=&quot;1&quot; topmargin=&quot;1&quot; marginwidth=&quot;1&quot; marginheight=&quot;1&quot;&gt;



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

&lt;div align=&quot;center&quot;&gt;
  &lt;table width=&quot;770&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; height=&quot;471&quot;&gt;
    &lt;tr valign=&quot;top&quot;&gt; 
      &lt;td width=&quot;1024&quot; height=&quot;471&quot; align=&quot;right&quot;&gt;
                &lt;table border=&quot;1&quot; width=&quot;100%&quot; id=&quot;table2&quot;&gt;
                    &lt;tr&gt;
                        &lt;td align=&quot;center&quot; bgcolor=&quot;#FFFFFF&quot;&gt;
&lt;!--                        &lt;p class=&quot;sub&quot; align=&quot;center&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;____________________&lt;/p&gt;&lt;/font&gt;&lt;div id=&quot;BigAdsdv&quot; style=&quot;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);&quot;&gt;&lt;/img&gt; --&gt;
                        &lt;p&gt;
        &lt;img border=&quot;0&quot; src=&quot;Logo_15_Wrapped_2009.png&quot; width=&quot;291&quot; height=&quot;135&quot; align=&quot;left&quot;&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
                &lt;img border=&quot;0&quot; src=&quot;MPj04026520000[1].jpg&quot; width=&quot;304&quot; height=&quot;248&quot; align=&quot;right&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;u&gt;&lt;font size=&quot;4&quot; color=&quot;#0000FF&quot;&gt;&lt;b&gt;America&#039;s Longest Running Christian 
Newspaper&lt;/b&gt;&lt;/font&gt;&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;font size=&quot;4&quot; color=&quot;#0000FF&quot;&gt;
                        &lt;br&gt;
                        &lt;/font&gt;&lt;/u&gt;&lt;/b&gt;&lt;font size=&quot;4&quot; color=&quot;#0000FF&quot;&gt;
                        ------------------------- Info: 414.344.7300 
                        ---------------&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;&lt;a href=&quot;http://www.MensRetreat.com&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;MidwestMensRetreat2009.png&quot; width=&quot;412&quot; height=&quot;151&quot;&gt;&lt;/a&gt;&lt;br&gt;
Midwest Men&#039;s Retreat - Conference&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
Fri-Sun&amp;nbsp;&amp;nbsp;&amp;nbsp; Sept 18-20&lt;/b&gt;&lt;br&gt;
Geneva Ridge Resort in Lake Geneva Wisconsin&lt;br&gt;
&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;
                    &lt;/tr&gt;
                &lt;/table&gt;
                &lt;p&gt;
                &lt;script src=&quot;BigAdsfade.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;/table&gt;
  &lt;table width=&quot;826&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; id=&quot;table1&quot;&gt;
    &lt;tr&gt; 
      &lt;th width=&quot;826&quot; height=&quot;50&quot; nowrap colspan=&quot;3&quot;&gt;
                &lt;i&gt;&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;
                &lt;a href=&quot;Current_Issue/LightMinistriesNorth.pdf&quot; style=&quot;text-decoration: none; font-weight: 400&quot;&gt;
                &lt;font color=&quot;#800000&quot;&gt;....Download a Gift from the Heart...[click here]&lt;/font&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: 400&quot;&gt;&lt;font color=&quot;#800000&quot;&gt;
                &lt;br&gt;
                by Light Ministries North&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/i&gt;&lt;/th&gt;
    &lt;/tr&gt;
    &lt;tr&gt; 
      &lt;td width=&quot;194&quot; height=&quot;50&quot; align=&quot;center&quot;&gt;
        &lt;p align=&quot;left&quot;&gt;
        &lt;b&gt;&lt;font size=&quot;2&quot;&gt;&lt;a href=&quot;Contacts.htm&quot;&gt;Contact Us&lt;/a&gt;&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
      &lt;td width=&quot;528&quot; height=&quot;50&quot; align=&quot;center&quot;&gt;
        &lt;p align=&quot;center&quot;&gt;&lt;b&gt;
        &lt;font face=&quot;MS Sans Serif&quot; size=&quot;1&quot; color=&quot;#666666&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;span class=&quot;bod&quot;&gt;&lt;font face=&quot;MS Sans Serif&quot;&gt;&lt;font color=&quot;#666666&quot;&gt;&amp;nbsp;&amp;copy;2009 
            The Christian Courier Newspaper&amp;nbsp;&amp;nbsp;//&amp;nbsp; Design &amp;amp; Content 
        by &lt;/font&gt; &lt;a style=&quot;text-decoration: none&quot; href=&quot;http://www.Sagacity-LLC.com&quot;&gt;
        Sagacity LLC&lt;/a&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;
      &lt;td width=&quot;104&quot; height=&quot;50&quot; align=&quot;center&quot;&gt; 
        &lt;span class=&quot;bod&quot;&gt;&lt;b&gt;&lt;a target=&quot;_top&quot; href=&quot;PrivacyPolicy.htm&quot;&gt;
        &lt;font color=&quot;#000000&quot;&gt;Privacy&lt;br&gt;
        Policy&lt;/font&gt;&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  &lt;br&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</code></pre></div><p>any/all help will be much appreciated<br />thank you</p>]]></content>
			<author>
				<name><![CDATA[groogruxking40]]></name>
				<uri>http://www.killersites.com/forums/user/5552/</uri>
			</author>
			<updated>2009-08-12T14:21:22Z</updated>
			<id>http://www.killersites.com/forums/post/9922/#p9922</id>
		</entry>
</feed>
