I want to select a few files and be able to drag and drop them into the web browser for my website. What is the most reliable way to drag and drop files/photos across major browsers like Firefox and Chrome also does Google provide any libraries for this?
I hope you want the feature same like gmail attachment feature (We can just drag and drop files).
For this we need to use flash. I hope, in Gmail they are using flash
Check with this posts, you will get some ideas (using native DnD)
1) Drag-and-drop file upload in Google Chrome/Chromium and Safari?
2) Native Drag + Drop file upload in Firefox 3.6
Related
i want to develop an extension for both chrome and firefox and need to insert a button to gmail page. In chrome i use Inboxsdk and it work very fine like this: image
Unfortunately, it looks like inboxsdk is not supported on the firefox extension. I tried to load the inboxsdk script but nothing happened on gmail. I want to ask is there a way to use Inboxsdk on firefox extension? Or is there any other way to insert the button into gmail as inboxsdk? Thankyou.
The InboxSDK is currently just supporting Chrome and Safari Browser extensions.
What browsers are supported? Chrome and Safari are currently
supported. Chrome version 36 and Safari 7 are the minimum versions we
support.
Firefox support is under consideration; please let us know if you're
interested.
FAQ - Supported Browsers
One approach to add buttons without InboxSDK to compose views could be using MutationObservers and check whenever a compose view is added to the DOM. Find the send button and append your own button dynamicly. The hard part will be to find a way how you can reliably identify compose views/send buttons.
Classnames could work but I'm bot sure if gmail has consistent classnames and ids you can use (obfuscation etc.).
I'm looking for the chrome extension that allows you to edit html source and instantly view the result. See the screenshot for mac, perhaps there is no such software available for windows version of chrome, but I would appreciate the mac version reference too.
There is already this kind of tool built in to Chrome. If you right click on HTML page and select "Inspect Element" you can make your changes and Chrome will update itself automaticly.
If you don't like this feature however and want one that looks beter, check out this link. I'm almost certain there will be some results that you like.
https://chrome.google.com/webstore/search-apps/Editor
I'm terribly sorry, this is NOT a chrome plugin, but node.js application https://github.com/phuu and this is really good one see the screen
I have some pdf files located on a http server:
Like:
http://domain.com/files/file1.pdf
http://domain.com/files/file1.pdf
http://domain.com/files/file1.pdf
I need to display these files on a mobile application using java me.
I tried to display them by opening Google Docs Viewer with platformRequest. However it seems Google Docs Viewer uses ajax and many mobile browsers does not support it.
Is there an alternative for "Google Docs Viewer" for mobile devices ? Or is there a better solution for this problem ?
Unless you have something can interpret the PDF on the phone, you may need to convert the PDF to images on the server for display purposes.
We have a browser based application written in PHP in which I want to drag-n-drop files from the windows explorer or directly email attachments(this would be very cool). On dropping the files in the browser application, it should save it on a particular folder on the server. Any help on how this can be achieved would be really appreciated.
JS or HTML5 would seem to be your best bets. But I have had trouble with d&d in MSIE (FF was ok). The downside is that HTML is not scheduled to be finalized until 2022(!) - you can expect support before then (even today), but it may not be consistent.
There is a good HTML demo here http://ljouanneau.com/lab/html5/demodragdrop.html
This will also allow you to d&d stuff from the browser to the PC (bi-directional)
I don't do JS so can't help you there, sorry (I'm a PHP guy too ;-)
I want to be able to open my website and use some kind of firefox plugin to re-arrange some Html on the site by drag-and-drop and be able to use that modified source. I used to use a css plug-in but do not remember it anymore. Are there any cool tools or plugins avaiable?
It's not drag-and-drop, but Firebug will let you modify any web page in Firefox. You'll have to edit the HTML/CSS source directly, though; once you're done, you should be able to copy and paste into a text editor.