Basic two-page simulation

<script type="text/javascript" language="javascript">
  $(document).ready(function () {
    $('#Panel2').hide();
    $('#ButtonPrev').hide();
    $('#ButtonNext').click(function() {
      $('#Panel1').hide();
      $('#Panel2').show();
      $(this).hide();
      $('#ButtonPrev').show();
    });
    $('#ButtonPrev').click(function() {
      $('#Panel1').show();
      $('#Panel2').hide();
      $(this).hide();
      $('#ButtonNext').show();
  });


  });
</script>

Comments

Post a Comment

Popular posts from this blog

Breaking down document locking in SharePoint

Working around X-Frame-Options for iframes

Document ID not being generated