7 Replies Latest reply on Apr 30, 2009 12:42 PM by kglad

    "Else if" navigation script problem

    Garry Bradley Level 1

      Hi
      Can somebody help an amateur out here. I've got a navigation menu that relies on this following script to control what state appears when the relevant section loads.

       

      if (inID == 0) {
      navi.gotoAndStop("right");
      } else if (inID == _root["arr"+selArrayName].length-1) {
      navi.gotoAndStop("left");
      } else {
      navi.gotoAndStop("all");
      }

       

      I'm trying to figure out what I need to add to get the navigation buttons to be greyed out (which is frame 1 of 'navi' with "none" label) because the section doesn't have any following pages, it's just an address page.
      You can see the full animation at
      http://www.a-dam.co.uk/infusion/Inse...t2_eguide.html
      in the Contact Us section.

       

      I presume it's another 'else if' command but I'm a little confused what to do.
      Thanks

       

      Ned, if you see this, I did try and solve it myself but I came up against the knowledge block:-)