Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
What I have been looking for is almost like a music player. Where it will display folders (artists) and then display the contents of that folder (music). This will allow for me to upload folders and files using FTP and then my users to play or download the files. I do not need any type of reading, editing, deleting features.
Here is a quick mockup of what I have pictured in my head:
If anyone has any idea of what this is called or where to look for something please let me know because I have not been able to find anything close.
You won't be able to do it with pure HTML/Javascript. You will need some other coding framework/language to access the file system, because client-side Javascript does not have file system access.
[Update]
As some users have noted, Javascript framesworks such as Node.js could be used to gain file system access.
What you're describing is a web application. This will involve the usual webserver+web framework+clientside javascript stack. If you want to do this all in js, use something based on node.js on the server side.
I built a desktop-like media player based on Chrome's webkitdirectory a few years ago.
Here's a demo of the attribute https://html5-demos.appspot.com/static/html5storage/demos/upload_directory/index.html (Only works in Google Chrome afaik). Just select some folder and there you go.
On non-Chrome browsers the same is still possible but since there is no support for directory attribute in the input element, it will be less convenient to select files. Also on Firefox you would need MP3 decoder implemented in user code.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am using Eclipse to develop some JavaScript codes where I need auto-completion ( Code Content Assist) available. Is there anyway to activate such a thing for JavaScript codes in Eclipse?
Once you have the JavaScript Development Tools installed, you have to be working with a file in a JavaScript Source Folder. To do that, you can create a JavaScript project or enable an existing project from its Configure context menu (right-click->Configure->something JavaScript). Once that's done, if it wasn't opened automatically, bring up the project's JavaScript Include Path property page and create or mark an existing folder as a Source Folder. That should enable it for both JS files and web pages--assuming you have the web page support from the Web Tools Platform installed as well. To get the entire thing installed, you can follow the instructions at http://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F .
The defaults during conversion should set it up to deal with JavaScript that's aware of browser objects.
You need to have the Javascript Development Tools component of Eclipse installed. You can install this in Help > Install New Software.
Eclipse is best suited for Java and related technologies. Although it has a very basic support for Javascript, like you can use ctrl + O to view all the variables and functions. There is no auto complete support for Javascript.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Could someone point me to some resource to implement multiple image uploads to Java app engine blobstore using JQuery blueimp plugin?
The docs have a maven implementation but I understand porting an existing project to Maven is tricky and I want avoid this step.
Thanks
Hi I also kept struggling with this plugin but since the documentation is old so things were not working properly with the latest GAE version due to asm and some other jars.
I tried using this Plugin and its working absolutely fine for me. Also in the backend I have used the normal code for file upload as provided in GAE blobstore documentation. You can also check the real implementation of this plugin on this URL.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Iam now making a program where user enters login, pasw and then program sends it to website with post method or somethink like that, and then retrvieves html source and puts it in string.
I cant find a best option to do this. Currently my program's ui is in Qt QML and main is in c++.
I have done this before with libcurl but I dont like, so maybe there is another option.
And another problem is that iam beginner and I know just C++ and Qml. I tried javascript but i cant get it to work.
You have two options. You can either write C++ code to make the call(which will require some sort of library to help you make the call) or you can make the call in JavaScript using an XMLHttpRequest(Which is provided natively by QML).
XMLHttpRequest example:
http://qt-project.org/doc/qt-4.8/declarative-xml-xmlhttprequest-xmlhttprequest-example-qml.html
For C++ I would refer you to How do you make a HTTP request with C++? which discusses libraries that allow you to easily make the http calls in C++.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I wonder if there is a Node.js application that starts a server on the current folder to let me edit files through the web browser?
Kinda like http://www.cloud9ide.com, but for general editing (scripts, text etc).
You might want to look at Mozilla Skywriter - they are in the process of converting their server code to node.js.
You can now try making your little node.js app online with http://jsapp.us/.
It's a sandbox with Bespin/Skywriter editor and the commands to save and deploy a node.js application.
Its outside the scope of your question but if you have php access you could use http://tinymce.moxiecode.com/ and just set the value of the input field to the file you want to edit.
Then when you submit just have it overwrite the file you opened. I know its not using javascript like you asked but I though I would offer the suggestion its how I do what you where looking for.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have found that simply googling this does not return what I am looking for. I am to find something simple and easy. I don't know if this requires javascript or not. I know I can "View Page Source" but I was hoping to find a tutorial. Some examples of what I am talking about can be found here:
-IBM
-Auburn
-About.com
Javascipt code works by running code on the viewer's computer. The pages you're linking are being dynamically generated by code that runs on the webserver itself, not in the browser. More than likely, all of those sites have some sort of database behind them.
I see from your other questions that you know C#. Microsoft provides a framework that uses C# known as ASP.NET. You can write code in C# that will run whenever someone views a page on your site (provided your site is running under IIS).
The ASP.NET Community website is a great resource if you want to find out more about that.
Other such tools that perform server-side operations would be PHP, Ruby on Rails, or Django (to name a popular few).
From viewing the examples you mentioned, it does not seem like there is any javascript used to make these "browse a to z" lists. (There should be a better name for them than that. I'm just going to call it a sitemap.)
I couldn't find any tutorials online that would teach expressly this type of sitemap, but figuring it out should be pretty straight-forward. (At least for implementing sitemaps like the IBM or Auburn examples. The About.com example would be more difficult as it seems that it is backed by a database or lots and lots of individual html pages.)
The trickiest part of making a sitemap page like these is using the tag, and luckily, it is way easy. Just keep checking the source of those pages you can have your own version in no time. The most time consuming part will be putting all of the links down, from A to Z.
http://www.w3schools.com/HTML/html_links.asp