InfoBox button
nav_first.pngFirst: thread:131
HTML Block
Edited: 11 Oct 2012 12:06 by: GoVegan
Comments: 0
Tags:
nav_prev.pngPrevious: thread:233
Standard Template Properties
Edited: 05 Feb 2010 11:49 by: pieterh
Comments: 0
Tags:
Last: thread:112
Image Module
Edited: 12 Nov 2009 12:22 by: pieterh
Comments: 0
Tags:
nav_last.png
Next: thread:110
NewPage Module
Edited: 19 Jan 2010 00:45 by: leiger
Comments: 0
Tags:
nav_next.png

leigerleiger wrote on 04 Feb 2010 07:48

The name might not be the best, but that can be improved.

A button is used instead of a module, because buttons can be used in-line.

Description

This code:

[[button infobox text="my infobox link" class="link-popup" height="60%" width="60%" page="info:%%fullname%%" ]]


Looks like:

my infobox link

And when the link is clicked, the screen darkens and an information box appears exactly in the same way as when you click on my name: leigerleiger. Notifications are also shown in the same way.

The content of the infobox is the content of the page in the 'page' parameter, which will support page variables like %%fullname%%.

Attributes

text
The text to show in the button. This attribute is required.
class
If no class is given, then the button looks like the button in the Join module (for consistency)
height
Height of the infobox in relation to the browser window. (50% = centred, with 25% of the page between the edge of the infobox and the edge of the browser window)
width
Width of the infobox in relation to the browser window.
page
The page to be shown in the infobox. This attribute is required.

Required: text, page
Optional: class, height, width


Start a new sub-thread

Comments: 0

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License