Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.01 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Research Application</title>
  6. <!-- The necessary imports that give your application the layout and ease-of-implementation that Java has -->
  7. <!-- First, the jQuery library itself-->
  8. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  9. <!-- Then, all of the jLayout stuff -->
  10. <script type="text/javascript" src="http://www.bramstein.com/projects/jlayout/lib/jquery.sizes.js"></script>
  11. <script type="text/javascript" src="http://www.bramstein.com/projects/jlayout/lib/jlayout.grid.js"></script>
  12. <script type="text/javascript" src="http://www.bramstein.com/projects/jlayout/lib/jlayout.flexlayout.js"></script>
  13. <script type="text/javascript" src="http://www.bramstein.com/projects/jlayout/lib/jlayout.flow.js"></script>
  14. <script type="text/javascript" src="http://www.bramstein.com/projects/jlayout/lib/jlayout.border.js"></script>
  15. <script type="text/javascript" src="http://www.bramstein.com/projects/jlayout/lib/jquery.jlayout.js"></script>
  16. <!-- including the styleSheet -->
  17. <link rel="stylesheet" href="style/style.css" type="text/css"></link>
  18. </head>
  19. <body>
  20. <h1 id="title">Research Application</h1>
  21. <!-- This is where you might want to setup the jLayout script -->
  22. <script>
  23. // don't you just love function pointers?
  24. $(document).ready(function(){
  25. // in here goes all of the stuff to layout
  26. // first, make the borderLayout for the applicationWindow itself
  27. $('#applicationWindow').layout({
  28. type: 'border',
  29. maximumWidth: 900,
  30. height: 300,
  31. hgap: 3,
  32. vgap: 3
  33. });
  34. // then, layout the questionPanel into verticalLayout
  35. // next, make the picturesContainer into a horizontalLayout
  36. });
  37. </script>
  38. <!-- need div element that will the container for the application itself -->
  39. <div id="applicationWindow">
  40. <!-- need element that will notify the user of the question number, as well as a way to change the number programmatically -->
  41. <label id="problemNumberLabel" class="north">
  42. Question number: 0 of 10 <!-- This is subject to change -->
  43. </label>
  44. <!-- need left arrow widget (You might want to do what Facebook did for the pictures, with the CSS and everything, and use <a> -->
  45. <button class="navigatorButton west" id="leftArrowButton">
  46. <<
  47. </button>
  48. <!-- need div element that will house the inner panel -->
  49. <div id="questionPanel" class="center">
  50. <!-- Content to be determined possibly by either JavaScript (via the html() function, or the innerHTML attribute), or by controlling the file
  51. that gets loaded to here -->
  52.  
  53.  
  54. </div>
  55. <!-- need right arrow widget (You might want to do what Facebook did for the pictures, with the CSS and everything, and use <a> -->
  56. <button class="navigatorButton east" id="rightArrowButton">
  57. >>
  58. </button>
  59. <!-- container for lower buttons -->
  60. <div id="lowerButtonsContainer" class="south">
  61. <!-- This is where you put the "Share","Log on" buttons -->
  62. <button id="ShareButton"></button>
  63. <button name="LogOnButton"></button>
  64. </div>
  65. </div>
  66.  
  67. </body>
  68. </html>
  69.  
  70. #title
  71. {
  72. text-align: center;
  73. }
  74.  
  75. #problemNumberLabel
  76. {
  77. text-align: right;
  78. }
  79.  
  80. #applicationWindow,#problemNumberLabel
  81. {
  82. width: 900px;
  83. display: inline-block;
  84. position: relative;
  85. }
  86.  
  87. #applicationWindow
  88. {
  89. margin-left: auto;
  90. margin-right: auto;
  91. height: 300px;
  92. }
  93.  
  94. .navigatorButton
  95. {
  96. height: 100px;
  97. background-color: #ffffff; // make the color of the buttons white
  98. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement