Mercurial > public > sg101
view gpp/templates/forums/jump_box.js @ 358:768e3568addf
Fixing #172; add a forums jump box.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 04 Mar 2011 03:50:07 +0000 |
parents | |
children |
line wrap: on
line source
<script type="text/javascript"> //<![CDATA[ $(document).ready(function() { var jumpSelect = $('#forum-jumpbox-select')[0]; $('#forum-jumpbox-button').click(function() { var dest = jumpSelect.options[jumpSelect.selectedIndex].value; window.location = dest; }); }); //]]> </script>