[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 th

[jQuery] Re: Jquery toggle headache

2007-08-21 Thread Codex
ted your code also, but it does the same 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]&

[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).

[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] 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: Delete On click I would like to fire a confirmation message. Upon confirmation the image should be deleted for which I have made a functi

[jQuery] Re: Delete photo on confirm

2007-10-05 Thread Codex
Ok, I've found a way to do it. But is there a 'jQuery way' to do it? On 5 okt, 18:17, Codex <[EMAIL PROTECTED]> wrote: > Maybe I'm going about thewrong way, but this is what I'm trying to > achieve: > > I have a page with thumbnails. Undernea

[jQuery] Re: Delete photo on confirm

2007-10-06 Thread Codex
$.post("http://www.domain.com/delphoto/"+ photo_id); > $("#"+ photo_id).fadeOut(500); > } > return false; > > > > }; > Codex wrote: > > > Maybe I'm going about thewrong way, but this is what I'm trying to

[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. http:

[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 e

[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/jquery

[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 som

[jQuery] Graffiti and jQuery

2007-10-31 Thread Codex
it's 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] 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
; $('#target).fadeOut('slow');}); > > > > Feijó > > - Original Message - > From: "Codex" <[EMAIL PROTECTED]> > To: "jQuery (English)" > Sent: Friday, November 16, 2007 2:45 AM > Subject: [jQuery] Close/hide div on click

[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 t

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

2007-11-18 Thread Codex
x27;slow'); > return false; > }); > > blockui plugin? > jqmodal 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 w