16.9.7.4.4 JavaScript code when DropLinkType=Text

[DropJS]
function doSection(id){
var idiv = document.getElementById(id)
if (idiv.style.display=="none") {
idiv.style.display=""
} else {
idiv.style.display="none"
}
return false;
}
function noSection(id){
var idiv = document.getElementById(id)
if (idiv.style.display=="") {
idiv.style.display="none"
}
}

Previous Topic:  16.9.7.4.3 JavaScript code when DropLinkType=Button

Next Topic:  16.9.8 Emulating Web Works Publisher drop-down hotspots

Parent Topic:  16.9.7.4 Inspecting the JavaScript code for drop-down sections

Sibling Topics:

16.9.7.4.1 JavaScript code when UseCompositeDropJS=Yes

16.9.7.4.2 JavaScript code when DropLinkType=Icon

16.9.7.4.3 JavaScript code when DropLinkType=Button

Table of ContentsIndex