Status
Not open for further replies.

ReCyTe

Banned
Banned
2
2013
0
0
Hi,

I'm trying to add a button to select all to download box, but I can not just make it work.

Code:
<span style="border: 1px solid #5a7f97; background: #ffe4e1; display: inline-block; text-align: left">
	<div style="float: right; width: 39px; height: 34px; background: url(/images/dbox.gif) top right; margin: -1px -1px 0px 0px;"></div>
	<div style="width: 170px; height: 34px; background: url(/images/dbox.gif); margin: -1px 0px 0px -1px;"></div>
	<div style="border: 1px solid #F0F; margin: 5px 10px 0px 10px; padding: 2px; border: 1px solid #5a7f97; background: #fff;">
        [COLOR="Red"][B]<center><input type="button" value="Select All" style="width:100px;font-size:10px;margin:0px;padding:1px;" onClick="selectCode(this); return false;"></center>[/B][/COLOR]
		<div style="font: 12px Verdana, Geneva, sans-serif; color: #666; padding: 13px;"><st>{content}</st></div>
	</div>
	<div style="float: right; width: 10px; height: 10px; background: url(/images/dbox.gif) bottom right; margin: 0px -1px -1px 0px;"></div>
	<div style="width:10px; height: 10px; background: url(/images/dbox.gif) bottom left; margin: 0px 0px -1px -1px;"></div>
</span>

Apparently it should work, but to see it on the page does not work, seeing the source code I see that changing the code to

Code:
<input type="button" value="Select All" style="width:100px;font-size:10px;margin:0px;padding:1px;" [B][COLOR="Red"]& #111;nclick[/COLOR][/B]="selectCode(this); return false;">

Anyone know how to fix it, thanks
 
Status
Not open for further replies.
Back
Top