Jump to content

Recommended Posts

Im not sure exactly what language is used to do this,

but im guessing its a mixture of javascript, css, and html

so I posted it here....

 

 

anyways,

I want to create a custom file box,

<input type="file">

 

I want to be able to edit the popup box you

get when you click browse, is this possible?

if so.....

how?

Link to comment
https://forums.phpfreaks.com/topic/77753-solved-editing-file-box/
Share on other sites

You cannot do anything through HTML/CSS/Javascript. The file browse dialog box is not part of the web page, it is part of the Browser's GUI. You cannot set the value parameter or even the list of files that are displayed using a HTML type="file" input field.

 

You can do some of these things using a flash upload form, such as specify which files are listed in the dialog box. Here is an example of a flash upload form - http://swfupload.mammon.se/

 

The best you can do in HTML is style the browse button by putting the input field in a non-visible <div> and putting your own representation of a button in the same location.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.