Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1003219 // hcenterimage - HTML code for an image in the center of the screen

JavaX fragment (include)

static S hcenterimage(S imgURL) {
  ret hcenterimage(imgURL, null, "", "");
}

static S hcenterimage(S imgURL, O[] imgParams, S beforeContents, S afterContents) {
  ret
    "<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";
}

Author comment

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: 610 / 567
Referenced in: [show references]