Mobile version of this pageBaconWhores ha!
Next:
Encrypted files in Emacs
Related blogs
WEBoggle mind bogglingly addictiveAccessible Pop-Up script
Autosaving textarea with AJAX
Now I have a Gmail account
Interesting lesson learnt on shortcut taking in usability
RememberYourFriends.com running jQuery
DOM Scripting
AJAX accelerated web widgets
XMLHttpRequest Javascript usage example
Good usage of drop-downs
Intel.com incompatible to Mozilla
Evil HTML frames
Changing the size of a textarea box
Google is blind
Regular Expressions in Javascript cheat sheet
The Official Dilbert Widget
Gmail spam filter
Gmail account giveaway
Gmail shortcuts
Gmail catching up with the IssueTrackerProduct
Related by category
File attachment widget with Javascript
http://www.peterbe.com/plog/file-attachment-widget/test.htmljavascript, widget, file, attachment, file upload, gmail
25th of February 2005
The Gmail user interface has a good way of dealing with file attachments that I would like to incorporate into the IssueTrackerProduct Add Issue page to make it easier and more flexible to use.
Unlike Gmail, the IssueTrackerProduct can't rely on Javascript so this has to work equally well in Lynx, IE or Firefox. The Lynx people will have to do with the existing interface where you get a list of file attachment inputs. The people with Javascript support will get a hyperlink that when clicked shows a file input box.
Without further ado, please have a test
Did it work?
Was it user-friendly do you think?
Do you prefer the old fashioned input?
The idea is that the Javascript is to be driven by server logic (e.g. Zope) because the server defines a maximum number of file uploads and the form input should reflect this.
Some work is still needed to make this more compact and easily deployable but for now, please give me your feedback on what you've seen.
Comment
G'day Peter.
I am new at website building so I am quite 'stupid'. I love your file attachment widget and would like to incorporate it into my site for the user to upload pictures and then press submit to send to my email, contents of my form plus the attached pictures. I want the user to be able to send up to 8 pictures an only in jpg, gif or bmp format. Are you able to help me with this??
Regards,
Kevin
Hello Pete!
I am very interested in using your file-attachment-widget on my website: silkworth.net.
It would be great if this can become a possibility as my site is for historical purposes and I'd like to give the visitor to my site the opportunity to send attachments of what ever information they may have for me to concider adding to my site. It has grown to 2 GB's+ in size.
Please get back in touch with me and let me know if this can become a reality.
Thanking you in advance,
Jim Myers,
http://www.silkworth.net/sitemap.html
PS: It would be like giving your script a test drive on my site.
Hi Pete,
I am trying to do the same job that u have already done. Is that possible for u to share your code with me? The widget that u have made is very cool..
Cheers,
Bob







Save this page in del.icio.us
Just tested. This works with Konquerer.