[jQuery] Re: popup div

2007-09-18 Thread james_027
thanks everyone :) On Sep 14, 2:07 am, Flesler [EMAIL PROTECTED] wrote: How do you make the popup appear ? If you do this when clicking another DOM element... do this: let's say the trigger has an ID trigger... and the popup div, ID popup. $(function(){ $('#trigger').click(function(

[jQuery] Re: popup div

2007-09-13 Thread Flesler
How do you make the popup appear ? If you do this when clicking another DOM element... do this: let's say the trigger has an ID trigger... and the popup div, ID popup. $(function(){ $('#trigger').click(function( event ){ $('#popup').show(); event.stopPropagation();

[jQuery] Re: popup div

2007-09-12 Thread Wizzud
You could try something like this... $('#myTrigger').click(function(){ $('#myDiv').show(); $(document).one('click', function(){ $('#myDiv').hide(); return false; }); return false; }); james_027-2 wrote: Hi, I am trying to make a simple div that will pop which will be close by

[jQuery] Re: popup div

2007-09-11 Thread james_027
anyone have an idea here? Thanks On Sep 11, 11:21 am, james_027 [EMAIL PROTECTED] wrote: Hi, I am trying to make a simple div that will pop which will be close by just clicking to any part of the page. I have no idea of how to do this. I have try something like this