Easy-to-navigate directory of File tags

Source: Internet
Author: User

Function:

· Browse a directory to list all files and subdirectories under the directory

Usage:

<file Act=dir [id=bagname] [type=file|dir]> Directory of relative paths </file>

· ID: The name of the schoolbag returned

· Type default: Lists all files and subdirectories in the directory

· Type=file: List all files in the directory

· Type=dir: List all subdirectories in the directory

Example 1:

<chtml>    <file id=file act=dir>base</file>    <for [email protected]{file:getwidth}>        <span>@{file:[email Protected]{for:getsuffix}} </span>    </for></chtml>

Browse the base directory and return a schoolbag named file , from 0 loops to the width of the schoolbag, according to the keyword file@{for:getsuffix}(FILE0, File1, file2 ...) Remove all file and directory names

Original directory


Effect


(example file: _samples/file_dir.html)

Try it yourself.

Download and description of light-open platform resources

platform free Download:http://download.csdn.net/detail/tx18/8381859

Latest Development Manual Download: http://download.csdn.net/detail/tx18/8411089

Development example: Light Open e-commerce website , free download: http://download.csdn.net/detail/tx18/8318585

The light-open platform will be upgraded to provide you with more powerful and easy features, please note the latest development manuals

Easy-to-navigate directory of File tags

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.