diff --git a/src/lab/exp1/content.html b/src/lab/exp1/content.html index 2b008550..022845eb 100644 --- a/src/lab/exp1/content.html +++ b/src/lab/exp1/content.html @@ -490,15 +490,13 @@

Steepest Decent Method

Simple_harmonic_motion">http://en.wikipedia.org/wiki/Simple_harmonic_motion
  • - http://www.physics.uoguelph.ca/tutorials/shm/Q.shm.html + http://www.physics.uoguelph.ca/tutorials/shm/Q.shm.html
  • Dynamics of structures by Anil K chopra.
  • - http://surendranath.tripod.com/Applets/Oscillations/SHM/SHMApplet.html + http://surendranath.tripod.com/Applets/Oscillations/SHM/SHMApplet.html
  • diff --git a/src/lab/exp10/experiment/bottom.html b/src/lab/exp10/experiment/bottom.html index 2c4542e0..09d7de3a 100644 --- a/src/lab/exp10/experiment/bottom.html +++ b/src/lab/exp10/experiment/bottom.html @@ -17,8 +17,8 @@ Many reactions occur in a single step if the reactants collide with a suffucient energy and specific orientation to form a product. However, many reactions do not occur in a single step but follows multi-steps where it goes through many intermediate levels in a half-way and finally leads to product. These intermediate levels are known as transition states ....

    - Read More>> + Read More>> - \ No newline at end of file + diff --git a/src/lab/exp3/default.html b/src/lab/exp3/default.html index 48145056..8a25bce8 100644 --- a/src/lab/exp3/default.html +++ b/src/lab/exp3/default.html @@ -390,15 +390,13 @@

    Observation 1:

    Simple_harmonic_motion">http://en.wikipedia.org/wiki/Simple_harmonic_motion
  • - http://www.physics.uoguelph.ca/tutorials/shm/Q.shm.html + https://www.physics.uoguelph.ca/tutorials/shm/Q.shm.html
  • “Dynamics of structures” by Anil K chopra.
  • - http://surendranath.tripod.com/Applets/Oscillations/SHM/SHMApplet.html + http://surendranath.tripod.com/Applets/Oscillations/SHM/SHMApplet.html
  • diff --git a/src/lab/exp4/content.html b/src/lab/exp4/content.html index ab6835b8..1c5a249c 100644 --- a/src/lab/exp4/content.html +++ b/src/lab/exp4/content.html @@ -348,7 +348,7 @@

    Quiz

    Always gives lower energy
    Is optimized for small molecules
    - + Contains one basis function for each atomic orbital
    None of the above
    @@ -359,7 +359,7 @@

    Quiz

    6-31G*

    6-31G(d)
    - + 3-21G
    None of the above
    diff --git a/src/lab/exp8/experiment/matrix.php b/src/lab/exp8/experiment/matrix.php index dbe8da43..0f854109 100755 --- a/src/lab/exp8/experiment/matrix.php +++ b/src/lab/exp8/experiment/matrix.php @@ -165,7 +165,7 @@ function changeVal(input,row,col){ use - see in main theory. + see in main theory. diff --git a/src/lab/js/quiz.js b/src/lab/js/quiz.js index 05d05939..b8b7cd6f 100644 --- a/src/lab/js/quiz.js +++ b/src/lab/js/quiz.js @@ -1,34 +1,54 @@ - function checkAns(form) +function checkAns(form) { - wrong=""; + correct=""; var flag=0; + var a=0; + var b=0; + var c=0; for(i=1;i<=len;++i) { var ll = form["q"+i].length; var sel=-1; for(j=0;j1){ - if(wrong!="") - alert(wrong +" are wrong"); - else - alert("all ans are correct.") + + + correct = correct.substring(0,correct.length-2); + if(flag>=1){ + if(correct!="") + alert(correct+" correct"); + else if(correct=="") + alert("None are correct"); return false; } else { - if(wrong!="") - alert(wrong +" is wrong"); - else - alert("all ans are correct.") + if(a===0) + alert("Please attempt atleast one question"); + if(c===len) + {alert('All Answers are correct');} + /*else + alert("all ans are correct.");*/ return false; - } } + + }