1 | static S hcenterimage(S imgURL) {
|
2 | ret hcenterimage(imgURL, null, "", ""); |
3 | } |
4 | |
5 | static S hcenterimage(S imgURL, O[] imgParams, S beforeContents, S afterContents) {
|
6 | ret |
7 | "<table width='100%' height='100%' border=0><tr><td align=center>" + beforeContents + tag("img", "", concatArrays(new O[] {"src", imgURL}, imgParams)) + afterContents + "</td></tr></table>\n";
|
8 | } |
Began life as a copy of #1002138
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003219 |
| Snippet name: | hcenterimage - HTML code for an image in the center of the screen |
| Eternal ID of this version: | #1003219/1 |
| Text MD5: | b08a4b89af0286f5d41b3ee5bc7215a8 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-06-03 04:02:39 |
| Source code size: | 374 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 846 / 807 |
| Referenced in: | [show references] |