PDA

View Full Version : error using Interstitial Content Box (v1.1)



chefree
03-28-2007, 08:31 AM
1) Script Title: Interstitial Content Box (v1.1)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/interstitial.htm

3) Describe problem:
Hi,

I wanted to use interstitial.js but I got a javascript error.My application is deployed on Tomcat server.I can use the script on my local server but when I upload to my host, it takes an error like : " It is not allowed Line:57 Column:1 "

Is it related to my prod. server settings?Can anyone help me?Regards;

jscheuer1
03-28-2007, 12:07 PM
Since line numbers vary depending upon how your code is deployed and upon which browser is reporting them and since the exact error message is often crucial in determining its cause, there is little I can say from what you have provided.

If I had to guess, I would say make sure that the external page is from the same domain and if it is, make sure the server realizes this. Even pages on the same domain may be seen as being on different domains if sub-domains are used or the DNS isn't configured properly.

Or, perhaps just a typo in the code.

These may have nothing to do with it however. For more help, please provide a link to your problem page.

chefree
03-28-2007, 12:52 PM
Yess John;you r right.It's all about the domain name,thanks.