[jQuery] Thickbox: Reload TB with new content?

2008-02-14 Thread cbmtrx
Hi folks, (FYI: I've asked this question in the thickbox forum, but it doesn't seem to get much traffic, so maybe someone here will have an answer.) I have the thickbox widget working fine. Love it. While most of the TBs are standard (open box, display content, close box) in some cases I need to

[jQuery] Re: Create thickbox dymanically after opening one

2008-02-14 Thread cbmtrx
This is very similar to the problem I'm facing: To enable a thickbox to reload itself with new content *UNTIL* the user closes the TB manually. Then if they relaunch the TB (from the same DOM element) it should load up the TB with the original, default content (and not the newer, reloaded content

[jQuery] Re: Is it possible to send javascript vars TO a jquery function??

2008-02-12 Thread cbmtrx
Just rediscovered the beauty of thickbox: http://jquery.com/demo/thickbox/ This might be all I need, and with some added pizazz courtesy of jquery! On Feb 12, 10:04 am, cbmtrx <[EMAIL PROTECTED]> wrote: > Thanks Tim, but I'm actually trying to pass variables the *other* > dire

[jQuery] Re: Is it possible to send javascript vars TO a jquery function??

2008-02-12 Thread cbmtrx
suggestion? Thanks, everyone, for your help so far :) Emlyn On Feb 10, 9:04 pm, Timothee Groleau <[EMAIL PROTECTED]> wrote: > On Fri, 2008-02-08 at 08:11 -0800, cbmtrx wrote: > > I've just barely started getting my feet wet with jquery, so please > > bear with this n

[jQuery] Re: Is it possible to send javascript vars TO a jquery function??

2008-02-09 Thread cbmtrx
ars, which isn't any simpler). Emlyn On Feb 8, 11:35 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Feb 8, 4:08 pm, cbmtrx <[EMAIL PROTECTED]> wrote: > > > OK, I'll need to look into this click event. If it's worth rewriting > &g

[jQuery] Re: Is it possible to send javascript vars TO a jquery function??

2008-02-08 Thread cbmtrx
ink like this: > > > AB > CD > . > > function myfunc(var1, var2) > { > $('div#target').load('somepage.html', {v1 : var1, }); } > > which works pretty well so far, but since it degrades poorly, I do want > to find a better w

[jQuery] Re: Is it possible to send javascript vars TO a jquery function??

2008-02-08 Thread cbmtrx
> }); > > // trigger click with external data > $('#some-link').trigger('click', [1234, 'john']); > > http://docs.jquery.com/Events/trigger#typedata > > --Klaus > > On Feb 8, 6:39 pm, cbmtrx <[EMAIL PROTECTED]> wrote: > > > Hmm, so ther

[jQuery] Re: Is it possible to send javascript vars TO a jquery function??

2008-02-08 Thread cbmtrx
gt; doSomething(data.linkId,data.linkName); > > }); > > As always... Totally untested and unapproved :) > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of cbmtrx > Sent: Friday, February 08, 2008 8:12

[jQuery] Is it possible to send javascript vars TO a jquery function??

2008-02-08 Thread cbmtrx
I've just barely started getting my feet wet with jquery, so please bear with this novice's question... With a javascript function you can accept vars like this: function doSomething(number, name) { //Do something with them } >From an href in the HTML like this: