> The tiddler would be the fridge and links the magnets. > I'd like to be able to drag the magnets round, the click on them to > open a tiddler.
http://www.TiddlyTools.com/#PasteUpPlugin Adds edit-in-place and mouse positioning/sizing ability to <<tiddler>> macro You can do a "fridge" by creating a tiddler with content like this: <<tiddler MagnetA "" adjust>> <<tiddler MagnetB "" adjust>> <<tiddler MagnetC "" adjust>> <<tiddler MagnetD "" adjust>> <<tiddler MagnetE "" adjust>> The "" is a placeholder for the core's classname param. The "adjust" keyword adds the plugin's extended move/size handling to an embedded tiddler 'pasteup' element. When you move/size the element, the plugin automatically modifies the corresponding <<tiddler>> macro to add (or update) the x,y,w,h parameters, like this: <<tiddler MagnetA "" adjust x:... y:... w:... h:...>> The values of the x,y,w,h use CSS measurements (i.e., "120px", "3in", "10em", "50%", etc.), and defaults to "px". If you hand-enter the parameters and specify units other than px (e.g., "3in"), then subsequent mouse-based adjustments to the position/size of the element will also use those units. Of course, you can always hand-edit the x,y,w,h values at any time to 'fine tune' the layout of the embedded elements. You can also *nest* pasteup elements, so that the contained elements move as a group if the containing element is moved. For example, you could write: ------------------ [[SomeTiddler]] <<tiddler Fridge "" adjust style:"border:1px solid black;background:white;" x:1in y:1in w:3in h:4in>> [[Fridge]] <<tiddler MagnetA "" adjust>> <<tiddler MagnetB "" adjust>> <<tiddler MagnetC "" adjust>> ------------------ Then, you can move MagnetA, MagnetB and MagnetC, relative to the Fridge, and when you move the Fridge within SomeTiddler, MagnetA/B/C will follow along, keeping their relative placement to the Fridge. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios -- 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.

