Mercurial > public > sg101
annotate gpp/templates/forums/jump_box.js @ 549:c4696a0cbd3f
Altered the open graph meta tags tag to generate tags for the home page
when None is supplied as a parameter. Updated the home page template to use it.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 15 Jan 2012 13:27:37 -0600 |
parents | 768e3568addf |
children |
rev | line source |
---|---|
bgneal@358 | 1 <script type="text/javascript"> |
bgneal@358 | 2 //<![CDATA[ |
bgneal@358 | 3 $(document).ready(function() { |
bgneal@358 | 4 var jumpSelect = $('#forum-jumpbox-select')[0]; |
bgneal@358 | 5 $('#forum-jumpbox-button').click(function() { |
bgneal@358 | 6 var dest = jumpSelect.options[jumpSelect.selectedIndex].value; |
bgneal@358 | 7 window.location = dest; |
bgneal@358 | 8 }); |
bgneal@358 | 9 }); |
bgneal@358 | 10 //]]> |
bgneal@358 | 11 </script> |