It's very uncomfortable and not handy to use the armoury when you have to manage with a lot of items. I myself have 14 MWs and Mercs have a lot of MWs in the armoury (no, I'm not bragging around
) so it's very time consuming to select all the items when you need to put/pull out all of them at once (i.e. I've stopped playing and want to put all my items to armoury - I have to click 14 times, same when I want them back on my char). Also when we want all the MWs back to the armoury - we need to click on all of the particular items. So what I suggest is just add this code:
<script language="JavaScript">
function toggle(source) {
checkboxes = document.getElementsByName('itemslent[]');
for(var i=0, n=checkboxes.length;i<n;i++) {
checkboxes[i].checked = source.checked;
}
}
</script>
<input type="checkbox" onClick="toggle(this)" />All<br/>
Use document.getElementsByName('items[]'); or document.getElementsByName('itemslent[]'); where it's used. Add both to the management of armoury and management of your own items. Already works fine, checked it on crpg website. You just need to put it inside the template.
visitors can't see pics , please
register or
loginvisitors can't see pics , please
register or
login