Setting Dynamic Variables With Javacript

Too bad you had to do this much work. You've reinvented the wheel here a little, but kudos anyway.For your step four, it works better if you choose META TAGS as the Object Type. You don't neet to type the tags. Understand that these external scripts are initialized before any Lectora variables are declared, so that if you run a function in your linked .js files before the native variables are available you'll run into a problem.The META TAGS type is loaded right after the Head Tag in the HTML page.If you wanted to get really cool, you could change the source of the external .js files to another URL like src="http://www.mySite.com/sourceForCourseware/ThisCourse/my Links.js"That way you could even share the external js files among a few modules, rather than having multiple copies of the same myLinks.js files. If you updated the links this way, ANY course that used this file would be automatically updated.SB

Discussions have been disabled for this post