Changing color of button/checkbox on click.
i've been delegated task of putting pdf sports , fitness expo. don't have great deal of experience acrobat or
javascript. open suggestions best way of doing this. so... have segment of floor plan (see attached). each of squares represents booth space. need create buttons/checkboxes on each booth space once sponsor has confirmed space want can email them official looking document booth space highlighted. needs semi-transparent yellow color can read numbers underneath. each box needs able checked , unchecked upon click. in advance help.
convert image pdf , place check box form field within each image. if want use button, have lot more work. fill colors not transparent, need label each button , have add necessary code turn color on , off or toggle color button clicked.
mouse action:
var f = this.getfield(event.target.name);
if (color.equal(f.fillcolor, color.yellow))
f.fillcolor = color.white;
else
f.fillcolor = color.yellow;
if users have adobe reader, need extend reader rights pdf.
More discussions in JavaScript
adobe
Comments
Post a Comment