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(
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();
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
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
4 matches
Mail list logo