diff options
author | Prashant S | 2017-09-21 12:50:30 +0530 |
---|---|---|
committer | GitHub | 2017-09-21 12:50:30 +0530 |
commit | 766279813decc014cd0aced720a73ad5e9cfcacd (patch) | |
tree | df5d24a07440a94743deb5e497f96cbe978ac0d2 /website/templates/footer.html | |
parent | 9c83e9cffee1006bb36a1b7105284a2b8e8566e7 (diff) | |
parent | 75c6b053b2df9956b4fcd4a079e88a3b04db4f30 (diff) | |
download | SciPy2017-766279813decc014cd0aced720a73ad5e9cfcacd.tar.gz SciPy2017-766279813decc014cd0aced720a73ad5e9cfcacd.tar.bz2 SciPy2017-766279813decc014cd0aced720a73ad5e9cfcacd.zip |
Merge pull request #12 from Sashi20/devel
Added Organiser section
Diffstat (limited to 'website/templates/footer.html')
-rw-r--r-- | website/templates/footer.html | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/website/templates/footer.html b/website/templates/footer.html index 10f6bc0..bc4dc2e 100644 --- a/website/templates/footer.html +++ b/website/templates/footer.html @@ -34,7 +34,7 @@ <a style="color:blue;" target="_blank" href="http://scipy.in/scipyin/2010/">2010</a>/ <a style="color:blue;" target="_blank" href="http://scipy.in/scipyin/2011/">2011</a>/ <a style="color:blue;" target="_blank" href="http://scipy.in/2012">2012</a>/ - <a style="color:blue;" target="_blank" href="http://scipy.in/2013" >2013</a>/ + <a style="color:blue;" target="_blank" href="http://scipy.in/2013">2013</a>/ <a style="color:blue;" target="_blank" href="http://scipy.in/2014">2014</a>/ <a style="color:blue;" target="_blank" href="http://scipy.in/2015">2015</a>/ <a style="color:blue;" target="_blank" href="http://scipy.in/2016">2016</a> @@ -75,6 +75,28 @@ }); </script> <script type="text/javascript"> +function trim(stringToTrim) { + return stringToTrim.replace(/^\s+|\s+$/g,""); +} +function validateMessage() { + var x = document.getElementById("message").value; + var y = x.trim().length; + if (x.trim()==null || x.trim()==""|| x.trim()==" ") { + alert("Enter a message"); + return false; + } + else if (y<15) { + alert("Minimum character limit is 15"); + return false; + } + else + { + alert('Thank you for your feedback.'); + } + + } +</script> +<script type="text/javascript"> window.onload = function () { var n1 = Math.round(Math.random() * 10 + 1); var n2 = Math.round(Math.random() * 10 + 1); |