Thank you, ricardo. Thank you, brian. You're such great help!
Initially I used hover because it was shorter than mouseover. -.- I
didn't know they had such a difference.
Now it works fine. :)
On Nov 29, 2:02 pm, brian <[EMAIL PROTECTED]> wrote:
> As Ricardo said, hover() expects a second function
As Ricardo said, hover() expects a second function. I just tested your code
and it works just fine
like this:
$(document).ready(function() {
$(".xtabber .tabcontent>div").not("#tab1").hide();
$(".xtabber .tab a").hover(function () {
var xone = $(this).attr("href");
hover() is meant to be passed two functions, one for mouseover and one
for mouseout: http://docs.jquery.com/Events/hover
However that doesn't explain why just the second one doesn't work...
see if using mouseover() or bind('mouseenter',fn) helps.
On Nov 29, 12:16 am, Betty <[EMAIL PROTECTED]> wr
Thank you, brian. Here is the script:
$(document).ready(function() {
$(".xtabber .tabcontent>div").not("#tab1").hide();
$(".xtabber .tab a").hover(function () {
var xone = $(this).attr("href");
$(".xtabber .tabcontent>div").not(xone).hide();
I think you'll need to post the exact code you're having problems with.
On Fri, Nov 28, 2008 at 8:32 AM, Betty <[EMAIL PROTECTED]> wrote:
>
> Hi, I'm new. I've written two pieces of code with jQuery. Each of them
> works well individually. However, if I put them one after the other,
> the first o
5 matches
Mail list logo