Page 1 of 1

Fixed BBCode

Posted: 11 Mar 2010, 06:39
by BBCode Bot
Fixed BBCode

Author: Stoker
Description: The Fixed BBCode makes content stay fixed on screen even if you scroll.
It will not work in IE6 and earlier versions of IE
Image

BBCode:

Code: Select all

[fixed]{TEXT}[/fixed]
HTML:

Code: Select all

<div style="margin: 0;  position: fixed;  top: 100px;  left: 100px;  right: auto;">
{TEXT}
</div>
Helpline:

Code: Select all

Fixed: [fixed]Text here[/fixed]
Example:

Code: Select all

[textarea][size=200]Fixed text[/size]
The fixed bbcode can contain both text, bbcodes and images.
  :D 
[img]http://www.phpbb3bbcodes.com/styles/prosilver/imageset/site_logo.png[/img][/textarea]
Demo:
Upper left corner
[fixed][textarea]Fixed text
The fixed bbcode can contain both text, bbcodes and images.
:D
Image[/textarea][/fixed]

N.B.
You can use this bbcode and put it in a forum description if you want to show important messages on the forum index.