/ Published in: jQuery
                    
                                        The name of the link should be in strong (or you may change this in the script)
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 $('#publications').prev(':header').css('float','left'); $('#publications').before('<select id="toc" class="jumpmenu"></select>'); $("#publications li strong").each(function(i) { $(this).attr("id", i+1); $("#toc").append("<option value='#"+(i+1)+"'>"+$(this).text()+"</option>"); }); $(".jumpmenu").change(function() { window.location.href = $(this).val(); });
Comments
                    Subscribe to comments
                
                