The radio buttons there are *STRICTLY* for demonstration purposes. To show you what kinds of controls are *POSSIBLE* with the library he gives you.
GET RID of the radio buttons (and check boxes!) when using this code for a dedicated purpose.
*INSTEAD* change the code from
Code:
function set_drop_option(radio_button) {
REDIPS.drag.drop_option = radio_button.value;
}
to
Code:
REDIPS.drag.drop_option = "switch";
and put that line inside the existing
window.onload function code.
Similar is true for the checkboxes. For example, if you want to always do the confirm before trashing something, just put the line
Code:
REDIPS.drag.trash_ask = true;
inside that same onload function.