Hi benners,
You can hide the control before it load complete. Like the example below
- <?php require_once "phpuploader/include_phpuploader.php" ?>
- <?php session_start(); ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>
- example
- </title>
- </head>
- <body>
-
- <form id="form1" method="POST">
- <div style=" visibility:hidden" id="div1">
- <?php
- $uploader=new PhpUploader();
- $uploader->MaxSizeKB=10240;
- $uploader->Name="myuploader";
- $uploader->InsertText="Select multiple files (Max 10M)";
- $uploader->AllowedFileExtensions="*.jpg,*.png,*.gif,*.txt,*.zip,*.rar";
- $uploader->MultipleFilesUpload=true;
- $uploader->Render();
-
- ?>
-
- </form>
- <div>
-
- </div>
- </body>
- </html>
- <script>
- function CuteWebUI_AjaxUploader_OnInitialize() {
- var div1 = document.getElementById("div1");
- div1.style.visibility="";
- }
- </script>
Regards,
Ken