Can't view html course locally in ie8

janssonmikael
janssonmikael Community Member Posts: 9
I'm trying to run a course we've created in Lectora (which has been exported to html), but when I open up the index.html-file I first get the Loading-part and then a message that the website could not be displayed.

I tried running the developer tools in Internet Explorer and used the script console. What I found was that the javascript stops on line 167 in the trivantis.js-script, with the message "Access denied".



The code on line 167 looks like this:

if( parWind.frames[index].name == destFrame ) {[/CODE]

I'm thinking this has something to do with The Same Origin-Policy in JavaScript, but I can't understand why... Also, this is the code from Lectora, so I haven't done anything weird to it. And all scripts and html files are in the same folder.
When running this on our server it works just fine, but when running it locally or on our clients server we get this problem.

Any ideas would be helpfull.

Edit: It's actually ie9, not ie8.[CODE]if( parWind.frames[index].name == destFrame ) {[/CODE]



I'm thinking this has something to do with The Same Origin-Policy in JavaScript, but I can't understand why... Also, this is the code from Lectora, so I haven't done anything weird to it. And all scripts and html files are in the same folder.

When running this on our server it works just fine, but when running it locally or on our clients server we get this problem.



Any ideas would be helpfull.



Edit: It's actually ie9, not ie8.