craigsworks.com - Support Forum

Full Version: qTip plugin ported to seaside for VA Smalltalk
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

Just want to let you all know that I ported your excellent tooltip library to smalltalk.

Release notes:

JQUIPluginQTipApp BV 2009Sept03.

Wrapper for the JQuery tooltip plugin qTip

-- http://craigsworks.com/projects/qtip/ --

Support for all options described in http://craigsworks.com/projects/qtip/docs/reference/
Only implemented shortcut methods from the API:

$(mytooltip).qtip("show"); // Shows the tooltip
$(mytooltip).qtip("hide"); // Hides the tooltip
$(mytooltip).qtip("focus"); // Focuses the tooltip
$(mytooltip).qtip("disable"); // Disables the tooltip
$(mytooltip).qtip("enable"); // Enables the tooltip
$(mytooltip).qtip("destroy"); // Destroys the tooltip

Use in Seaside is very easy:

JS Code
|id|
id := html nextId. 
   html anchor  
      id: id
      ;  tabIndex: self noTabIndex 
      ;  with: 'Show me the tooltip!!'
      ;  script: (html jQuery this script: [ <img src="http://craigsworks.com/projects/forums/images/smilies/confused.gif" style="vertical-align: middle;" border="0" alt="Confused" title="Confused" /> | 
         s << (s jQuery id: id) qtip 
            text: 'This is a tooltip which is shown when clicking on the anchor and hidden when the focus is lost. It''s even yellow!!'
            ; styleName: 'cream'
            ; styleBorderWidth: 5
            ; styleBorderRadius: 7
            ; styleTipCorner: 'topLeft'
            ; styleWidth: 300
            ; show: 'click'
            ; hide: 'unfocus'            
             ])


I published it on http://vastgoodies.com which is a open source software repository for Visual Age Smalltalk.

I don't know if any of you have experience in smalltalk and seaside, but if you have any questions, on how to use this plugin, just let me know.

Regards,

Bart Veenstra
BeArt, that's absolutely great! I'll be featuring this as a direct link on the site if you don't mind Smile Thanks for porting it.
No problem Graig!

Even published some bugfixes (in the smalltalk code, not yours) today to vastgoodies.com. Hopefully this plugin will be picked up by other smalltalk developers Smile
I don't have much experience of smalltalk and seaside. But for my new project I have to use seaside for VA Smalltalk. So any recommendation would you like to give me, as I am doing it for the very first time.
Reference URL's