Você está na página 1de 12

25/1/2016

[GUIDE]TagsSupported(extended)L2JServer

L2J Server
L2JServerDiscussionBoard
Skiptocontent

Search

Search Advancedsearch

Ifyoucan'tloginoryoucan'tregister,writeZoey76adirectmessageat(require
GitHubaccount).
Whennewforumstylesarereadytheywillbereleased.

Checkourwiki!
ReportServerbugshere
ReportDataPackbugshere
Thankyouforvisitinghttp://www.l2jserver.com/

[GUIDE] Tags Supported (extended)


Forumrules
READNOW:L2jForumsRulesofConduct
Subscribetopic
Bookmarktopic
Printview
Searchthistopic
Search Advancedsearch
Firstunreadpost17posts
1
2
Next

[GUIDE] Tags Supported (extended) (#p136815)


Postbyelijahl2j21Sep2011,02:52

Hello mates!
I read topic Tags Supported (http://www.l2jserver.com/forum/viewtopic.php?f=42&t=7593) and
my opinion it`s not richly in content...
I suggest create this topic for additional learn about art of HTML in L2.
This topic for:

Any stupid questions about something


+ Sophisticated things and little samples about HTML
For example:

1. <br> vs <br1>
String1<br>String2 =

br.jpg (4.92 KiB) Viewed 1142 times


http://www.l2jserver.com/forum/viewtopic.php?t=23559

1/12

25/1/2016

[GUIDE]TagsSupported(extended)L2JServer

String3<br1>String4 =

br1.jpg (4.56 KiB) Viewed 1142 times


Result 2x<br1>=<br>

2. <title>
Old School: <html><body>Guard Kurt:<br>

OldSchool.jpg (64.69 KiB) Viewed 1142 times


New School: <html><body><title>Guard Kurt:</title>

NewSchool.jpg (66.05 KiB) Viewed 1142 times


Result USE <title>
http://www.l2jserver.com/forum/viewtopic.php?t=23559

2/12

25/1/2016

[GUIDE]TagsSupported(extended)L2JServer

3. <font>
<font name="hs12" color="LEVEL">big yellow font</font><br><br><br>
<font>small white font</font>

font.jpg (4.54 KiB) Viewed 1143 times


Result use different font styles it`s cool and beautiful
and etc...
So, next time I write about tables, images and background but what will be written by you???
P.S. Sorry for my bad English...
Top

Re: [GUIDE] Tags Supported (extended) (#p136886)


Postbyasumos22Sep2011,06:25

your English is fine, and your info is amazingly well laid out
i am assuming colorLEVEL is taking the color code already assigned to the variable for level?
if not i am confused how level makes text yellow
Top

Re: [GUIDE] Tags Supported (extended) (#p136949)


Postbyelijahl2j23Sep2011,01:32

asumos wrote:
your English is fine, and your info is amazingly well laid out
i am assuming colorLEVEL is taking the color code already assigned to the
variable for level? if not i am confused how level makes text yellow

Thx I know

, but no any questions there Please!

Top

Re: [GUIDE] Tags Supported (extended) (#p136953)


Postbyelijahl2j23Sep2011,05:12

PART II
As far as I know font color "LEVEL" is only system color. We accept it as a due.
So, start

1. <table>
http://www.l2jserver.com/forum/viewtopic.php?t=23559

3/12

25/1/2016

[GUIDE]TagsSupported(extended)L2JServer

attributes:
width;
fixwidth;
height;
border;
cellspacing;
cellpadding;
bgcolor;
background (in H5 only).
<tr></tr>
attributes not tested yet.
<td></td>
attributes:
align (=left|right|center);
valign (=top);
width;
fixwidth;
height;
background (in H5 only).
Nice sample of table for cb:
1. <html>
2. <body>
3. <center>
4. <br>
5. <br>
6. <tablewidth=610>
7. <tr>
8. <tdwidth=250align=left><aaction="bypass_bbstop"><font
color="996600">Home</a>><aaction="bypass_bbstop;XX">XX_Title</a>><a
action="bypass_bbstop;XX">XX_Title</a></font></td>
9. </tr>
10. <tr>
11. <tdheight=9></td>
12. </tr>
13. </table>
14. <tableborder=0cellspacing=0cellpadding=0align=left>
15. <tr>
16. <td><imgsrc="L2UI_CT1.Frame_DF_Hor_Large_Left"width=32height=48></td>
17. <td><imgsrc="L2UI_CT1.Frame_DF_Hor_Large_Tile"width=254height=48></td>
18. <td><imgsrc="L2UI_CT1.Frame_DF_Hor_Large_Center"width=128height=48>
</td>
19. <td><imgsrc="L2UI_CT1.Frame_DF_Hor_Large_Tile"width=254height=48></td>
20. <td><imgsrc="L2UI_CT1.Frame_DF_Hor_Large_Right"width=32height=48></td>
21. </tr>
22. </table>
23. <tableborder=0cellspacing=0cellpadding=0align=left>
24. <tr>
25. <tdFIXWIDTH=50></td></tr></table><tableborder=0cellspacing=0
cellpadding=0align=left
http://www.l2jserver.com/forum/viewtopic.php?t=23559

4/12

25/1/2016

[GUIDE]TagsSupported(extended)L2JServer

background="L2UI_CT1.Windows_DF_Large_Bg_Darker"><tr><tdfixwidth=20>
</td><tdFIXWIDTH=658>
26. <center><fontname="hs12"color="LEVEL">TitleOfTopic</font></center>
<br>
27. ContentContentContentContentContent
28. </td><tdfixwidth=20></td>
29. </tr><tr><tdfixheight=20>&nbsp;</td><tdfixheight=20>&nbsp;</td><td
fixheight=20></td>&nbsp;</tr><tr><tdfixheight=20>&nbsp;</td><td
fixheight=20>&nbsp;</td><tdfixheight=20>&nbsp;</td></tr><tr><td
fixheight=20>&nbsp;</td><tdfixheight=20>&nbsp;</td><td
fixheight=20>&nbsp;</td></tr>
30. </table><br>
31. <center>
32. <imgsrc="L2UI_CT1.Gauge_DF_CP_Center"width=750height=5>
33. </center>
34. <br1>
35. <center><fontcolor="LEVEL">BlahBlah.</font>
36. <br>
37. <tableborder=0cellspacing=0cellpadding=2>
38. <tr>
39. <tdFIXWIDTH=50></td>
40. <tdFIXWIDTH=650align=right><fontcolor="AAAAAA">BlahBlahBlah!</font>
</td>
41. </tr>
42. </table>
43. <table><tr><td>&nbsp;</td></tr></table>
44. </center>
45. <br><br>
46. </body></html>
CB.jpg

2. Attribute background
tested on <table> and <td> only yet
you can use image, animation and color in a table background (test them all in CB)
1. Image:
1. <tableborder=0cellspacing=0cellpadding=2align=left
background="L2UI_CT1.Gauge_Mp_03">
2. <tr>
3. <tdFIXWIDTH=50></td>
4. <tdFIXWIDTH=32align=left><buttonvalue=""action="bypass_bbstop;1"
width=32height=32back="L2UI_CT1.Icon_DF_MenuWnd_Skill_Down"
fore="L2UI_CT1.Icon_DF_MenuWnd_Skill"></td>
5. <tdFIXWIDTH=410align=left><fontcolor="CC9933"><b>ServerRules</b>
</font>
6. <br1><fontcolor="999999">Readthem!</font></td>
7. </tr>
8. </table>
9. <br>
10. <center>
http://www.l2jserver.com/forum/viewtopic.php?t=23559

5/12

25/1/2016

[GUIDE]TagsSupported(extended)L2JServer

11. <imgsrc="L2UI_CT1.Gauge_DF_CP_Center"width=750height=5>
12. </center>

2. Animation:
You can use firework in background
1. <tableborder=0cellspacing=0cellpadding=2align=left
background="L2UI_CT1.ItemEnchant_DF_Effect_Success_01">
2. <tr>
3. <tdFIXWIDTH=50></td>
4. <tdFIXWIDTH=32align=left><buttonvalue=""action="bypass_bbstop;1"
width=32height=32back="L2UI_CT1.Icon_DF_MenuWnd_Skill_Down"
fore="L2UI_CT1.Icon_DF_MenuWnd_Skill"></td>
5. <tdFIXWIDTH=410align=left><fontcolor="CC9933"><b>ServerRules</b>
</font>
6. <br1><fontcolor="999999">Readthem!</font></td>
7. </tr>
8. </table>
9. <br>
10. <center>
11. <imgsrc="L2UI_CT1.Gauge_DF_CP_Center"width=750height=5>
12. </center>

textures with animation:


L2UI_CT1.Gauge_Mp_01;
L2UI_CT1.ItemEnchant_DF_Effect_Success_01;
L2UI_CT1.ItemEnchant_DF_Effect_LoadingClover_01;
L2UI_CT1.ItemEnchant_DF_Effect_Loading_01;
L2UI_CT1.ItemEnchant_DF_Effect_Failed_01;
L2UI_CT1.LoadingAniWnd_DF_ANI01;
L2UI_CT1.MiniGame_DF_Effect_01 and etc.
3. Color:
1. <tableborder=0cellspacing=0cellpadding=2align=left
background="CC9933">
2. <tr>
3. <tdFIXWIDTH=50></td>
4. <tdFIXWIDTH=32align=left><buttonvalue=""action="bypass_bbstop;1"
width=32height=32back="L2UI_CT1.Icon_DF_MenuWnd_Skill_Down"
fore="L2UI_CT1.Icon_DF_MenuWnd_Skill"></td>
5. <tdFIXWIDTH=410align=left><fontcolor="CC9933"><b>ServerRules</b>
</font>
6. <br1><fontcolor="999999">Readthem!</font></td>
7. </tr>
8. </table>
9. <br>
10. <center>
11. <imgsrc="L2UI_CT1.Gauge_DF_CP_Center"width=750height=5>
12. </center>

3. <image>
http://www.l2jserver.com/forum/viewtopic.php?t=23559

6/12

25/1/2016

[GUIDE]TagsSupported(extended)L2JServer

image like background without colors


attributes:
src="UTXFileName.Texturename"
example:
src="L2UI_CT1.RadarMap_DF_MinusBtn_Down"
width and height.
So, next time I write about buttons, comboboxes and textboxes(edit) but what will be written
by you???
P.S. Sorry for my bad English
Top

Re: [GUIDE] Tags Supported (extended) (#p140764)


Postbyelijahl2j24Nov2011,05:15

PART III
1. <button>
attributes:
value: text on button;
action: event onClick like tag <a>;
height;
width;
back: background of button onMouseDown;
fore: background of button.
example:
1. <buttonvalue=""action="bypass_bbstop;2"width=32height=32
back="L2UI_CT1.Icon_DF_MenuWnd_Skill_Down"
fore="L2UI_CT1.Icon_DF_MenuWnd_Skill"/>

L2UI_CT1.Icon_DF_MenuWnd_Skill and L2UI_CT1.Icon_DF_MenuWnd_Skill_Down are textures


names in file clientpath\SysTextures\L2UI_CT1.utx
note:
L2UI_CT1.utx content Icon_DF_MenuWnd_Skill, Icon_DF_MenuWnd_Skill_Down and
Icon_DF_MenuWnd_Skill_Over
if you will use textures names not contain "_Over" you will get black rectangle OnMouseOver
event.
view:
Icon_DF_MenuWnd_Skill.png
Normal background
Icon_DF_MenuWnd_Skill.png (1.5 KiB) Viewed 976 times
Icon_DF_MenuWnd_Skill_Down.png
OnMouseDown background
Icon_DF_MenuWnd_Skill_Down.png (1.53 KiB) Viewed 975 times
http://www.l2jserver.com/forum/viewtopic.php?t=23559

7/12

25/1/2016

[GUIDE]TagsSupported(extended)L2JServer

Icon_DF_MenuWnd_Skill_Over.png
OnMouseOver background
Icon_DF_MenuWnd_Skill_Over.png (1.55 KiB) Viewed 975 times

2. <combobox>
attributes:
var: id of element for html;
list: strings are displayed on the combobox;
width.
example:
1. <comboboxvar="comboname"list="string1;string2;string3"width="100"/>

view:
combo2.png
Combobox
combo2.png (4.74 KiB) Viewed 976 times

3. <edit>
attributes:
var: id of element for html;
width.
example:
1. <editvar="editname"width="150">

view:
edit2.png
Edit
edit2.png (1.54 KiB) Viewed 976 times

P.S. Sorry for my bad English


Top

Re: [GUIDE] Tags Supported (extended) (#p143672)


Postbyden0110123Jan2012,14:37

How to install max number of characters for <edit> ?


Top

Re: [GUIDE] Tags Supported (extended) (#p143683)


Postbyjurchiks23Jan2012,19:39

It is quite possible what you're asking is not supported by the client.


http://www.l2jserver.com/forum/viewtopic.php?t=23559

8/12

25/1/2016

[GUIDE]TagsSupported(extended)L2JServer

The best way to do it without relying on the client would be either send a fail message if the
entered text is too long, or to trim it down to some predefined length.
Top

Re: [GUIDE] Tags Supported (extended) (#p143734)


Postbyden0110124Jan2012,21:40

ut the player can enter not count the number of characters. It is not
convenient.
Top

Re: [GUIDE] Tags Supported (extended) (#p143736)


Postbynonom24Jan2012,21:48

den01101 wrote:
ut the player can enter not count the number of characters. It is
not convenient.

Maybe not all elements can handle the same attributes, w3c included not just ncs0ft.
Top

Re: [GUIDE] Tags Supported (extended) (#p143739)


Postbyjurchiks24Jan2012,22:45

The <edit> tag is not used in any publicly accessible html anyway so they wouldn't care much
about convenience.
Top

Re: [GUIDE] Tags Supported (extended) (#p159946)


PostbyHyrelius18Feb2013,00:01

I know this thread is already a bit old, but the list of allowed htmlelements and attributes is
very, very helpful.
I'd like to add, that the element combobox allows a preselection (that can be set using
msg.replace) using the attribute "sel".
1. <comboboxvar="cmbbox"sel="Everywhere"list="Here;There;Everywhere"
width=130/>

Also: note, that the list of possible comboboxentries is delimited using a semicolon.
However: this does not mean that you're allowed to have whitespaces in each option. In fact
this option is not retrievable (using $cmbbox) if the value contains whitespaces. Hence do not
use spaces in the list.
Top

Re: [GUIDE] Tags Supported (extended) (#p159957)


Postbyjurchiks18Feb2013,12:37

Somebody should fix the topic title to [GUIDE]...


http://www.l2jserver.com/forum/viewtopic.php?t=23559

9/12

25/1/2016

[GUIDE]TagsSupported(extended)L2JServer

Top

Re: [GUIDE] Tags Supported (extended) (#p159959)


PostbyUnAfraid18Feb2013,14:46

jurchiks wrote:
Somebody should fix the topic title to [GUIDE]...

Done
Top

Re: [GUIDE] Tags Supported (extended) (#p162793)


Postbyserkamikadze26Apr2013,08:17

Someone knows how to make checkbox?


Previously, as it has done through the picture as a reference
1.
2. <aaction="****">
3. <imgsrc=L2UI.CheckBoxwidth=12height=12>
4. </a>
5.
But this does not work in H5
I tried to make it so
1.
2. <buttonvalue=""action=""width=12height=12back="L2UI.CheckBox"
fore="L2UI.CheckBox">
3.
But there is a problem with the onmouseover img...
P.S. The same problem in lottery manager
Top

Re: [GUIDE] Tags Supported (extended) (#p162794)


Postbyserkamikadze26Apr2013,09:57

If anyone is interested I came up with an alternative.


I use a button with the text "" or "" and in the core process it
1.
2. <buttonvalue="%cb_1%"action="%cb_1_action%"width=20height=16
back="L2UI_ct1.button_df"fore="L2UI_ct1.button_df">
3. <buttonvalue="%cb_2%"action="%cb_2_action%"width=20height=16
back="L2UI_ct1.button_df"fore="L2UI_ct1.button_df">
4. .......
5.
result

http://www.l2jserver.com/forum/viewtopic.php?t=23559

10/12

25/1/2016

[GUIDE]TagsSupported(extended)L2JServer

Top
Displaypostsfromprevious: Allposts

Sortby Posttime

Ascending

Go

Subscribetopic
Bookmarktopic
Printview
17posts
1
2
Next
ReturntoFAQHOWTOGuides

Jumpto
GeneralInformation
Announcements
FAQHOWTOGuides
OfficialLiveSupport
ServerDevelopment
ServerDiscussion
ErtheiaDevelopment
ErtheiaSupport
Solved/InvalidErtheiaBugReports
GoddessofDestructionDevelopment
HighFiveDevelopment
HighFiveSupport
InterludeDevelopment
InterludeSupport
UserContributions
CommittedUserContributions
ArchivedUserContributions
FeatureRequests
Completed/RejectedMissingFeatures
BugReports
ExploitsandSevereBugs
Solved/InvalidBugReports
ServerCustomization
CustomFeaturesRequests
CustomServerModifications
CustomDatapackModifications
DatapackDevelopment
DatapackDiscussion
UserContributionsforDatapack
QuestContributions
AIContributions
CommittedUserContributionsforDatapack
ArchivedUserContributionsforDatapack
DatapackSupport
http://www.l2jserver.com/forum/viewtopic.php?t=23559

11/12

25/1/2016

[GUIDE]TagsSupported(extended)L2JServer

ScriptSupport
SQLSupport
SQLContributions
HTMLSupport
HTMLContributions
XMLSupport
GeneralDiscussion
Tools&ToolsSupport
L2
OffTopicDiscussion
Website/ForumSupport&Suggestions
GeneralDevelopment
Geodata
PacketsAnalysis
GameMechanics
Archives
L2jCommunityServer[Discontinued]
L2jClientDevelopment
LegacySupport[READONLY]
JythonScripts

Who is online
Usersbrowsingthisforum:Noregisteredusersand0guests
PoweredbyphpBBForumSoftwarephpBBLimited

http://www.l2jserver.com/forum/viewtopic.php?t=23559

12/12

Você também pode gostar