[Mediawiki-l] Adding Button
Walter Mazza
wjmazza at gmail.com
Wed Feb 10 19:38:43 UTC 2010
Should be as simple using JavaScript...
addOnloadHook(function{
var btn = document.createElement('input');
btn.setAttribute('type','submit');
addClickHandler(btn,function(e){
// do something
});
document.getElementByID('bodyContent').appendChild(btn);
});
On 2/10/10, Herulee <heramb.forums at googlemail.com> wrote:
>
> Hello,
>
> Is it possible to add a button on the wiki page?
> and adding a event handler on that
>
> Thanx in advance
>
>
> --
> View this message in context:
> http://old.nabble.com/Adding-Button-tp27533321p27533321.html
> Sent from the WikiMedia General mailing list archive at Nabble.com.
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
--
Sent from my mobile device
Walter Mazza
More information about the MediaWiki-l
mailing list