<div>Hi all.<br></div><div><br></div><div>I want just say something that in the example of BubbleTip is not used, but when the elements (targets for popups) in the page are moved you should add #calculateOnShow: true for get the popup in the correct position. I use BubbleTip in a Carousel and when the images are moved the position of the popup should be recalculated. See below code: first generate the carousel and contents (images) referencing the ids of the popups, and then generate the referenced divs of popups.</div>
<div><br></div><div><br></div><div>WGMPresentation&gt;&gt;renderContentOn: html<br>        </div><div><br></div><div>html unorderedList class: &#39;gm_presentations jcarousel-skin&#39;;<br>           script: (html jQuery this call: &#39;jcarousel&#39; with: (Dictionary with: &#39;scroll&#39; -&gt; 3));<br>
              with: [ <br>                          presentations doWithIndex: [ :p :i | <br>                                       html listItem<br>                                                   onClick: ( html jQuery ajax script: [ :s | <br>                                                                        &quot;do something&quot; ] );<br>
                                                    with: [ <br>                                                                html image resourceUrl: p photo; altText: p title;<br>                                                                             script: (html jQuery this bubbletip<br>                                                                                          target: (html jQuery: &#39;#tipPresent&#39;, p id);                                         <br>
                                                                                          deltaDirection: (i = 1 ifTrue: [ &#39;left&#39;] ifFalse: [i odd ifTrue: [ &#39;above&#39; ] ifFalse: [ &#39;down&#39; ] ] );<br>                                                                                          calculateOnShow: true) ] ] ].<br>
<br> presentations do: [ :p |<br>            html div id: &#39;tipPresent&#39;, p id; style: &#39;display:none&#39;; with: [<br>                        html div with: [<br>                                    html heading level: 2; with: p title.<br>                                    html paragraph: [<br>
                                               html text: p description.<br>                                               html break.<br>                                                html text: p date ] ] ] ]</div><div><br></div><div><br></div><div>Another example is when you have a sortable list, and the items have a popup: if you move one, then the position of the popup should be recalculated.</div>
<div><br></div><div>In the site, see the sortable list in the play list and the carousel in the Multimedia section:</div><div><a href="http://grupomitai.com.ar/">http://grupomitai.com.ar/</a></div><div><br></div><div>Regards.</div>
<div><br></div><div class="gmail_quote">El 28 de febrero de 2012 13:14, Nick Ager <span dir="ltr">&lt;<a href="mailto:nick.ager@gmail.com">nick.ager@gmail.com</a>&gt;</span> escribió:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Bob,<div><br></div><div>You might want to look at the BubbleTip integrated into JQueryWidget box to load:</div><div><br></div><div>Gofer it</div><div>   squeaksource: &#39;MetacelloRepository&#39;;</div><div>   package: &#39;ConfigurationOfJQueryWidgetBox&#39;;</div>

<div>   load.</div><div><br></div><div>ConfigurationOfJQueryWidgetBox load.</div><div><br></div><div>Nick<br><br><div class="gmail_quote"><div><div class="h5">On 28 February 2012 16:09,  <span dir="ltr">&lt;<a href="mailto:bobn@rogers.com" target="_blank">bobn@rogers.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div><div style="font-size:10pt;font-family:arial,helvetica,sans-serif"><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">

Hello,</div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">I&#39;m trying to learn techniques for showing flyover content, where something pops up while your mouse moves over a component.</div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">

A common approach seems to be to build a hidden component and then use javascript to make it visible. </div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">I&#39;ve got that working, using code like this... </div>

<div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><br></div><div><div><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">                </span>onMouseOver: (html jQuery ajax
 script: [:s | </font></div><div><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">                        </span>s &lt;&lt; (html jQuery id: flyoverId) cssAt: &#39;top&#39; put: ((html jQuery id: cellId) positionTop).</font></div>

<div><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">                        </span>s &lt;&lt; (html jQuery id: flyoverId) cssAt: &#39;left&#39; put: ((html jQuery id: cellId) positionLeft).</font></div><div><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">                        </span>s &lt;&lt; (html jQuery id: flyoverId) show]);</font></div>

<div><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">                </span>onMouseOut: (html jQuery ajax script: [:s | s &lt;&lt; (html jQuery id: flyoverId) hide]);</font></div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">

<br></div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><span style="font-size:10pt">...where &#39;cellId&#39; is the id of a table cell. But this example shows the popup content over the table cell.</span><br>

</div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><span style="font-size:10pt">What I need next is to adjust the &#39;left&#39; position by adding </span><span> &#39;</span><span>(html jQuery id: cellId) width&#39; to the </span><br>

</div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><span style="font-size:13px">positionLeft value. </span>Easy enough to do with javascript, but how is this done with Seaside jQuery?</div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">

<span style="font-size:13px"><br></span></div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">Also, are there other examples of how to
 show flyover content using Seaside jQuery?<br></div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">And what about popup content that you can interact with? i.e. content that says rendered as you move your mouse over it.</div>

<div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><span style="font-size:13px"><br></span></div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><span style="font-size:13px">Thanks for any help,</span></div>

<div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><span style="font-size:13px">Bob</span></div></div></div></div><br></div></div>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br>