> how to use onload/onmouseover/etc in html section of tiddler?
I don't believe using HTML syntax there is supported.
(This looks like you're using Eric's InlineJavaScriptPlugin? I'm not
intimately familiar with its capabilities.)
You might wanna use a simple macro* instead:
http://tiddlywiki.org/wiki/Dev:Macros
Macro handlers are executed when the macro call is rendered.
For example, you could generate the elements on the fly using jQuery:
config.macros.rating = {
handler: function(place, macroName, params, wikifier,
paramString, tiddler) {
jQuery('<img class="rating" />').
attr("src", "star1.png").attr("id", "1").
mouseover(highlight).
mouseup(saveStar).
click(setStar).
appendTo(place);
}
};
HTH.
-- F.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tiddlywikidev?hl=en
-~----------~----~----~----~------~----~------~--~---