Publishing to HTML and the index page

We were able to use the following Header Scripting to collect a UserId from our server iwth an External HTML object editor.


qs = window.location.search.substring(1);
if (qs != '')
{
mid = qs.split("=");
VarMemberId.set(mid[1]);
}


However, the script is sitting on the first page,which is named Page_1.html when published. We would like to have the scripting on the index.html page. That way when we link to the index.html page, the script fires at the beginning of the course.


laipu said:I have an Assessment that is made up of a Introduction page, a Test Chapter (with a test section), and a Results Chapter. My first page is named Introduction. How can I get a script into the index.html page when I publish to HTML? Is there a way to control what goes into the index.html page without having to open it up on the back-end?

Discussions have been disabled for this post