Force Object Name / ID
May 22, 2009 12:00 AM
Would like the option NOT to use Lectora's globally unique ID on EXPORT for selected elements.
For example:
I embed an activity swf (different swf or the same swf in some cases) on various pages. Right now I'm constructing a function to search through all elements by div tagname. Then grabbing the names that start with anim, then appending swf to those names and targeting the SWF to run updates when I NEED to grab a value and jam it into the swf. Since ExternalInterface fails in IE6/7 with Lectora's export code - I have little alternative.
IF I could force the name on export (a checkbox in the general tab would do the trick) to a specific value (not the Lectora object ID) I could easily target the element or elements I wanted to target with predictability.Would like the option NOT to use Lectora's globally unique ID on EXPORT for selected elements.
For example:
I embed an activity swf (different swf or the same swf in some cases) on various pages. Right now I'm constructing a function to search through all elements by div tagname. Then grabbing the names that start with anim, then appending swf to those names and targeting the SWF to run updates when I NEED to grab a value and jam it into the swf. Since ExternalInterface fails in IE6/7 with Lectora's export code - I have little alternative.
IF I could force the name on export (a checkbox in the general tab would do the trick) to a specific value (not the Lectora object ID) I could easily target the element or elements I wanted to target with predictability.
Discussions have been disabled for this post