diff options
| author | kumar <kumar.damani@mail.utoronto.ca> | 2016-07-11 22:20:21 +0000 |
|---|---|---|
| committer | kumar <kumar.damani@mail.utoronto.ca> | 2016-07-11 22:20:21 +0000 |
| commit | 9e62d3c9a5e0d08bccb10614a9352306d0cb5ae0 (patch) | |
| tree | 6d8e3df783d02db54500fb08c7d1a888cbcfb667 /questions.html | |
| parent | a2195def5fb5229e17b686b5c62dd0dec02986cd (diff) | |
all other file
Diffstat (limited to 'questions.html')
| -rw-r--r-- | questions.html | 162 |
1 files changed, 87 insertions, 75 deletions
diff --git a/questions.html b/questions.html index e4d9340..a47f66f 100644 --- a/questions.html +++ b/questions.html @@ -1,4 +1,5 @@ -<html> +<!DOCTYPE html> +<html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> @@ -10,7 +11,7 @@ <link href="assets/css/style.css" rel="stylesheet" type="text/css"> <!--Bootstrap File--> - <link rel="stylesheet" href="assets/css/bootstrap.min.css" crossorigin="anonymous"> + <link rel="stylesheet" href="assets/css/bootstrap.min.css"> <link rel="stylesheet" href="assets/css/creative.css"> <!--Fonts--> @@ -24,90 +25,85 @@ <body> <nav id="mainNav" class="navbar navbar-default navbar-fixed-top" > - <div class="container-fluid"> - <!-- Brand and toggle get grouped for better mobile display --> - <div class="navbar-header"> - <button type="button" class="navbar-toggle collapsed" - data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> - <span class="sr-only">Toggle navigation</span> <span - class="icon-bar"></span> <span class="icon-bar"></span> <span - class="icon-bar"></span> - </button> - <a class="navbar-brand page-scroll" href="#page-top"> ENTER OUR NAME HERE</a> - </div> + <div class="container-fluid"> + <!-- Brand and toggle get grouped for better mobile display --> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" + data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> + <span class="sr-only">Toggle navigation</span> <span + class="icon-bar"></span> <span class="icon-bar"></span> <span + class="icon-bar"></span> + </button> + <a class="navbar-brand page-scroll" href="index.html"> ENTER OUR NAME HERE</a> + </div> - <!-- Collect the nav links, forms, and other content for toggling --> - <div class="collapse navbar-collapse" - id="bs-example-navbar-collapse-1"> - <ul class="nav navbar-nav navbar-right"> - <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Courses <span class="caret"></span></a> - <ul class="dropdown-menu"> - <li><a href="#">First Year</a></li> - <li><a href="#">Second Year</a></li> - <li><a href="#">Third Year</a></li> - <li><a href="#">Fourth Year</a></li> - </ul> - </li> - <li><a href="#">Register</a></li> - <li><a href="#">Log In</a></li> - - <!--<li id="header"><header><a href="#"><img src="assets/images/logo.png"></a></header></li> –>--> - </ul> - </div> - <!-- /.navbar-collapse --> + <!-- Collect the nav links, forms, and other content for toggling --> + <div class="collapse navbar-collapse" + id="bs-example-navbar-collapse-1"> + <ul class="nav navbar-nav navbar-right"> + <li><a href="user_solutions.html">Solutions Page</a></li> + <li><a href="user_profile.html">Profile Page</a></li> + <li><a href="questions.html">Questions Page</a></li> + <li><a href="exams.html">Exams Pages</a></li> + + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Courses <span class="caret"></span></a> + <ul class="dropdown-menu"> + <li class="dropdown-submenu"> + <a tabindex="-1" href="#">First Year<i class="fa fa-chevron-right"></i></a> + <ul class="dropdown-menu"> + <li><a tabindex="-1" href="#">CSC108</a></li> + <li><a href="#">CSC148</a></li> + <li><a href="#">CSC165</a></li> + </ul> + </li> + <li><a href="#">Second Year</a></li> + <li><a href="#">Third Year</a></li> + <li><a href="#">Fourth Year</a></li> + </ul> + </li> + <li><a href="#">Register</a></li> + <li><a href="#">Log In</a></li> + + <!--<li id="header"><header><a href="#"><img src="assets/images/logo.png"></a></header></li> –>--> + </ul> </div> - <!-- /.container-fluid --> - </nav> + <!-- /.navbar-collapse --> + </div> + <!-- /.container-fluid --> +</nav> <main id = 'solutions-main'> <div class = 'search container' id = 'solutions-div'> - <h1 id = 'solutions-header'>CSC309-Programming on the Web</h1> - <h3> Summer, 2016</h3> - <h3> Final</h3> - <section class = 'solutions-card'> - <h3 class = 'questions-number'>Question 1</h3> - <p class = 'questions-comment' >Comments: 4</p> - </section> - - <section class = 'solutions-card'> - <h3 class = 'questions-number'>Question 2</h3> - <p class = 'questions-comment' >Comments: 3</p> - </section> - - <section class = 'solutions-card'> - <h3 class = 'questions-number'>Question 3</h3> - <p class = 'questions-comment' >Comments: 2</p> - </section> - - <section class = 'solutions-card'> - <h3 class = 'questions-number'>Question 4</h3> - <p class = 'questions-comment' >Comments: 1</p> - </section> - + <h1 id = 'solutions-header'>CSC309-Programming on the Web</h1> + <h3> Summer, 2016</h3> + <h3> Final</h3> + <section class = 'solutions-card'> + <h3 class = 'questions-number'>Question 1</h3> + <p class = 'questions-comment' >Comments: 4</p> + </section> + + <section class = 'solutions-card'> + <h3 class = 'questions-number'>Question 2</h3> + <p class = 'questions-comment' >Comments: 3</p> + </section> + + <section class = 'solutions-card'> + <h3 class = 'questions-number'>Question 3</h3> + <p class = 'questions-comment' >Comments: 2</p> + </section> + + <section class = 'solutions-card'> + <h3 class = 'questions-number'>Question 4</h3> + <p class = 'questions-comment' >Comments: 1</p> + </section> </div> </main> - <!--<main>--> - <!--<!–made the id in to a class–>--> - <!--<div class='search container'>--> - <!--<h2>The solutions to all your problems.</h2>--> - <!--<!–<img src="assets/images/down.png">–>--> - <!--<input type="text" name="search" placeholder="Enter course name">--> - <!--</div>--> - - <!--</main>--> <footer> - <!--<div id="footer-container" class="container-fluid">--> - <!--<nav>--> - <!--<a href="#">Contact</a>--> - <!--<a href="#">About Us</a>--> - <!--<a href="#">Terms of Use</a>--> - <!--</nav>--> - <!--<h6>Copyright 2016</h6>--> - <!--</div>--> + <div class="navbar navbar-default navbar-fixed-bottom"> <div class="container-fluid"> <div class="navbar-collapse collapse" id="footer-body"> @@ -130,5 +126,21 @@ </div> </footer> + <script> + $(document).ready(function() { + + // For the Second level Dropdown menu, highlight the parent + $( ".dropdown-menu" ) + .mouseenter(function() { + $(this).parent('li').addClass('active'); + }) + .mouseleave(function() { + $(this).parent('li').removeClass('active'); + }); + + }); + </script> + + </body> </html>
\ No newline at end of file |
