PDA

View Full Version : Widget with jscript not working


Lloyd32552
05-21-2012, 04:42 PM
I have a Static HTML widget which I've configured with the jscript:

<script language="JavaScript" src="http://www.dummy.com/customers/secure/optin/js/mynumber.js" charset="utf-8"></script> <noscript><a href="http://www.dummy.com">bulk email software</a></noscript>

When I add it to the Layout, a small space is added where it is to go, but there is no box or anything.

What am I doing wrong?

kh99
05-21-2012, 04:50 PM
I don't see anything wrong with that - are you sure it's the correct url? I created my own widget to test it, and when I load the page I get an error in the javascript console: NetworkError: 403 Forbidden - http://www.infacta.com/customers/secure/optin/js/mynumber.js (of course it may be that my test server is forbidden and you aren't).

Lloyd32552
05-21-2012, 05:34 PM
My newbie mistake - I though this needed a unique name and so I changed the template name which obviously can't be done.
It's working now. Thanks for your help.