2011-11-10, 09:21 PM
MyBB's first (plugin-less) quick jump menu. This quick edit requires jQuery.
Here is the jQuery that will create the quick jump:
Note: The second to last line of code. #quick-jump is the div where this code will output. Make sure you change that to what you are using for your website.
Ideas for this:
Enjoy.
Here is the jQuery that will create the quick jump:
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($) {
var html = '';
$('td:has(.expcolimage) strong a, td+tbody tr td[class*=trow] strong a').each(function() {
var a = $(this).parent().html();
html += '<li>' + a + '</li>';
});
$('#quick-jump').html(html);
});
</script>
Note: The second to last line of code. #quick-jump is the div where this code will output. Make sure you change that to what you are using for your website.
Ideas for this:
- Build a modal on your website and insert this to make a popup quick jump menu
(if you have any other ideas please post them below)
Enjoy.