Currently ids are used in the javascript code to reference particular dom elements. This should be changed to use a configurable parent div id with child divs with identifying class names. This would allow more than one MediaAlignedText to be displayed in a single page. Also helps (in a limited way) to decouple DOM and javascript if parent div can be set as a parameter.
Currently ids are used in the javascript code to reference particular dom elements. This should be changed to use a configurable parent div id with child divs with identifying class names. This would allow more than one MediaAlignedText to be displayed in a single page. Also helps (in a limited way) to decouple DOM and javascript if parent div can be set as a parameter.