diff --git a/src/lab/exp2/quizconfig.js b/src/lab/exp2/quizconfig.js index 2bbdb114..b397deda 100644 --- a/src/lab/exp2/quizconfig.js +++ b/src/lab/exp2/quizconfig.js @@ -6,67 +6,81 @@ ***********************************************/ //Enter total number of questions: -var totalquestions=5 +var totalquestions=5; +var q=1; +var c=0; +var i=1; +var wrong=0; +var incorrect=null; +var temp=0; +var actualchoices=new Array(200); //Enter the solutions corresponding to each question: -var correctchoices=new Array() -correctchoices[1]='a' //question 1 solution -correctchoices[2]='a' //question 2 solution, and so on. -correctchoices[3]='a' -correctchoices[4]='c' -correctchoices[5]='e' +var correctchoices=new Array(); +correctchoices[1]="a";//question 1 solution +correctchoices[2]="a"; //question 2 solution, and so on. +correctchoices[3]="a"; +correctchoices[4]="c"; +correctchoices[5]="e"; /////Don't edit beyond here////////////////////////// function gradeit(){ -var incorrect=null for (q=1;q<=totalquestions;q++){ - var thequestion=eval("document.myquiz.question"+q) + var thequestion=document.myquiz.question.getElementById(q); for (c=0;cSolution') -win2.document.write('') -win2.document.write('

Solution to Quiz

') -win2.document.write('
') +var win2=window.open("","win2","width=200,height=350, scrollbars"); +win2.focus(); +win2.document.open(); +win2.document.write("Solution"); +win2.document.write("") +win2.document.write("

Solution to Quiz

