Widget that will enable visitors to give you/the site a virtual beer by clicking on the widget.
=1.0.4= Small fix of html entities and added all languages as default search for twitter
=1.1=
before widget text<br/>
- after widget text<br/>
- before title text<br/>
- after title text<br/>
- use image option<br/>
- use link option (converts text start with 'http://' and twitter macros ('@' and '#') into clickable links)<br/>
<br/>
+ The generated code is valid, so the SGML validator won't alert for invalid HTML elements in JS code.<br/>
+ List item CSS classes (odd, even) intead of inline style<br/>
+ some bug fixes caused HTML validation errors<br/>
Curtesy of Gixx
=1.1.2=
fixed the reported regexp bug, and also made some code-beautification:
- RegExp fix to not include invalid characters into twitter macro links
- some more validation fixes
- a bit of code optimalization
- each part of the twitter now has its own SPAN tag, to make it easier for styling (remember: #twitter_div span{display:block;} may come in handy)
Warning: existing layout desing may break upon updating!
The new structure is the following (only when use the ‘Search’ option):
[div id="twitter_div"]
[ul]
[li class="odd"]
[span class="icon"][img tag][/span]
[span class="user"][a tag, link to twitter][/span]
[span class="date"]date[/span]
[span class="tweet"]tweet[/span]
[/li]
[li class="even"]
…
[/li]
…
[/ul]
[/div]
Requires: 2.3 or higher
Compatible up to: 2.8.4
Last Updated: 2009-8-19
Downloads: 5,861




