.
do not copy code using translator

*
xtgem
Twitter blog Facebook
TUTORIAL
Search folder using a filter
By using a file list Xt function Xt variables and some javascript you can create a search function for a folder of files.

search wildcards
Use the query (?) to match any one character
Use the asterisk (*) to match any sequence or string of characters.
Files in test folder
Eagles21.mp3
MOTD.mp3
Wild-foods.pdf
countdown.zip
djbones.mp3
gauge.jpg
harper_control.mp3
horse.ogg
impossible.mid
planet-b.gif
queen_dust.mp3
sister_rosetta.mp3
star_trekin.mp3
test_html.html
vbw.swf
wotw_ep1.mp3
wotw_ep2.mp3
ybcu1a.wav
The Code
Place this html code where you wish the search results to be shown
You can add classes and styles to the div and your own settings for the filelist
but do not add any other html code inside the div
This will show all files that BEGIN with the search string
Place this javascript on the page below the search box code.You can set the default text and the text for no results in this script

Main Page
©2010 - 2024 Graham.yn.lt
X T B O A R D
X T G E M
© MMXXIV Graham