"); +win2.document.write("
"); for (i=1;i<=totalquestions;i++){ for (temp=0;temp"); +wrong==0; } -if (wrong==1){ -win2.document.write("Question "+i+"="+correctchoices[i].fontcolor("red")+"
") -wrong=0 +else{ +win2.document.write("Question "+i+"="+correctchoices[i]+"
"); } -else -win2.document.write("Question "+i+"="+correctchoices[i]+"
") } -win2.document.write('
') -win2.document.write("
Note: The solutions in red are the ones to the questions you had incorrectly answered.
") -win2.document.close() +win2.document.write("
"); +win2.document.write("
Note: The solutions in red are the ones to the questions you had incorrectly answered.
"); +win2.document.close(); } diff --git a/src/lab/exp5/quizconfig.js b/src/lab/exp5/quizconfig.js index dfa71367..3b9dc8cb 100644 --- a/src/lab/exp5/quizconfig.js +++ b/src/lab/exp5/quizconfig.js @@ -6,62 +6,75 @@ ***********************************************/ //Enter total number of questions: -var totalquestions=1 - +var totalquestions=1; +var q=1; +var c=0; +var i=1; +var wrong=0; +var incorrect=null; +var temp=0; +var actualchoices=new Array(200); //Enter the solutions corresponding to each question: -var correctchoices=new Array() -correctchoices[1]='b' //question 1 solution +var correctchoices=new Array(); +correctchoices[1]="b"; //question 1 solution /////Don't edit beyond here////////////////////////// function gradeit(){ -var incorrect=null for (q=1;q<=totalquestions;q++){ - var thequestion=eval("document.myquiz.question"+q) + var thequestion=document.myquiz.question.getElementById(q); for (c=0;cSolution') -win2.document.write('') -win2.document.write('

Solution to Quiz

') -win2.document.write('
') +var win2=window.open("","win2","width=200,height=350, scrollbars"); +win2.focus(); +win2.document.open(); +win2.document.write("Solution"); +win2.document.write(""); +win2.document.write("

Solution to Quiz

"); +win2.document.write("
"); for (i=1;i<=totalquestions;i++){ for (temp=0;temp"); +wrong==0; } -if (wrong==1){ -win2.document.write("Question "+i+"="+correctchoices[i].fontcolor("red")+"
") -wrong=0 +else{ +win2.document.write("Question "+i+"="+correctchoices[i]+"
"); } -else -win2.document.write("Question "+i+"="+correctchoices[i]+"
") } -win2.document.write('
') -win2.document.write("
Note: The solutions in red are the ones to the questions you had incorrectly answered.
") -win2.document.close() +win2.document.write("
"); +win2.document.write("
Note: The solutions in red are the ones to the questions you had incorrectly answered.
"); +win2.document.close(); } diff --git a/src/lab/exp7/quizconfig.js b/src/lab/exp7/quizconfig.js index 83c9a0d3..2c569700 100644 --- a/src/lab/exp7/quizconfig.js +++ b/src/lab/exp7/quizconfig.js @@ -6,64 +6,78 @@ ***********************************************/ //Enter total number of questions: -var totalquestions=2 +var totalquestions=2; +var q=1; +var c=0; +var i=1; +var wrong=0; +var incorrect=null; +var temp=0; +var actualchoices=new Array(200); //Enter the solutions corresponding to each question: -var correctchoices=new Array() -correctchoices[1]='c' //question 1 solution -correctchoices[2]='b' //question 2 solution, and so on. +var correctchoices=new Array(); +correctchoices[1]="c"; //question 1 solution +correctchoices[2]="b"; //question 2 solution, and so on. /////Don't edit beyond here////////////////////////// function gradeit(){ -var incorrect=null for (q=1;q<=totalquestions;q++){ - var thequestion=eval("document.myquiz.question"+q) + var thequestion=document.myquiz.question.getElementById(q); for (c=0;cSolution') -win2.document.write('') -win2.document.write('

Solution to Quiz

') -win2.document.write('
') +var win2=window.open("","win2","width=200,height=350, scrollbars"); +win2.focus(); +win2.document.open(); +win2.document.write("Solution"); +win2.document.write(""); +win2.document.write("

Solution to Quiz

") +win2.document.write("
"); for (i=1;i<=totalquestions;i++){ for (temp=0;temp"); +wrong==0; } -if (wrong==1){ -win2.document.write("Question "+i+"="+correctchoices[i].fontcolor("red")+"
") -wrong=0 +else{ +win2.document.write("Question "+i+"="+correctchoices[i]+"
"); } -else -win2.document.write("Question "+i+"="+correctchoices[i]+"
") } -win2.document.write('
') -win2.document.write("
Note: The solutions in red are the ones to the questions you had incorrectly answered.
") -win2.document.close() +win2.document.write("
"); +win2.document.write("
Note: The solutions in red are the ones to the questions you had incorrectly answered.
"); +win2.document.close(); } diff --git a/src/themes/blue-icon/css/style.css b/src/themes/blue-icon/css/style.css index 4a5f32fa..22e1026b 100755 --- a/src/themes/blue-icon/css/style.css +++ b/src/themes/blue-icon/css/style.css @@ -18,7 +18,7 @@ body #container { margin:0 auto; - padding:0 + padding:0; width:100%; } diff --git a/src/themes/green-icon/css/style.css b/src/themes/green-icon/css/style.css index 00ece207..61d8088b 100644 --- a/src/themes/green-icon/css/style.css +++ b/src/themes/green-icon/css/style.css @@ -356,19 +356,20 @@ margin-top:120px; overflow: visible; margin-left: 0px !important; padding-bottom: 10px !important; - padding-top: 10px !important; + padding-top: 10px; } .menu-a { font-size: 14px !important; - font-family: 'Raleway' !important; - color: #2C99CD !important; - padding-left: 10px !important; + font-family: 'Raleway'; + color: #2C99CD; + /* padding-left: 10px !important; padding-bottom: 5px !important; padding-top: 5px !important; padding-right: 10px !important; - +*/ + padding: 5px 10px; } .menu-a-active @@ -391,7 +392,7 @@ margin-top:120px; .menu-a:HOVER { - color: white !important; + color: white; } .menu-li-active { @@ -427,7 +428,7 @@ margin-top:120px; .custom-toggle { margin-bottom: 0px !important; - margin-top: 27px !important; + margin-top: 27px; } } @@ -441,7 +442,7 @@ margin-top:120px; .custom-toggle { margin-bottom: 0px !important; - margin-top: 12% !important; + margin-top: 12%; } @@ -493,22 +494,22 @@ margin-top:120px; .menu-ul { - margin-top: 0px !important; + margin-top: 0px; } .menu-li-active { - background-color: white !important; + background-color: white; } .menu-a-active { - color: #2C99CE !important; + color: #2C99CE; } .search-ul { - display: none !important; + display: none; } @@ -528,17 +529,17 @@ margin-top:120px; .banner-text-small { - font-size: 1.2em !important; + font-size: 1.2em; } .banner-text-medium { - font-size: 1.7em !important; + font-size: 1.7em; } .banner-text-big { - font-size: 2.0em !important; + font-size: 2.0em; } } @@ -577,7 +578,7 @@ margin-top:120px; .featured-labs-main-div { - margin-top: -35px !important; + margin-top: -35px; } } @@ -659,8 +660,8 @@ margin-top:120px; .featured-labs-div { margin-left: 0px !important; - margin-right: 0px !important; - padding-left: 15px !important; + margin-right: 0px; + padding-left: 15px; } .border-bottom-img { @@ -721,7 +722,7 @@ a:focus .text-a-lightgreen:HOVER { - color: #72AB44 !important; + color: #72AB44; } .text-a-white @@ -826,7 +827,7 @@ font-size: 30px; margin-top: 2px; } -//To move navigation buttons outside use these settings: +/*To move navigation buttons outside use these settings:*/ #owl-demo .owl-controls .owl-buttons div, #owl-partner-institutions .owl-controls .owl-buttons div{ position: absolute; @@ -844,14 +845,14 @@ font-size: 30px; left: -45px; top: 20px; position: absolute; - background: none !important; + background: none; } #owl-demo .owl-controls .owl-buttons .owl-next{ right: -45px; top: 55px; position: absolute; - background: none !important; + background: none; } #owl-partner-institutions .owl-controls .owl-buttons .owl-next @@ -859,7 +860,7 @@ font-size: 30px; right: -45px; top: 20px; position: absolute; - background: none !important; + background: none; } #owl-demo .owl-controls .owl-pagination, #owl-partner-institutions .owl-controls .owl-pagination @@ -1001,12 +1002,12 @@ font-size: 30px; .banner-text-medium { - font-size: 0.9em !important; + font-size: 0.9em; } .banner-text-big { - font-size: 1.1em !important; + font-size: 1.1em; } .banner-text @@ -1045,12 +1046,12 @@ font-size: 30px; .banner-text-medium { - font-size: 1.1em !important; + font-size: 1.1em; } .banner-text-big { - font-size: 1.2em !important; + font-size: 1.2em; } .banner-text @@ -1083,12 +1084,12 @@ font-size: 30px; .banner-text-medium { - font-size: 1.2em !important; + font-size: 1.2em; } .banner-text-big { - font-size: 1.4em !important; + font-size: 1.4em; } .banner-text { @@ -1235,12 +1236,12 @@ font-size: 30px; .banner-text-small { - font-size: 1.2em !important; + font-size: 1.2em; } .banner-text-medium { - font-size: 1.7em !important; + font-size: 1.7em; } .banner-text-big diff --git a/src/themes/green-icon/css/style1.css b/src/themes/green-icon/css/style1.css index fde82041..4c699a3d 100644 --- a/src/themes/green-icon/css/style1.css +++ b/src/themes/green-icon/css/style1.css @@ -7,7 +7,7 @@ Description: The theme to accompany the profile site for vlabs.ac.in Version: 1.0 */ @import url(http://fonts.googleapis.com/css?family=Open+Sans:300); -/ + /* try to alter with above URL and check which fit the best @import url(http://fonts.googleapis.com/css?family=Open+Sans); @@ -106,7 +106,7 @@ a.active { overflow: visible; margin-left: 0px !important; padding-bottom: 10px !important; - padding-top: 10px !important; + padding-top: 10px; } .menu-a @@ -114,16 +114,17 @@ a.active { font-size: 18px !important; font-family: Calibri !important; color: #2C99CD !important; - padding-left: 10px !important; +/* padding-left: 10px !important; padding-bottom: 5px !important; padding-top: 5px !important; padding-right: 10px !important; - + */ + padding: 5px 10px; } .menu-a-active { - color: white !important; + color: white; } .menu-li @@ -141,7 +142,7 @@ a.active { .menu-a:HOVER { - color: white !important; + color: white; } .menu-li-active { @@ -177,7 +178,7 @@ a.active { .custom-toggle { margin-bottom: 0px !important; - margin-top: 27px !important; + margin-top: 27px; } } @@ -191,7 +192,7 @@ a.active { .custom-toggle { margin-bottom: 0px !important; - margin-top: 12% !important; + margin-top: 12%; } @@ -248,17 +249,17 @@ a.active { .menu-li-active { - background-color: white !important; + background-color:white; } .menu-a-active { - color: #2C99CE !important; + color: #2C99CE; } .search-ul { - display: none !important; + display: none; } @@ -278,17 +279,17 @@ a.active { .banner-text-small { - font-size: 1.2em !important; + font-size: 1.2em; } .banner-text-medium { - font-size: 1.7em !important; + font-size: 1.7em; } .banner-text-big { - font-size: 2.0em !important; + font-size: 2.0em; } } @@ -326,7 +327,7 @@ a.active { .featured-labs-main-div { - margin-top: -35px !important; + margin-top: -35px; } } @@ -410,7 +411,7 @@ a.active { .featured-labs-div { margin-left: 0px !important; - margin-right: 0px !important; + margin-right: 0px; padding-left: 15px !important; } .border-bottom-img @@ -474,7 +475,7 @@ a:focus .text-a-lightgreen:HOVER { - color: #72AB44 !important; + color: #72AB44; } .text-a-white @@ -575,7 +576,7 @@ a:focus margin-top: 2px; } -//To move navigation buttons outside use these settings: +/*To move navigation buttons outside use these settings:*/ #owl-demo .owl-controls .owl-buttons div, #owl-partner-institutions .owl-controls .owl-buttons div{ position: absolute; @@ -593,14 +594,14 @@ a:focus left: -45px; top: 20px; position: absolute; - background: none !important; + background: none; } #owl-demo .owl-controls .owl-buttons .owl-next{ right: -45px; top: 55px; position: absolute; - background: none !important; + background: none; } #owl-partner-institutions .owl-controls .owl-buttons .owl-next @@ -608,7 +609,7 @@ a:focus right: -45px; top: 20px; position: absolute; - background: none !important; + background: none; } #owl-demo .owl-controls .owl-pagination, #owl-partner-institutions .owl-controls .owl-pagination @@ -734,12 +735,12 @@ a:focus .banner-caption-text { -<<<<<<< HEAD +/*<<<<<<< HEAD*/ font-size: 2.0em; text-align: left; -======= +/*========*/ font-size: 1.2em; ->>>>>>> f3b4f22ca1ec6639cf95185650d5427a8bca30ee +/*>>>>>>>*/ f3b4f22ca1ec6639cf95185650d5427a8bca30ee line-height: normal; color: black; @@ -757,12 +758,12 @@ a:focus .banner-text-medium { - font-size: 0.9em !important; + font-size: 0.9em; } .banner-text-big { - font-size: 1.1em !important; + font-size: 1.1em; } .banner-text @@ -801,12 +802,12 @@ a:focus .banner-text-medium { - font-size: 1.1em !important; + font-size: 1.1em; } .banner-text-big { - font-size: 1.2em !important; + font-size: 1.2em; } .banner-text @@ -839,12 +840,12 @@ a:focus .banner-text-medium { - font-size: 1.2em !important; + font-size: 1.2em; } .banner-text-big { - font-size: 1.4em !important; + font-size: 1.4em; } .banner-text { @@ -991,12 +992,12 @@ a:focus .banner-text-small { - font-size: 1.2em !important; + font-size: 1.2em; } .banner-text-medium { - font-size: 1.7em !important; + font-size: 1.7em; } .banner-text-big diff --git a/src/themes/green-icon/js/custom.js b/src/themes/green-icon/js/custom.js index b1f77b36..31d64ff3 100755 --- a/src/themes/green-icon/js/custom.js +++ b/src/themes/green-icon/js/custom.js @@ -6,11 +6,11 @@ // jQuery for page scrolling feature - requires jQuery Easing plugin $(function() { - $('body').on('click', '.page-scroll a', function(event) { + $("body").on("click", ".page-scroll a", function(event) { var $anchor = $(this); - $('html, body').stop().animate({ - scrollTop: $($anchor.attr('href')).offset().top - }, 1500, 'easeInOutExpo'); + $("html, body").stop().animate({ + scrollTop: $($anchor.attr("href")).offset().top + }, 1500, "easeInOutExpo"); event.preventDefault(); }); }); @@ -27,11 +27,11 @@ $(function() { }); // Highlight the top nav as scrolling occurs -$('body').scrollspy({ - target: '.navbar-fixed-top' +$("body").scrollspy({ + target: ".navbar-fixed-top" }) // Closes the Responsive Menu on Menu Item Click -$('.navbar-collapse ul li a').click(function() { - $('.navbar-toggle:visible').click(); +$(".navbar-collapse ul li a").click(function() { + $(".navbar-toggle:visible").click(); }); diff --git a/src/themes/green-icon/js/npm.js b/src/themes/green-icon/js/npm.js index bf6aa806..dbc6c4eb 100755 --- a/src/themes/green-icon/js/npm.js +++ b/src/themes/green-icon/js/npm.js @@ -1,13 +1,13 @@ // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. -require('../../js/transition.js') -require('../../js/alert.js') -require('../../js/button.js') -require('../../js/carousel.js') -require('../../js/collapse.js') -require('../../js/dropdown.js') -require('../../js/modal.js') -require('../../js/tooltip.js') -require('../../js/popover.js') -require('../../js/scrollspy.js') -require('../../js/tab.js') -require('../../js/affix.js') \ No newline at end of file +require("../../js/transition.js") +require("../../js/alert.js") +require("../../js/button.js") +require("../../js/carousel.js") +require("../../js/collapse.js") +require("../../js/dropdown.js") +require("../../js/modal.js") +require("../../js/tooltip.js") +require("../../js/popover.js") +require("../../js/scrollspy.js") +require("../../js/tab.js") +require("../../js/affix.js") diff --git a/src/themes/maroon-grid/css/style.css b/src/themes/maroon-grid/css/style.css index ae9f6be8..684ac572 100755 --- a/src/themes/maroon-grid/css/style.css +++ b/src/themes/maroon-grid/css/style.css @@ -18,7 +18,7 @@ body #container { margin:0; - padding:0 + padding:0; width:100%; }