[jQuery] Make sub menu delay before disapper

2009-12-18 Thread Marco Barbosa
Hi all! So I have this simple sub menu with Jquery. The problem is that the child menu is like 2px below the parent, so when the submenu appears I have to be very fast to mouseover it or else it will disapper. The sub menu is absolute positioned and I can't change that right now. So how can I m

[jQuery] Re: setTimeout

2009-12-17 Thread Marco Barbosa
Hi! Sorry to hop in this topic but it's always easier than creating a new one :) My problem is that I have a dropdown list, but the child list (li > ul) is not exactly below the parent. So when I leave the parent to hover the child, it disappears before I have the chance. This is not something I

[jQuery] Re: sliding previous/next content

2009-11-11 Thread Marco Barbosa
your slide() clarification :) ~ Marco Barbosa On 10 Nov, 20:04, Marco Barbosa wrote: > Hi Michel! > > Thanks for the reply! > > Not sure if there are plugins to simply slide up/down. > > I already tried with positioning instead of display:none , but using > slideUp and slideD

[jQuery] Re: sliding previous/next content

2009-11-10 Thread Marco Barbosa
enting the wheel here. > > Michel Belleville > > 2009/11/10 Michel Belleville > > > > > First try the examples for > > .slideUp()<http://docs.jquery.com/Effects/slideUp>and > > .slideDown() <http://docs.jquery.com/Effects/slideDown>. You'll notic

[jQuery] sliding previous/next content

2009-11-10 Thread Marco Barbosa
Hi all! So what I'm trying to do is so simple but it's not working.. All I want to do is to slide up/down to the next/previous content. Here's the code: Previous Calendar Content1 Content2 Content3 Content4 Content5 Content6 Content7

[jQuery] Re: password initial value without masking "****"

2009-10-20 Thread Marco Barbosa
ome text on a password box and hide that > >> text on password box focus ? > > >> On Tue, Oct 20, 2009 at 10:05 AM, Marco Barbosa < > >> marco.barbos...@gmail.com> wrote: > > >>> Hmmm. This is more complicated than I thought. > > >>>

[jQuery] Re: password initial value without masking "****"

2009-10-20 Thread Marco Barbosa
       var passinput = $(".passinput"); > >>                // on text input focus - hide text input and show and focus > >> on password input > >>                textinput.focus() { > >>                    textinput.blur(); > >>                    te

[jQuery] Re: password initial value without masking "****"

2009-10-19 Thread Marco Barbosa
> }); > > // on user blur - change type to back to text > $(".mypasswordfield").blur(function() { >  $(".mypasswordfield").attr({ >    type:'text' >  }); > > }); > > since text is an attribute we can change it. > all im doing is changing the type be

[jQuery] password initial value without masking "****"

2009-10-19 Thread Marco Barbosa
Hi! I'm trying to achieve something like the Facebook first page (when you're not logged in). I'm using this simple function/plugin to clean the fields once you click them: $.fn.cleanField = function() { return this.focus(function() { if( this.value == this.defaultValue )