View Single Post
  #4 (permalink)  
Old 04-29-2008
hockey97 hockey97 is offline
New Foot Prints
 
Join Date: Apr 2008
Posts: 13
BRL$: 140.43
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
hockey97 is on a distinguished road
Default Re: I got a problem can you help???

ok I need some help with Jquery it's a javascript lib I am trying to make a li to fade in over an picture when the mouse is over the picture and when it moves off the picture then it fades back out.

I know I have to use the hover functions and also the fadeIn(slow) fadeOut(slow) functions.

I already made a script here it is:

$("document").ready(function() {});
var hide=false;
$("#image").hover(
function () {
if (hide) clearTimeout(hide);
$("#ul1").fadeIn("slow");},
function () {
hide=setTimeout(function(){
$("#ul1").fadeOut("slow")},250);});

Is there anything wrong with it??

becuse I dosen't do anything.

I haver tried it and dosen't do anything.


Current Promotions... Post a New Thread anywhere on Web Development Board to earn BRL$ 5 for every thread. Post a new Reply there and earn BRL$ 3 for every reply.
Important - Read before posting Please carefully read the Global Rules and Posting Rules for GPT / Buy - Sell Offers / Link Exchange sections before posting.
Reply With Quote