コトバノウタカタ

よしなしごとをつらつらとつづるばしょ。

画像一覧bookmark

よくあるとは思うけど。サイト内の画像をサムネイルで一覧表示して、クリックで拡大。

javascript:(function(){var%20v,w=window,d='document',a='IMG'.split(','),h=w[d].title,x=[],t,s,r,e,j=-1;function%20f(w){var%20i=0;while(v=w.frames[i++])try{f(v)}catch(v){}i=0,e=w[d].getElementsByTagName(t);while(v=e[i++])if((r=j==6&&/^(src|url|movie|filename)$/i.test(v.name)?v.value:v.src||v.href||v.data)&&!x[r]&&!/script:/.test(r))x[r]=1,s+=('<img%20border=1%20style="max-width:300px;max-height:150px"%20src='+r+'>').link(r)}while(t=a[++j]){s='';f(w);if(s)h+='<h3>&lt;'+t+'&gt;</h3>'+s}with(w.open()[d])open(),write(h),close()})()