PDA

View Full Version : Extended window (POP UP)


mac
12-Sep-2003, 03:14 PM
When i upload my store ,
my pop ups (extended information) give an error when i click on "for more info".
when i click on the link, I get a Javascript error on the page.
Is there a variable that i need to add to my Act_primay?
Or is it something else I have to do?

NormanRouxel
12-Sep-2003, 03:32 PM
As always, a URL would help, so we can see for ourselves.

Norman

mac
12-Sep-2003, 04:19 PM
Norman,
my site is not up yet. I am just trying it right now in the preview.
Can you look into why I get that java error when I click on the
"for more info, click here" pop up link?
At the bottom of the internet explorer page I get java erorr:
javascript:showPopUp("P_info_461.html',400,350)

when i click to view the error, it says:
Line: 1
Char: 1
Error: Object expected
Code: 0
URL: file://D:\Program Files\Actinic Ecommerce v6\Sites\site1

Thanks in advance for all your help.

murf
12-Sep-2003, 08:55 PM
mac...........have you selcted one of the tick boxes on the right hand side ?

regards

mike

mac
12-Sep-2003, 10:19 PM
yes mike, that is not the problem
I have created a shell (template). everythibg seems to be ok except, the pop ups now show there is a java script error.
In the actinic layouts, i had no problems with pop ups.

NormanRouxel
13-Sep-2003, 06:57 AM
javascript:showPopUp("P_info_461.html',400,350)

This should be:-

javascript:ShowPopUp("P_info_461.html",400,350)

capital S and final quote a double one.


Assuming that's just a typo on your part. There are 3 other things needed to make popups work


In your Act_Primary.html you need the line (it's usually near the top):-

<SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>

Check that the file actiniccore.js (in your Site1 folder) exists.

Make sure it contains the ShowPopUp routine (it's the very last few lines in that file).

Norman

mac
15-Sep-2003, 03:24 PM
Thanks Again Norm.
You are an ANGEL. It worked.