The Wayback Machine - https://web.archive.org/web/20151014140849/https://www.mediawiki.org/wiki/Extension:DynBox

Extension:DynBox

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png
DynBox

Release status: stable

Implementation Tag, MyWiki
Description Display customisable Dynamic HTML CSS boxes
Author(s) Romain GEORGES (Lecidtalk)
Latest version 0.4 (2013-05-21)
MediaWiki 1.5.6+
Database changes No
License BSD
Download DynBox.php
Changelog
Example diablotins.org
Tags
<dynbox>
Hooks used
ParserFirstCallInit

Translate the DynBox extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

The DynBox extension allows to display customisable Dynamic HTML CSS boxes for messages and news. It is a parser hook for MediaWiki who helps to edit Mouse:Hover "Pop-up" boxes for news or flash displays.

Installation[edit | edit source]

  1. Copy the code from the page with the code
  2. Place the code in a file called DynBox.php
  3. Create a directory DynBox in your $IP/extensions directory
  4. Move the file to this $IP/extensions/DynBox directory
  5. Add to the end of LocalSettings.php:
    require_once("$IP/extensions/DynBox/DynBox.php");
    
  6. Installation can now be verified through Special:Version on your wiki

Usage[edit | edit source]

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>

Configuration[edit | edit source]

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

Changelog[edit | edit source]

  • 0.3 → 0.4: 21 May 2013 - Sanitizing user input by TK-999
  • 0.2 → 0.3: 25 December 2008 - code cleanup by Sayuri
  • 0.1 → 0.2: 31 March 2006 - correction  : CSS overwriting, rand salt value adding in CSS Class name by Lecid

Navigation menu

Namespaces

Variants

More

Morty Proxy This is a proxified and sanitized view of the page, visit original site.