Ns274:DisplayDialog

From solab
Revision as of 15:04, 29 January 2012 by imported>WikiSysop (Created page with "<noinclude> This widget displays a javascript link, that will pop up a dialog window displaying the contents of the (hidden) element on the page provided. The dialog has a si...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This widget displays a javascript link, that will pop up a dialog window displaying the contents of the (hidden) element on the page provided. The dialog has a single button that dismisses the dialog.

Parameters
  • link - link text to display
  • id - html element id
  • title - title to display in dialog (optional, default : no title)
  • button - text to display in the button (optional, default: OK)
  • width - width of dialog (optional, default: auto)
  • height - height of dialog (optional, default: auto)
Usage
{{#Widget:DisplayDialog
|link=Click here
|id=hide_me
}}


{{#Widget:DisplayDialog |link=Click here |id=hide_me |title=Groove Tonight! }}