Jump to content
  • 0

Dialog Text Sometime Not Show


Question

Posted

Hello,

I have one problem, sometime in dialog not show full text. Example:

 

html:

"<br>If you close this window, click <font color=\"LEVEL\">Start button</font><br>"

 

Start button it show all time, but sometime "If you close this window, click" not show like it be invisible color.

 

Where can be problem?

6 answers to this question

Recommended Posts

  • 0
Posted


NpcHtmlMessage html = new NpcHtmlMessage(0);

String htmlas = "<html><body><table width=\"300\"><tr><td align=\"center\"><font color=\"FF9900\">Check for Bots</font><img src=\"L2UI.SquareWhite\" width=\"300\" height=\"1\"><br></td></tr><tr><td align=\"center\">"

+ "<img src=\"Crest.crest_" + client.getServerId() + "_" + (id+idx) + "\" width=256 height=64><br>"

+ "<edit width=180 var=\"code\"><br>"

+ "<button action=\"bypass -h pinas $code\" value=\"Submit Code\" width=75 height=21 back=\"L2UI_ch3.Btn1_normalOn\" fore=\"L2UI_ch3.Btn1_normal\">"

+ "<br><br>If you close this window, click <font color=\"LEVEL\">Start button</font><br>"

+ "<a action=\"bypass -h pinas refresh\"><font color=\"9CC300\">Refresh Code</font></a><br>"

+ "</td></tr></table></center></body></html>";

html.setHtml(htmlas);

client.sendPacket(html);

  • 0
Posted

I don't understand the reason you have to use only one <td> for such a big text. Try to use more and i'm pretty sure your problems will stop.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...