Extension:DynBox
From MediaWiki.org
|
DynBox Release status: stable |
|
|---|---|
| Implementation | Tag |
| Description | Dynamic Box : Display customisable Dynamic HTML CSS Boxs for news. |
| Author(s) | Romain GEORGES |
| Version | 0.1 (2006-03-31) |
| MediaWiki | 1.5.6+ |
| Download | Extension:DynBox/DynBox.php |
| Example | [1] |
Contents |
[edit] DynBox
[edit] Download source code
- V 0.2 : Extension:DynBox/DynBox.php
See http://www.ultragreen.net for more informations
[edit] Description
Dynamic Box : Display customisable Dynamic HTML CSS Boxs for news.
- This tools is a Parser Hooker For MediaWiki how help to edit Mouse:Hover "Pop-up" box's for news or flash Displays.
- Version : 0.2
- Copyright (c) BSD <romain@ultragreen.net> Romain GEORGES 2006
[edit] Hack
- V 0.1 -> 0.2 : 16:34, 31 March 2006 (UTC) correction : CSS overwriting, rand salt value adding in CSS Class name by Lecid
[edit] Installation
- Add DynBox.php in the MediaWiki's extensions path: $MEDIAWIKI_PATH/extensions/
see download source code section
- Add the line:
require_once(" extensions/DynBox.php ");
In your $MEDIAWIKI_PATH/LocalSettings.php file
[edit] Configuration/Usage
==> DynBox put Div in absolute CSS Mode, so,
In your Wiki code add anywhere :
<dynbox title="My Title" posx=XXpx posy=XXpx iconcolor="color" iconbgcolor="color" boxcolor="color" boxbgcolor="color" color="color" bgcolor="color"> some text </dynbox>
This put a box in the right top corner of the page
- title
- Title of the Icon
- 'some text
- content of the news box
- posx
- CSS compatible right-from position
- posx
- CSS compatible top-from position
- iconcolor
- text icon color
- iconbgcolor
- background icon color
- boxcolor
- Title of the popped box color
- boxbgcolor
- Border of the popped box color
- color
- Text in the popped box color
- bgcolor
- background of the popped box color

