How to use file star1.png attached by AttachFilePlugin in html?thank you.
<img src="[img[star1.png]]" does not work.
config.macros.rating = {
handler: function(place, macroName, params, wikifier, paramString,
tiddler) {
loadStars();
highlightnum = parseInt((tiddler.fields["rating"] ||
0));
var starsHtml='<html>',
// 使用网络路径
star='<img src="[img[star1.png]]"
onmouseover="highlight(this.id)"
onclick="setStar(this.id)" onmouseout="losehighlight(this.id)"
onmouseup="saveStar(id,title)" id="%id%" title='+tiddler.title+'
style="width:30px; height:30px; float:left;" />';
for (var i=1; i<6; i++)
{
2009/9/5 tony <[email protected]>
>
> On Sep 3, 10:14 pm, Jelly <[email protected]> wrote:
> > http://sinojelly.tiddlyspot.com/#FiveStarsPlugin
>
> Thank you Jelly; it's kinda fun and easy to rate tiddlers.
> I'm sure there will some social media themes now that tiddlers can be
> voted upon.
> I could not see the star images at tiddlyspot, but you may want to
> look into this thread on embedding images
>
> http://groups.google.com/group/TiddlyWiki/browse_thread/thread/b085f143328408d6
> or Eric's http://www.tiddlytools.com/#AttachFilePlugin if you want to
> include the star images within the tiddlywiki.
>
> Best,
> tony
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" 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/tiddlywiki?hl=en
-~----------~----~----~----~------~----~------~--~---