iFrame crashes browser window when launched from LMS
November 11, 2010 12:00 AM
All,
I'm hoping maybe someone has seen this happen. This works perfectly when launched directly, however, when the course is launched from the LMS, the entire window crashes.
I have an iFrame that has a couple components:
1.) javascript at the "launch page" root -- this refreshes the iFrame, ensuring the content is current:
function reloadIframe() {
frm=document.getElementsByName("iframe")[0];
frm.src=frm.src;
}
2.) a button in the "launch page" that
executes the javascript in 1,
and then kicks off a Run Action Group which contains code that calls the iframe via custom HTML: [IFRAME SRC="a001_task_lists_topic_one.html" NAME="iframe" WIDTH=400 HEIGHT=350 frameborder=0] [/iframe]
If anyone has had the same experience and has solved it, i'd appreciate your feedback.
Thanks!
Lisa
Discussions have been disabled for this post