XUpload - Set Default upload display

Message
Author
Roosta21
Posts: 12
Joined: May 10, 2007 11:06 am

Set Default upload display

#1 Postby Roosta21 » Jun 22, 2007 6:25 pm

Currently in the upload.html form we have settings to choose from that will select the type of transfer window displayed

is it possible to have one setting as default?

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Jul 04, 2007 7:59 am

Sure. Set required radiobutton as checked and put radiobuttons in div like that to hide them all:

Code: Select all

<div style="position:absolute;left:-9999px;">
<Input type="radio" name="pbmode" value="popup" id="popup"><label FOR="popup">Show upload status in pop-up</label><br>
<Input type="radio" name="pbmode" value="inline" id="inline" checked><label FOR="inline">Show upload status above this page (iframe)</label><br>
<Input type="radio" name="pbmode" value="inline2" id="inline2"><label FOR="inline2">Show upload status inside this table (iframe)</label><br>
<Input type="radio" name="pbmode" value="inline3" id="inline3"><label FOR="inline3">Show upload status on this page</label><br>
</div>