Jump to content
  • 0

Dialog Text Sometime Not Show


wongerlt

Question

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?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0


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);

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...