put this in your form: = false;"

> I have been trying to figure out forever how to change the
> style on the Browse button of a file field and have
> finally got it.... but using the code below Coldfusion
> returns an error saying:
> The form field "imagefield1" did not contain a file.
> same thing from imagefield2 of course... its not a file
> field

> if you take the style off of imagefield1 you can see that
> the same text is in there that is in the imagefield2 field

> <cfif isdefined('form.upload')>
> <cffile action="" filefield="imagefield1"
> destination="#request.imagepath#\cache"
> nameconflict="makeunique">
> </cfif>

> <cfoutput>
> <form name="imageform" action=""> > ex.cfm?adminaction=images&imgaction=add&imgsect=#url.imgse
> ct#" method="post" enctype="multipart/form-data">
>    <input type="file" name="imagefield1" style="display:
>    none;">
>    <input type="text" name="imagefield2" size="30">
>    <input type="button" class="formbutton" > >    ield1.disabled=false;imagefield1.click();imagefield2.va
>    lue=imagefield1.value;imagefield1.disabled=true;"
>    value="Browse..."><br>
>     <input type="submit" name="upload" class="formbutton"
>     value="Upload Image">
> </form>
> </cfoutput>

> any thoughts? or is it just another failed attempt at
> trying to change the look of that damned "Browse" button

>   ----- Original Message -----
>   From: Adkins, Randy
>   To: CF-Talk
>   Sent: Thursday, August 12, 2004 2:31 PM
>   Subject: RE: Document Icons

>   look at:

>   http://demo.mindkeeper.net/filemanager
>   <http://demo.mindkeeper.net/filemanager>

>   there are many of those there that you can click
>   on and save

>     _____

>   From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
>   Sent: Thursday, August 12, 2004 2:22 PM
>   To: CF-Talk
>   Subject: RE: Document Icons

>   Well for common file types, you can always take screen
>   captures of the
>   icons from your desktop assuming you're using Windows. I
>   use SnagIt
>   for this.

>   > I was looking for the exact same thing.  Care to
>   > share?

>   > Emmet

>   >   _____

>   > From: Tangorre, Michael
>   > [mailto:[EMAIL PROTECTED]
>   > Sent: Wednesday, August 11, 2004 1:21 PM
>   > To: CF-Talk
>   > Subject: OT: Document Icons

>   > Anyone have a set of icons for various document types:

>   > .zip
>   > .doc
>   > .xls
>   > .ppt
>   > .txt
>   > .pdf
>   > .htm | .html

>   > I have a couple but they are all shapes and sizes and
>   > nothing is
>   > consistant.

>   > Thanks,

>   > -Mike

>   s. isaac dealey   954.927.5117

>   new epoch : isn't it time for a change?

>   add features without fixtures with
>   the onTap open source framework
>   http://www.sys-con.com/story/?storyid=44477&DE=1
>     _____

>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to