Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. <head>
  2. <title>School Website</title>
  3. <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  4. <link rel="stylesheet" href="css/style.css" type="text/css" />
  5. <link rel="stylesheet" href="css/TableCSSCode.css" type="text/css" />
  6. <script type="text/javascript" src="js/mootools-release-1.11.js"></script>
  7. <script src="js/dropDownMenu.js" type="text/javascript"></script>
  8. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">
  9. </script>
  10. <script>
  11. $(document).ready(function(){
  12. $("#flip").click(function(){
  13. $("#panel").slideDown("slow");
  14. });
  15. });
  16. </script>
  17. </head>
  18. <body>
  19. <?php include_once'config/connect.php';// database connection...?>
  20. <div id="container">
  21. <div id="wrapper">
  22. <div id="top">
  23. <div class="logo"><a href="http://all-free-download.com/free-website-templates/"><span>SCHOOL</span> NAME</a></div>
  24. <ul class="login">
  25. <li class="left">&nbsp;</li>
  26. <li>Hello Parents!</li>
  27. <li>|</li>
  28. <li>Login</li>
  29. <li>|</li>
  30. <li><a href="http://all-free-download.com/free-website-templates/">Register</a></li>
  31. </ul>
  32. <div id="flip">
  33. <h1>hello world</h1>
  34. </div>
  35. <div id="panel">
  36. <h1>hello world</h1>
  37. </div>
  38. </div>
  39.  
  40. // Disable the $ global alias completely
  41. jQuery.noConflict();
  42.  
  43. (function($){
  44. $(document).ready(function(){
  45. $("#flip").click(function(){
  46. $("#panel").slideDown("slow");
  47. });
  48. });
  49. })(jQuery);
  50.  
  51. #panel {
  52. display: none;
  53. }
  54.  
  55. $('#panel').hide();
  56.  
  57. // Disable the $ global alias completely
  58. jQuery.noConflict();
  59.  
  60. (function($){
  61. $(document).ready(function(){
  62. $("#panel").hide();
  63.  
  64. $("#flip").click(function(){
  65. $("#panel").slideDown("slow");
  66. });
  67. });
  68. })(jQuery);
  69.  
  70. jQuery(function ($) {
  71. $("#flip").click(function () {
  72. $("#panel").slideToggle("slow");
  73. });
  74. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement