<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&gt;&gt;renderContentOn: hmtl</div><div>&lt;...&gt;</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: &#39;Testing&#39;.</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>self doSomethingWith: answer]</div>
<div>&lt;...&gt;</div><div><br></div><div>...using...</div><div><br></div><div>MyComponent&gt;&gt;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&gt;&gt;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&gt;&gt;renderLightboxOn: </div><div>build the dialog content during rendering, which is too early.</div><div><br></div><div>I suspect it&#39;s a simple answer, but I just can&#39;t find it, </div>
<div>and I&#39;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>