Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20

Thread: share popup

  1. #16
    Regular Coder
    Join Date
    May 2011
    Posts
    303
    Thanks
    29
    Thanked 0 Times in 0 Posts
    Thank you m8, that works gr8!

    While i'm here gonna ask; How to do a close button, this iis for something else.

    atm i have:

    Code:
    <span id='close'>close</span>	$("#close").click(function() {
    		$("#warning").fadeOut(2000);
    	});

  2. #17
    Senior Coder xelawho's Avatar
    Join Date
    Nov 2010
    Posts
    2,762
    Thanks
    55
    Thanked 517 Times in 514 Posts
    why doesn't that work?

  3. #18
    Regular Coder
    Join Date
    May 2011
    Posts
    303
    Thanks
    29
    Thanked 0 Times in 0 Posts
    no it doesn't, should it?

  4. #19
    Senior Coder xelawho's Avatar
    Join Date
    Nov 2010
    Posts
    2,762
    Thanks
    55
    Thanked 517 Times in 514 Posts
    maybe. hard to tell with a line and a half of code. Is this to close the fancybox?

  5. #20
    Regular Coder
    Join Date
    May 2011
    Posts
    303
    Thanks
    29
    Thanked 0 Times in 0 Posts
    no, this is to close a warning box, not related to fancybox.....

    i've changed the span to: <a href='#close' id='close'>close</a>

    and the js to:
    Code:
    	$("#close").click(function() {
    		$("#warning").slideUp();
    	});
    Thanks


 
Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •