jQueryFileExplorer Inspired by jQueryFiletree. Most of the icons in the images folder are from jQueryFiletree.

Overview

jQueryFileExplorer

Inspired by jQueryFiletree. Most of the icons in the images folder are from jQueryFiletree.
Split.js is included and used to provide split function. It can be excluded if panel resize is not required.

DEMO

Usage

$(selector).jQueryFileExplorer({
	root: "/",
	rootLabel: "Server",
	script: "https://localhost:44316/FileExplorer/GetPath",
	fileScript: "https://localhost:44316/FileExplorer/GetPath"
});)

Parameters:

  • root: the path of the root passed to the backend url or function
  • rootLabel: the label of the root shown in the file explorer
  • script: the URL or a function that returns the content of a folder.
  • fileScript: a function or a download URL triggered when a file is clicked.

Note:

  • If the script/fileScript is a function, an object parameter {path: 'path'} is passed to the function. If the script/fileScript is a URL, a parameter 'path' with the path of the clicked folder/file is passed to the URL via POST(for folders) or GET(for files).
  • The content of a folder returned from the URL or function should be an array of objects like this:
[
	{
		label: string (e.g.: 'folder1' or 'pic.jpg')
		ext: string (e.g.: 'jpg'):
		path: string (e.g.: 'C:/Windows' or 'C:/Temp/pic.jpg')
		isFolder: bool
		isDrive: bool
		hasSubfolder: bool
		subitems:array of string (e.g.: ['1/1/2021', '100,000'])
	},
...
]

Screenshot

enter image description here

You might also like...

Generate the VitePress sidebar through the folder structure

Generate the VitePress sidebar through the folder structure

⚡ VitePress Plugin: Auto Sidebar Generate the VitePress sidebar through the folder structure. ✨ Release Notes Features Small library TypeScript Suppor

Dec 28, 2022

NoExGen is a node.js express application generator with modern folder structure, namespace/project mapping and much more! It contains preconfigured Settings and Routing files, ready to be used in any project.

Installation $ npm install -g noexgen Quick Start You can use Node Package Execution to create your node-express application as shown below: Create th

Oct 8, 2022

CPUSim is an open-source web-based animated x64 CPU simulator for educational purposes. Provided as a folder for easy distribution and without installation on the Google Chrome Browser. Powered by Unicorn.js, Capstone.js, Quasar and NASM.

CPUSim is an open-source web-based animated x64 CPU simulator for educational purposes. Provided as a folder for easy distribution and without installation on the Google Chrome Browser. Powered by Unicorn.js, Capstone.js, Quasar and NASM.

CPUSim - A Graphical CPU Simulator CPUSim is an open-source web-based animated x64 CPU simulator for educational purposes. Provided as a folder for ea

Oct 26, 2022

Compare James Webb Space Telescope images to older images.

Compare James Webb Space Telescope images to older images.

How much more powerful is the James Webb Space Telescope when compared to Hubble? Find out! More info Want to help out? CONTRIBUTING.md Blog post with

Jan 3, 2023

Simple jQuery plugin that will allow users to zoom in your images, perfect for product images and galleries.

Simple jQuery plugin that will allow users to zoom in your images, perfect for product images and galleries.

Image Zoom (jQuery) Plugin Simple jQuery plugin that will allow users to zoom in your images, perfect for product images and galleries that is less th

Aug 3, 2022

Easiest 1-click way to install and use Stable Diffusion on your own computer. Provides a browser UI for generating images from text prompts and images. Just enter your text prompt, and see the generated image.

Easiest 1-click way to install and use Stable Diffusion on your own computer. Provides a browser UI for generating images from text prompts and images. Just enter your text prompt, and see the generated image.

Stable Diffusion UI Easiest way to install and use Stable Diffusion on your own computer. No dependencies or technical knowledge required. 1-click ins

Dec 30, 2022

MidJourney is an AI text-to-image service that generates images based on textual prompts. It is often used to create artistic or imaginative images, and is available on Discord and through a web interface here.

MidJourney is an AI text-to-image service that generates images based on textual prompts. It is often used to create artistic or imaginative images, and is available on Discord and through a web interface here.

Midjourney MidJourney is an AI text-to-image service that generates images based on textual prompts. It is often used to create artistic or imaginativ

May 1, 2023

🍱 Simple nodejs support for using icons!

🍱 node-icons Usage Checkout its unit tests to see complete usage with output! import Icons from "node-icons"; const icons = Icons({ // auto install

Dec 29, 2021
Comments
  • refreshing selected folder

    refreshing selected folder

    Hello,

    Love your work. I have embedded in into my own little MVC project and added a upload functionality. After the upload I want to "refresh" the selected folder but it always goes back to the root.

    Can you tell me how to initiate a "refresh"?

    And also found a very little point of improvement...

    when you select a folder in the foldercontent-part it does not get selected (bold) in the foldertree.

    Hope to hear from you.

    With regards, KoosVDWerf

    opened by KoosvdWerf 1
Owner
null
Several custom made and legacy icons, and icons collected all over the internet in 1 set, UI selectable.

Custom icon library Several custom made and legacy icons, and icons collected all over the internet in 1 set, UI selectable. Upon each Material Design

Marius 12 Dec 12, 2022
You only need 5 icons to meet most needs!

pwa-icons-generator You only need 5 icons to meet most needs! Don't believe me? Check out this awesome article written by the author of PostCSS and Au

Евгений Епифанов 21 Aug 8, 2022
Get the last logs of your /var/log folder

var-log-crawler Get the last logs of your /var/log folder Requirements: Node installed. Hot to use: Rename .env.sample to .env and fill with your valu

David William Rigamonte 2 Jan 5, 2022
Node module for synchronously and recursively merging multiple folders or collections of files into one folder.

merge-dirs Node module for synchronously and recursively merging multiple folders or collections of files into one folder. Install yarn add @nooooooom

不见月 2 Mar 20, 2022
This repo contains the templates used in my automated obsidian weekly review video and also an accompanying vault with the folder structure expected and plugins

This repo contains the templates used in my automated obsidian weekly review video and also an accompanying vault with the folder structure expected and plugins (periodic note settings etc)

Pamela Wang 53 Dec 21, 2022
Organizes all your files from from a folder into different section automatically.

File System Organizer Global command line application Organizes all your files from from a folder into different section automatically. Functionality

KAJALIYA CHARCHIL 4 Jun 15, 2022
Patch to add .server extension to folder in Remix

?? remix-server-folders This patch updates the Remix compiler to treat all files in any folder named with .server extension as server only files. In o

Kiliman 11 Dec 9, 2022
A self-hosted Thumbnail generator/finder which creates thumbnails based on folder names and google search results.

Thumba A self hosted Thumbnail generator/finder which creates thumbnails based on folder names and google search results. Description This project use

Norbert Takács 20 Dec 15, 2022
A script that combines a folder of SVG files into a single sprites file and generates type definitions for safe usage.

remix-sprites-example A script that combines a folder of .svg files into a single sprites.svg file and type definitions for safe usage. Technical Over

Nicolas Kleiderer 19 Nov 9, 2022
Create folder of snippets to activate them in one click !

-> FR Obsidian Group Snippet This plugin allow you to set group of CSS snippets to class them and enable them in one click (or command). Also, this pl

Lisandra Simonetti 8 Dec 31, 2022