<div>One more question about using a lightbox... </div><div><br></div><div>I use a lightbox to present prompts as a nice modal dialog from a callback.</div><div>Is there a jQuery equivlanet?</div><div><br></div><div>A typtical use would be... </div>
<div><br></div><div>MyComponentSubclass>>renderContentOn: hmtl</div><div><...></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>callback: [</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>string := self somethingFromTheDomain.</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>answer := self prompt: string title: 'Testing'.</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>self doSomethingWith: answer]</div>
<div><...></div><div><br></div><div>...using...</div><div><br></div><div>MyComponent>>prompt: aString title: aTitle</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>^self lightbox: (MyDialogPrompt prompt: aString title: aTitle</div>
<div><br></div><div><br></div><div>SULightbox works well with WAComponent>>show:onAnswer:delegation: </div><div>which allows me to build the prompt string within the callback, </div><div>but I can find no obvious jQuery equivalent. </div>
<div><br></div><div>The dialog examples, like JQDialogFunctionalTest>>renderLightboxOn: </div><div>build the dialog content during rendering, which is too early.</div><div><br></div><div>I suspect it's a simple answer, but I just can't find it, </div>
<div>and I'd rather not code my own since it would probably be a redudent exercise. </div><div><br></div><div>BTW: I really like the ease with which jQuery can be used in Seaside; very cool.</div><div>Replacing my SULightbox is the last bit I need to move my code entirely to jQuery. </div>
<div><br></div><div>Thanks for any help,</div><div>Bob</div><div><br></div>