From ea2af32328972dc8b415fc2efc3669052f5d1b58 Mon Sep 17 00:00:00 2001 From: timb Date: Thu, 1 Apr 2010 00:34:49 -0700 Subject: commits so i can merge --- static/js/pichat.js | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'static/js/pichat.js') diff --git a/static/js/pichat.js b/static/js/pichat.js index 4c1ca98..8211168 100755 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -589,4 +589,30 @@ Share = { var url = "http://delicious.com/save?url=" + message.img + "&title=" + message.img + "¬es=" + message.via Share.openLink(url) } -} \ No newline at end of file +} + +// uhhh todo: move preload stuff into js: +// var nextImage = new Image(); +// nextImage.src = "your-url/newImage.gif"; + +// mAcRoMeDiA sHiT +function MM_swapImgRestore() { //v3.0 + var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { + d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} + if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i