Page 1 of 1

Popup More Information Page in Custom Product Template

PostPosted: Fri Oct 24, 2003 10:52 am
by Norman
I want to have product details on popup pages, hence a custom product
template. I got the code for the popup window out of a computer magazine
(yes this is shaky but the code does work). The window does popup but it has
an error message in the source code.

The code in my template is the following:

[-- DEFINE MORE_INFO_PAGE--]

<html>

<head>

<title>Swimwear - [-- PRODUCT.MoreInformationFileName --]</title>

</head>

<body background="[-- MORE_INFO.BackgroundImage--]" text="[--
MORE_INFO.TextColor --]" onBlur="self.focus()" onLoad="self.focus()">

<CENTER>

<TABLE BORDER=0 width=300>



The code source that appears in the popup window is this.



<title>Swimwear - IslesOfYouth2.html</title>

</head>

<script language="JavaScript">

<!--

function SymError()

{

return true;

}

window.onerror = SymError;

//-->

</script>

<body background="none" text="000000" onBlur="self.focus()"
onLoad="self.focus()">

<CENTER>

<TABLE BORDER=0 width=300>

Does anyone know what is causing this error? Also, is this
onBlur="self.focus()" onLoad="self.focus()"> necessary as I notice that some
don't use it. I did try the window without it and it also came up.

Thanks,

Norman

1 Ocean Boulevard

http://www.web8.com/ocean

Re: Popup More Information Page in Custom Product Template

PostPosted: Tue Oct 28, 2003 5:47 pm
by Norman
If this comes up for anyone I have found the answer to my problem. Norton
firewall apparently adds the code on the fly. According to another
newsgroup, it has something to do with ad blocking. To test the theory, I
brought up the page on a different computer that does not have the firewall
and the offending code was not present. It looks like something else to
keep our eyes on.

Norman
1 Ocean Boulevard
http://www.web8.com/ocean


"Norman" <Shop@web8.com> wrote in message
news:bnbot8$n7d$1@support.shopsite.com...
I want to have product details on popup pages, hence a custom product
template. I got the code for the popup window out of a computer magazine
(yes this is shaky but the code does work). The window does popup but it
has
an error message in the source code.

The code in my template is the following:

[-- DEFINE MORE_INFO_PAGE--]

html

head

title>Swimwear - [-- PRODUCT.MoreInformationFileName --]</title

/head

body background="[-- MORE_INFO.BackgroundImage--]" text="[--
MORE_INFO.TextColor --]" onBlur="self.focus()" onLoad="self.focus()"

CENTER

TABLE BORDER=0 width=300



The code source that appears in the popup window is this.



title>Swimwear - IslesOfYouth2.html</title

/head

script language="JavaScript"

!--

function SymError()

{

return true;

}

window.onerror = SymError;

//--

/script

body background="none" text="000000" onBlur="self.focus()"
onLoad="self.focus()"

CENTER

TABLE BORDER=0 width=300

Does anyone know what is causing this error? Also, is this
onBlur="self.focus()" onLoad="self.focus()"> necessary as I notice that
some
don't use it. I did try the window without it and it also came up.

Thanks,

Norman

1 Ocean Boulevard

http://www.web8.com/ocean