[BNM] Intranets and location.href

Ali ali at nubz.com
Mon Apr 23 16:23:38 BST 2007


Hi

I have outsourced some SCORM coding and the resultant packages launch in a remote environment but will not launch in the corporate intranet they are intended for.

I suspect it has something to do with this Javascript:

var HOSTURL = "./"; 
var hrefURL = window.location.href;
HOSTURL = hrefURL.replace("index.htm","");

this variable is only used when specifying the path to php files - I was wondering if the window.location.href might be something not available on this super secure intranet - can anyone confirm this possible restriction?

Cheers,

Ali


More information about the BNMlist mailing list. Powered by Wessex Networks