Help for editing a HTML please

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
kurtspirit
Posts: 411
Joined: Thu Mar 12, 2009 8:20 pm
Location: Toulouse, France

Help for editing a HTML please

Post 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!
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Help for editing a HTML please

Post 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.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Hyrelius
Posts: 257
Joined: Thu Dec 16, 2010 5:16 am

Re: Help for editing a HTML please

Post 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.
Image
I don't mind helping - however: I only do so if I want to.
No support for other server packs than L2J.
Post Reply