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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..