Page 1 of 1

Help for editing a HTML please

Posted: Sun May 11, 2014 1:15 pm
by kurtspirit
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:6523
L2JDP Revision Number:10320

Hi again,

on first, thanks for your work before all this years, this is incredible!..
So, i try to change an effect on a GK custom NPC... On mouseover, it have a decor (like on Kingdom on screenshot) and i want to remove it :
Image

Here is the HTML :

Code: Select all

<html>  <head>    <title>Global Teleporter</title>  </head><body><center><img src="L2UI_CH3.herotower_deco" width=256 height=32><center><br1><table cellspacing=-1><tr><td><img src="L2UI.SquareBlank" width=40 height=20></td><td><img src="L2UI.SquareBlank" width=32 height=20></td><td><img src="L2UI.SquareBlank" width=32 height=20></td><td><img src="L2UI.SquareBlank" width=32 height=20></td><td><img src="L2UI.SquareBlank" width=32 height=20></td><td><img src="L2UI.SquareBlank" width=32 height=20></td><td><img src="L2UI.SquareBlank" width=40 height=20></td></tr></table><center><img src="L2UI.SquareWhite" width=200 height=1></center><table bgcolor=3c3c3c width=204><tr><td><center><font color="#c35e13">Global Teleporter</font></center></td></tr></table><center><img src="L2UI.SquareWhite" width=200 height=1></center><table cellspacing=-1><tr><td><img src="L2UI.SquareBlank" width=40 height=20></td><td><img src="L2UI.SquareBlank" width=32 height=20></td><td><img src="L2UI.SquareBlank" width=32 height=20></td><td><img src="L2UI.SquareBlank" width=32 height=20></td><td><img src="L2UI.SquareBlank" width=32 height=20></td><td><img src="L2UI.SquareBlank" width=32 height=20></td><td><img src="L2UI.SquareBlank" width=40 height=20></td></tr></table><br><tr><td></td></tr><td align=center><button value="Kingdoms" action="bypass -h npc_%objectId%_Chat 22" width=120 height=26 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF_Down"></td></tr><table width=230><tr><td></td></tr><tr><td align=center><button value="Townships" action="bypass -h npc_%objectId%_Chat 21" width=90 height=26 back="L2UI_CT1.Button_DF_Downr" fore="L2UI_CT1.Button_DF_Down"></td><td align=center><button value="Town Center" action="bypass -h npc_%objectId%_goto 50008" width=90 height=26 back="L2UI_CT1.Button_DF_Downr" fore="L2UI_CT1.Button_DF_Down"></td><td align=center><button value="Newbie Zones" action="bypass -h npc_%objectId%_chat 2" width=90 height=26 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF_Down"></td></tr><tr><td></td></tr><tr><td align=center><button value="Necropolis" action="bypass -h npc_%objectId%_Chat 18" width=90 height=26 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF_Down"></td><td align=center><button value="Catacombs" action="bypass -h npc_%objectId%_Chat 19" width=90 height=26 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF_Down"></td><td align=center><button value="Interlude Areas" action="bypass -h npc_%objectId%_Chat 24" width=90 height=26 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF_Down"></td></tr><tr><td></td></tr><tr><td align=center><button value="Gracia Areas" action="bypass -h npc_%objectId%_Chat 27" width=90 height=26 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF_Down"></td><td align=center><button value="Arenas" action="bypass -h npc_%objectId%_Chat 31" width=90 height=26 back="L2UI_CT1.Button_DF_Downr" fore="L2UI_CT1.Button_DF_Down"></td><td align=center><button value="Other Spots" action="bypass -h npc_%objectId%_Chat 23" width=90 height=26 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF_Down"></td></tr></table><center><center><img src="L2UI_CH3.herotower_deco" width=256 height=32><center><br1><table width=230><tr><td></td></tr><tr><td align=center><button value="Farm Zones" action="bypass -h npc_%objectId%_Chat 29" width=90 height=26 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF_Down"></td><td align=center><button value="PvP Zones" action="bypass -h npc_%objectId%_Chat 30" width=90 height=26 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF_Down"></td></tr></table><tr><td></td></tr><td align=center><button value="XP Zone" action="bypass -h npc_%objectId%_goto 50186" width=125 height=27 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF_Down"></td></tr><br1><center><img src="L2UI_CH3.herotower_deco" width=256 height=32></center></body>   </html>
I try to remove :

Code: Select all

<td><img src="L2UI.SquareBlank" width=40 height=20></td>
table but that's not this and

Code: Select all

 fore="L2UI_CT1.Button_DF_Down"
to...

Can someone tell me where can i find the code for remove this image on mouse over please?

Thank you!

Re: Help for editing a HTML please

Posted: Sun May 11, 2014 2:37 pm
by jurchiks
Mouseover is the back attribute. It appears some of your buttons have the wrong value for it.
back="L2UI_CT1.Button_DF_Downr" - this is wrong, it should be Down, not Downr.

Also, your image link is wrong. You should only copy the link that the website gives you, not something from their own HTML structure.

Re: Help for editing a HTML please

Posted: Sun May 11, 2014 3:13 pm
by Hyrelius
Do note though:
if you use images for fore and back in a button - if you have an image, that does not have a corresponding "_over" image in a client game texture, you will see a black background while the mouse is over the button.

Therefore do look for images, that - preferably - have _over and _down counterparts.