> http://www.TiddlyTools.com/#MiniBrowserPlugin

Ah, I'd foolishly forgotten about that one, so I just wasted ~5 minutes 
writing this quick hack:
     http://tiddlywiki.pastebin.com/f6b0df3b8
(code also attached below)


-- F.


---------------


/***
<<mURL "http://google.com"; "http://tiddlywiki.com"; "http://tiddlywiki.org";>>
***/
//{{{
(function($) {

config.macros.mURL = {
   handler: function(place, macroName, params, wikifier, paramString,
     tiddler) {
     var container = $('<div class="mURL" />').appendTo(place);
     for(var i = 0; i < params.length; i++) {
       var url = params[i];
       var callback = function(ev) {
         var url = $(this).attr("href");
         $("iframe", container).attr("src", url);
         return false;
       };
       $("<a />").attr("href", url).text(i).click(callback).
         appendTo(container);
     }
     var el = $("<iframe />").appendTo(container);
   }
};

})(jQuery);
//}}}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to