> Is there a popup plugin that displays the popup above the label? > (3)http://www.TiddlyTools.com/#ShowPopup
The TiddlyTools ShowPopup transclusion has been re-written as a TiddlySpace-compatible plugin: http://www.TiddlyTools.com/#ShowPopupPlugin http://www.TiddlyTools.com/#ShowPopupPluginInfo In addition to converting to a plugin, I've added a new keyword parameter: "above". When present, the popup will be placed above the label, instead of below it. Notes: * there actually wasn't a need for a new Popup.showAbove() function... the existing TWCore Popup.show() function already allows you to specify an (x,y) *offset* to position the popup relative to its label. All that is needed is to fetch the .outerHeight() of the popup contents and use that as a *negative* y-value in the {x:..., y:...} offset parameter, like this: var h=jQuery(d).outerHeight(); Popup.show('top','left',{x:0,y:-h}); (where 'd' is the div containing the rendered popup contents). * The new <<showPopup>> macro uses *named* parameters, so that they can now occur in any order, and use of "placeholders" for default values is no longer needed. * The plugin defines a *shadow tiddler* named ShowPopup that provides a backward-compatible 'wrapper' around the <<showPopup>> macro, so that <<tiddler ShowPopup with: ...>> will continue to work in your existing content, without *requiring* you to edit your tiddlers to use the new macro syntax. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios ---------- Was this answer useful? If so, please help support TiddlyTools: TiddlyTools direct contributions: (paypal) http://www.TiddlyTools.com/#Donate UnaMesa tax-deductible contributions: http://about.unamesa.org/Participate (paypal) TiddlyWiki consulting: http://www.TiddlyTools.com/#ELSDesignStudios http://www.TiddlyTools.com/#Contact -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

