[jQuery] Re: Close/hide div on click outside

2007-11-18 Thread Codex
plugin? On Nov 16, 4:58 pm, Codex [EMAIL PROTECTED] wrote: Ok, I see how this is working, but... if you click on the target div it triggers the close also. Is there a way to 'tell' the target that when it's open, all underlying divs are disabled? On 16 nov, 10:29, Feijó [EMAIL PROTECTED

[jQuery] dimensions plugin: relativeTo not working?

2007-11-17 Thread Codex
Or am I trying to set it the wrong way? var getOffset = $(icon).offset({relativeTo: '#col-left' }); Also tried the variants: var getOffset = $(icon).offset({relativeTo: 'col-left' }); var getOffset = $(icon).offset({relativeTo: ('col-left') }); but I keep getting the same result, and that is

[jQuery] Close/hide div on click outside

2007-11-16 Thread Codex
I've searched the posts and the web but I can't find a clear answer/ solution. I hope someone can answer this one: I want to hide a div when there's a click anywhere outside of the div. How would one do this? Gav

[jQuery] Re: Close/hide div on click outside

2007-11-16 Thread Codex
- Original Message - From: Codex [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Friday, November 16, 2007 2:45 AM Subject: [jQuery] Close/hide div on click outside I've searched the posts and the web but I can't find a clear answer/ solution. I hope someone can

[jQuery] Graffiti and jQuery

2007-10-31 Thread Codex
not a paid gig (I'm not getting paid either), so please only reply if you're really interested and willing to work for peanuts. Codex

[jQuery] Edit in place: only one textfield open per page

2007-10-26 Thread Codex
Hi, I'm using the code from the '15 days of jquery' demo of edit in place: http://15daysofjquery.com/examples/jqueryEditInPlace/demo.php JS: http://15daysofjquery.com/examples/jqueryEditInPlace/jqueryEIP.js I have a page that has 10+ eip textfields and it all works well. But when you open 2

[jQuery] Re: Edit in place: only one textfield open per page

2007-10-26 Thread Codex
Anyone? On 26 okt, 16:24, Codex [EMAIL PROTECTED] wrote: Hi, I'm using the code from the '15 days of jquery' demo of edit in place: http://15daysofjquery.com/examples/jqueryEditInPlace/demo.php JS:http://15daysofjquery.com/examples/jqueryEditInPlace/jqueryEIP.js I have a page that has

[jQuery] Re: Edit in place: only one textfield open per page

2007-10-26 Thread Codex
Hey Mike, I've tried jEditable, but *personally* I didn't find it all that flexible for my needs (or I did something horribly wrong). But thank you anyway. On 27 okt, 01:00, Mika Tuupola [EMAIL PROTECTED] wrote: On Oct 27, 2007, at 1:12 AM, Codex wrote: Is something like this what you

[jQuery] Prevent comment SPAM with jQuery

2007-10-23 Thread Codex
Hey people, I came up with an idea to help fight comment spam, the stuff most of us hate. It's just an idea, maybe it won't even work. But take a look and tell me what you think, or tell me why this won't work. It's basically a captcha that requires user action with draggables/ droppables.

[jQuery] Delete photo on confirm

2007-10-05 Thread Codex
Maybe I'm going about thewrong way, but this is what I'm trying to achieve: I have a page with thumbnails. Underneath each thumbnail there's a 'delete' link: a class=delete href=# onclick=javascript:delete_photo('.$img- photo_id.')Delete/a On click I would like to fire a confirmation message.

[jQuery] post data and get data in one request?

2007-09-21 Thread Codex
Hello, this is probably something very simple, but I don't get it. I want to post data to a php file that send the posted data to the DB. Then I would like to return the last inserted ID and use that on the same page the request was made from. How is this done? I know how to post and how to get,

[jQuery] Re: Jquery toggle headache

2007-08-22 Thread Codex
Nope, still the same problem... On Aug 21, 8:19 pm, Pops [EMAIL PROTECTED] wrote: What I was really saying with 'acting weird':. Let's say you have 3 list items and you click the first one, it opens the way it should (fade in). Clicking again closes the item as it should (fade out). You

[jQuery] Jquery toggle headache

2007-08-21 Thread Codex
Hi people, I have this issue I could need some help with resolving. It's driving me crazy. Imagine an email inbox made up from an unordered list (ul) and all the list items that show the subject, date etc. Pretty basic stuff really (kinda like your hotmail or gmail inbox). Instead of going to

[jQuery] Re: Jquery toggle headache

2007-08-21 Thread Codex
this as described. Also, it looks as if your code doesn't like onclick AND onfocus. But this may be something I did wrong though ;-) Gonna try and tweak your code, see where it takes me. Thanks!! Gavin On Aug 21, 5:51 pm, Pops [EMAIL PROTECTED] wrote: Codex, I played with your code