comparison 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
comparison
equal deleted inserted replaced
357:8e3f252e4fbb 358:768e3568addf
1 <script type="text/javascript">
2 //<![CDATA[
3 $(document).ready(function() {
4 var jumpSelect = $('#forum-jumpbox-select')[0];
5 $('#forum-jumpbox-button').click(function() {
6 var dest = jumpSelect.options[jumpSelect.selectedIndex].value;
7 window.location = dest;
8 });
9 });
10 //]]>
11 </script>