Jump to content

Editing Html Windows


Recommended Posts

  • 1 month later...
  • 2 months later...

Instead of adding <br> or <br1> on tables like

<tr><td><br></td></tr> to move down the content is more easy and efficient to use the height function.

 

not only is better, but you can also move it as much as you like and not "fixed pixels".

Edited by `NeverMore
Link to comment
Share on other sites

Try something like 

<table cellpadding=0 cellspacing=0>
<tr>
        <td height=10></td>
</tr>
<tr>
        <td width=4 valign=top><img src="L2UI_CT1.Gauge_DF_Large_MP_Left" width=4 height=14></td>
        <td width=55><img src="L2UI_CT1.Gauge_DF_Large_MP_Center" width=55 height=14></td>
        <td width=4 valign=top><img src="L2UI_CT1.Gauge_DF_Large_MP_Right" width=4 height=14></td>
</tr>
</table>

http://pastebin.com/zEhsjstj

Link to comment
Share on other sites

Actually even a lot better is to use:

<table cellspacing=5></table>

You can achieve any possible space in height you wish to have.

 

If <br> is enough, then its better to use <br> because it has less letters.

Link to comment
Share on other sites

Never thought about the length of the html, but unfortunately you are right, this tale's htmls even need to edit the seperateAndSend method to be displayed

Link to comment
Share on other sites

  • 1 year later...
  • 2 months later...

Updated with annoying issue of last letter to be dropped into next line:

 

 

If you have problem with last letter or 2 last letters of text to be dropped into next line like this:

Trk9YyN.png

cellpadding being > 0 is the problem. Set it to 0, for example:

<table cellpadding=0>
Link to comment
Share on other sites

  • 3 months later...

Update:

 

In GOD(i checked just Ertheia) there is new button parameter itemtooltip="ITEM_ID_HERE"

<button width=32 height=32 itemtooltip="57" back="L2UI_CH3.aboutotpicon" fore="L2UI_CH3.aboutotpicon"></button>
//It doesn't matter what you put in back and fore, icon will be icon of the item anyway.

Tooltip is displayed when you put mouse on the icon:

Arme9CR.png

 

 

New GOD Buttons:

 

8iCzHQS.png

<button align="LEFT" icon="RETURN" action="bypass -h npc_%objectId%_Chat 0">Go back</button>
//icon value can be: NORMAL, QUEST, TELEPORT, RETURN

CENTER and RIGHT align:

pLwznzk.png

 

Unfortunately i cannot put more pictures to my first post, maybe some mod can help me get 2nd post just after the first one?

Edited by vampir
Link to comment
Share on other sites

  • 4 months later...
On 16.03.2015 at 6:47 PM, lord_rex said:

Nice and long description man. +1 is given. However you should make one like this for IL too, IL client has less things allowed from these HTML codes.

Info about interlude added, thanks.

Link to comment
Share on other sites

Added imgsrc, it works on interlude. Also i have fixed invalid <combobox code

 

- IMGSRC

SxDezwm.png

 

<html imgsrc="l2ui_ch3.tutorial_img10">

 

Also added info about Action Prefixes. If your Community Board window goes dark after click on button, make sure you used "Bypass" and not "Bypass -h"

 

Edited by vampir
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   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...