Jump to content

[SOLVED] editing file box


Northern Flame

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.