None of the sample code has buttons or dropdowns. It would be good to use
site-standard artwork templates for buttons and translatable button text.
site-standard artwork templates for buttons and translatable button text.
Code: Select all
.styleNextStepButton
{
left: 590px;
top: -24px;
z-index:6;
}
#NextStepButton
{
position:relative;
}
Code: Select all
<div id="NextStepButton" class="styleNextStepButton">
<input type="button" value="PASS" onclick="PassClick()" style="background-color:#3cb371" style="color:white; font-weight:bold">
Code: Select all
function PassClick()
{
switch (ActiveStep)
{
case 40: case 61: NextStep();
default: return;
}
}
Post by sourisdudesert »
Post by sourisdudesert »
This led me to addsourisdudesert wrote:Hello,
You can find the documentation about how to have a standard BGA button here:
http://en.doc.boardgamearena.com/Game_l ... ice_button
Cheers,
Code: Select all
this.addActionButton( 'zebutton', _(' Pass this action'), 'OnClickInterSection');
Code: Select all
dojo.connect ($('zebutton'),'onClick',this,'OnClickInterSection');
Post by sourisdudesert »