Element.translatedclassname, Element.translatedstyle, Inserting spry widgets functions – Adobe Dreamweaver API Reference CS5 User Manual
Page 340: Dom.addjavascript()

335
DREAMWEAVER API REFERENCE
Page content
Last updated 8/27/2013
element.translatedClassName
Availability
Dreamweaver CS3.
Description
This function is the same as the
element.ClassName()
function, but acts on the translated
className
attribute.
element.translatedStyle
Availability
Dreamweaver CS3.
Description
This function is the same as the
element.style()
function, but acts on the translated style attribute.
Example
var div1 = dom.getElementById("div1");
div1.translatedStyle.display = "none";
Inserting Spry widgets functions
Dreamweaver provides the following functions to facilitate inserting Spry widgets.
dom.addJavaScript()
Availability
Dreamweaver CS3.
Description
This function tells Dreamweaver to insert a JavaScript block either in the head or in the body. If the location is inside
the body, the JavaScript block is inserted immediately before the