||Returns the window objects that is to be used for dealing with the js objects generated by Lectora and all window related attributes.|
||Returns the document object that is to be used for dealing with the visual HTML objects, it contains all of the currently HTML elements for the page.|
||Returns an HTML element that represents the page div.|
||Returns a string with the name of the current page div.|
||This function can be used for attaching objects to the current page div; the customer would only need to pass in the last attribute as either a HTML element or a string.|
Let’s look at some examples for clarity.
Let’s say we have an HTML Extension of Type Custom Div
that looks like this
).innerHTML = Date();
This works in non Seamless Play Publish; however, it will not work in Seamless Play Publish.
getElementById('demo'). innerHTML = Date();
Here is an appendElement example. This simply adds a list item to the pageDiv: