.
TUTORIAL
FILELIST FUNCTION
Un-styled filelist function
finger.gif
Photo 0050.jpg
Take_The_Money_And_Run.mp3
siren.mp3
rooster.mp3
pic001.bmp
Eagles_Twenty_One_320.mp3
ybcu1a.wav
djbones.mp3
virtual-bubblewrap-distv1.1.swf
gauge.jpg
mission_impossible.mid
planet-b.gif
A file list function styled with css
finger.gif
Photo 0050.jpg
Take_The_Money_And_Run.mp3
siren.mp3
rooster.mp3
pic001.bmp
Eagles_Twenty_One_320.mp3
ybcu1a.wav
djbones.mp3
virtual-bubblewrap-distv1.1.swf
gauge.jpg
mission_impossible.mid
planet-b.gif
XHTML
In the folder to be listed create a page named index On that page add this html to produce the filelist
<div class="filelist"> <xt:filelist sort_type="name" sort_dir="asc" /> </div>
CSS
Add these css classes to your creator_template.css file. The images used are from the xtgem site you can change them for your own
.filelist {border: 4px ridge#aaa; padding: 3px; background: url(http://xtgem.com/images/xhtml/bg.gif) repeat-x top #fff; max-width: 320px; margin:0 auto; text-align: left } .filelist a {text-decoration:none} .filelist a:before {content:url(http://xtgem.com/images/icons/upload_a_file.png)} .filelist a:link {color: #00a} .filelist a:visited {color: #a0a} .filelist a:hover {color: #800} .filelist br {display: inline} .filelist br:before {content:url(http://xtgem.com/images/web/line.gif); width: 150px; margin:-.5em auto 0 auto; display: block}
BACK
Pages Menu
Autocontent
Building tool
Panel menu
Site messaging
Stylesheets
Widgets
Xt functions
Blog function
Blog CSS tester
Blog BBcode
404 error custom page
Advertising
Favicons
Hidden Xt functions
Pseudoclasses
Search engines
Time and date
XtGem variables
Blog with CSS
Google+1 (web only) widget
FaceBook widgets
Free icons and graphics
Gradient borders
Gradient text
Love meter
Gradient backgrounds
Javascript blog menu
User chatrooms
Main Page
©2010 - 2026 Graham.yn.lt
0: php_network_getaddresses: getaddrinfo failed: Name or service not known
Log in