Irame with dynamic src using variables

I am struggling with a way that I can have an embedded iframe on the page AND to have the source of the iframe be a dynamic value based on a few vars from the course. I can build the iframe, but am at a loss to how to work the vars into the src url. for example I want the url to be http://www.url.com?CourseID=123&StudentID=456I already have the vars created and working in the lectora file (they would be dynamically pulled for whatever value is assigned) but for the life of me can't get them to be read into the iframe and have the src point to the correct URL that should include both vars. I can do this outside of Lectora completely and it's successful doing it with code such as:

Code:

Again, the values are to be read dynamically from the lectora file and not assigned directly as above in the code..I'm trying to do it with Javascript as this is about all I have access to use on the server. Has anyone come across this?Edited By: 8ball on 2009-2-17 17:4:27

Discussions have been disabled for this post