sS screenshotLin2(S imgID, S progID) { ret screenshotLink(progID, imgID); } sS screenshotLink(S progID, S imgID) { ret ahref(snippetLink(imgID), himgw(snippetImgLink(imgID), 200)) + " " + ahref(snippetLink(progID), "(src)"); } static S bigScreenshot(S imgID, S progID) { ret bigScreenshot(imgID, progID, ""); } static S bigScreenshot(S imgID, S progID, S title) { if (empty(title)) title = getSnippetTitle(imgID); ret h2(htmlencode("= " + title + " =")) + bigScreenshot_noTitle(imgID, progID); } static S bigScreenshot_noTitle(S imgID, S progID) { ret p(ahref(snippetLink(progID), himg(snippetImgLink(imgID))) + "<br>" + ahref(snippetLink(progID), "(src)")); }
Began life as a copy of #1003253
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1006016 |
| Snippet name: | HTML screenshot linking functions |
| Eternal ID of this version: | #1006016/1 |
| Text MD5: | e15d11657ed7b5414417bf7b7cbd1d3b |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-01-10 14:24:13 |
| Source code size: | 712 bytes / 23 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 766 / 1262 |
| Referenced in: | [show references] |