creepersreef
25 May 2011, 11:05 AM
Hi there. I've got a bit stuck using featured content boxes in tabs.
Basically, each tab needs a featured content box in it. The first one works fine, but then they break because I can't work out how to make the following apply to the other boxes.
<script type="text/javascript">
$(document).ready(function(){
$("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);
});
</script>
What I really want is something like:
<script type="text/javascript">
$(document).ready(function(){
$("#featured, #featured2, #featured3, #featured4 > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);
});
</script>
But I can't figure out the syntax.
Here's the page in full:
http://blinkseo.co.uk/unitest.html
I hope this make sense, and thanks in advance for your help!
Basically, each tab needs a featured content box in it. The first one works fine, but then they break because I can't work out how to make the following apply to the other boxes.
<script type="text/javascript">
$(document).ready(function(){
$("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);
});
</script>
What I really want is something like:
<script type="text/javascript">
$(document).ready(function(){
$("#featured, #featured2, #featured3, #featured4 > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);
});
</script>
But I can't figure out the syntax.
Here's the page in full:
http://blinkseo.co.uk/unitest.html
I hope this make sense, and thanks in advance for your help!