Content deleted Content added
begin script for unindenting dialog for accessibility |
next step in the script |
||
Line 23:
DD_elements = document.getElementById('bodyContent').getElementsByTagName("DD");
alert_string = "Unindented " + num_unindented_DD_elements + " paragraphs."▼
num_DD_elements = DD_elements.length;
for (DD_element_index=0; DD_element_index<num_DD_elements; DD_element_index++) {
temp_DD_element = DD_elements[DD_element_index];
indent_level = 0;
} // closes loop over the DD elements of the document
//Acknowledgment
▲ alert_string = "Unindented " + num_unindented_DD_elements + " paragraphs of " + num_DD_elements " possible."
window.alert(alert_string);
|