Explore the community Forums Lectora Lectora Questions & Answers Javacript to hide/show Lectora butt n87

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #252559 Score: 0
    Profile photo of eukleiatraining
    eukleiatraining
    Member
    @eukleiatraining

    Hi,We always used to call a small customised JavaScript in order to hide and show Lectora’s back and next button (which are button87 and button88). We then triggered th eJavaScript from Flash.The way the navigation is coded in Lectora 2005 seems slightly different to Lectora 2004 and our JavaScript doesn’t work anymore.Could anyone help me how to adapt the below script, so that it still triggers the Lectora buttons in the 2005 code? Thanks!function hideButton(num) {     switch(num){            case “1”:                 document.getElementById(“butto n88”).style.display = “block”;                 document.getElementById(“butto n87”).style.display = “block”;                break;            case “2”:                 document.getElementById(“butto n88”).style.display = “block”;                 document.getElementById(“butto n87”).style.display = “none”;                     break;            case “3”:                 document.getElementById(“butto n88”).style.display = “none”;                 document.getElementById(“butto n87”).style.display = “block”;                 break;            case “4”:                 document.getElementById(“butto n88”).style.display = “none”;                 document.getElementById(“butto n87”).style.display = “none”;            break;            }

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.