need help with tab events
Code:
Need some help please-I have an instance of jquery tabs that toggles, and I want to have a click event(takes you to a new page) and a mouse over(makes that tab active-on mouseout does not go back to toggling but should).
I can get any two to work at a time but not all three.
$(document).ready(function(){
$( "#featured > ul" ).tabs({fx:{opacity: "toggle"}}).tabs("rotate", 4000, true);
});
$(function() {
$( "#featured" ).tabs({
event: "mouseover"
});
});
for the html I have a onClick event on each tab that seems to work:
<a href="#fragment-1" onclick="window.open('aboutUs.php', target='_self');" >
I know this isn't best practices by any stretch;)
Thanks in advance for any ideas!