• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

javascript index / image preview trick

randal

Golden Member
You know what I"m talking about - put it in the URL bar when looking at an index of pics and it automatically puts them in a table with a preview.

Link or paste, please.
 
javascript:var sHTML=%22<html><head><title>gallery</title><body> lt;center><table border=0>%22;var y=0;for(x=0;x<document.links.length;x++){a=document.links[x].href; if (a.match(/jpe|jpeg|jpg|bmp|tiff|tif|bmp|gif|png/i)){sHTML+='<td style=%22border-style:solid;border-width:1px%22><a target=%22_new%22 href=%22'+a+'%22><img border=%220%22 width=%22100%22 src=%22'+a+'%22></a></td>'; if (!((x+1)%5)) sHTML+=%22</tr><tr>%22}};this.innerHTML=sHTML+%22</table><
center></body></html>%22;
 
Back
Top