/ Published in: JavaScript
                    
                                        
Go to link location when tab clicked (or selected actually) using 'select' event.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<script language=Javascript>
$(document).ready(function(){
$("#theTab").tabs({
select: function() {
window.location.href = $(this).attr('href'); //go to link from a tag.
}
});
});
</script>
Tab format:
<ul id="theTab">
<li><a href="{link}"><span>{label}</span></a></li>
</ul>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                