###### 16.9.7.4.2 JavaScript code when DropLinkType=Icon

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

Previous Topic: 16.9.7.4.1 JavaScript code when UseCompositeDropJS=Yes

Next Topic: 16.9.7.4.3 JavaScript code when DropLinkType=Button

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.3 JavaScript code when DropLinkType=Button

16.9.7.4.4 JavaScript code when DropLinkType=Text

Table of Contents • Index