index.php 602 B

1234567891011121314151617181920212223242526
  1. <?php include "header.php" ?>
  2. <body class="hold-transition skin-blue sidebar-mini">
  3. <div>
  4. <?php include("nav.php"); ?>
  5. <div class="content-wrapper navbar navbar-static-top">
  6. <br>
  7. <iframe src="home.php" id="loadFrame"></iframe>
  8. </div>
  9. </div>
  10. <script type="text/javascript">
  11. function changePages(fileLocation) {
  12. // alert(fileLocation);
  13. document.getElementById('loadFrame').src = fileLocation;
  14. }
  15. var selector='.sidebar-menu li';
  16. $(selector).on('click', function(){
  17. // alert(selector);
  18. $(selector).removeClass('active');
  19. $(this).addClass('active');
  20. });
  21. </script>
  22. </body>