Extension:DynBox

From MediaWiki.org

Jump to: navigation, search

           

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
DynBox

Release status: stable

Implementation  Tag
Description Dynamic Box : Display customisable Dynamic HTML CSS Boxs for news.
Author(s)  Romain GEORGES
Last Version  0.3 (December 25, 2008)
MediaWiki  1.5.6+
License No license specified
Download Extension:DynBox/DynBox.php
Changelog
Example  [1]

check usage (experimental)

Contents

[edit] Download source code

See http://www.ultragreen.net for more information. Project : http://www.ultragreen.net/projects/mediawiki/


[edit] Description

Dynamic Box : Display customisable Dynamic HTML CSS Boxs for news.

  • This tool is a parser hook for MediaWiki how help to edit Mouse:Hover "Pop-up" box's for news or flash displays.
  • Version : 0.3
  • Copyright (c) BSD <romain@ultragreen.net> Romain GEORGES 2006

[edit] Changelog

  • V 0.2 -> 0.3: 10:23, 25 December 2008 (UTC) code cleanup by Sayuri
  • 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

  1. Add DynBox.php in the MediaWiki's extensions path: $IP/extensions/. See the download source code section for more info.
  2. Add the line
    require_once("$IP/extensions/DynBox.php");
    into your wiki's LocalSettings.php file
  3. Installation can now be verified through Special:Version

[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
posy 
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