Page 1 of 1

Advanced button BBCode

Posted: 05 Mar 2010, 15:49
by BBCode Bot
Advanced button BBCode

Author: Alex Emilov
Description: You can make a link button with an image.
Note: Not XHTML Strict but works fine

BBCode:

Code: Select all

[bform]{URL2}, {URL}, {TEXT}[/bform]
HTML:

Code: Select all

<a href="{URL2}">
<button>
<img src="{URL}" alt="{URL}" align="absmiddle" />
<strong>{TEXT}</strong>
</button>
</a>
Helpline:

Code: Select all

Advanced button: [bform]URL, image URL, button text[/bform]
Example:

Code: Select all

[bform]http://www.phpbb.com/, http://www.djsimg.com/images/20182063_icon_home.gif, phpbb.com[/bform]
Demo:
[bform]http://www.phpbb.com/, http://www.djsimg.com/images/20182063_icon_home.gif, phpbb.com[/bform]