Jump to content
  • 0

html Teleport Confirm Window in Buttons


BloodRav3N

Question

Hello MxC, 

I have a problem with adding the teleport confirm window into buttons.

 

Teleport Window:    5a35a6ea29fe5_TeleportWindow.PNG.41928c9828feea11d53c534b3f248478.PNG

 

 

If the html code is like this:

<a action="bypass -h npc_%objectId%_goto 50016" msg="811;Farm Zone 1"><font color="80F0FF">Farm Zone 1</font></a>

It works... But if I want to add it to a button like this:

<a action="bypass -h npc_%objectId%_goto 80000" msg="811;Farm Zone 1"><button value="Farm Zone (1)" width="134" height="21" back="L2UI_ch3.BigButton3_over" fore="L2UI_ch3.BigButton3"></a>
  
  or like this:
  
<button value="Farm Zone (1)" action="bypass -h npc_%objectId%_goto 80000"  msg="811;Farm Zone 1 width="134" height="21" back="L2UI_ch3.BigButton3_over" fore="L2UI_ch3.BigButton3">

Nothing happens...

Who knows how to fix this?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

maybe you miss a quote here 

msg="811;Farm Zone 1 width="134" height="21"

 has to be :

msg="811;Farm Zone 1" width="134" height="21"

Link to comment
Share on other sites

  • 0
47 minutes ago, SweeTs said:

Button tag doesn't 'support' the msg. You have to decide, button or confirmation window.

Oh okay... I thought it works because I think I saw it in other servers... anyway it's not that important for me. Thanks for the reply :)

Link to comment
Share on other sites

  • 0
2 hours ago, BloodRav3N said:

Oh okay... I thought it works because I think I saw it in other servers... anyway it's not that important for me. Thanks for the reply :)

Maybe it was dlg  window

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...