using tabs to change multiple divs

using tabs to change multiple divs

Hi


Need some assistance in changing some divs using tabs on a website I am building.


I currently have it set up so that it changes through a set of scrolling tabs on mouseover of a separate div. I now want to also change another div with separate content as well.


This works currently on the first div:


  1. $(document).ready(function() {
  2. $("#selector").tabs("div.scrollable", {event:'mouseover', initialIndex:2});
  3. });
However is I add similar to change the extra div it only changes the last div referenced in the code. Where I would like it to change both at the same time. So I need some way of combining the 2 seperate mouseover events.

  1. $(document).ready(function() {
  2. $("#selector").tabs("div.scrollable", {event:'mouseover', initialIndex:2});
  3.         $("#selector").tabs("div.saletxt", {event:'mouseover', initialIndex:0});
  4. });

Thanks for any help.