XTIPS

Tips Mail Tools
GuestBook Link Exchange
Home Page

RANDOM INCLUDE XTFUNCTION

Original xtboard post

This is how it works
First create a folder
Foldermyfolder+

Next in this folder create a number of PLAIN TEXT FILES
The file names are unimportant but should reflect the contents

myfile +
myfile_1 +
myfile_2 +

YOU CAN CREATE AS MANY FILES AS YOU LIKE
In these files write the code for your links and images or other content like javascript
ONE SET OF CODE PER FILE

Example code

<a href="http://mylink.com"><img src="http://mylink.com/myimage.gif" alt="mytext"/></a>


For this example I am using the folder that contains my partner links

XTIPS.MOBI/XCHNG

To put the random link on your page use this code

<xt id="include" file="/myfolder/*"/>

Random file

W A P L O V E

You can only include one file from a folder per page
If you use the function twice it will include the same file

Not so random file

W A P L O V E

If you want to include more files you must make a copy of YOUR folder like this

myfolder_1 +

XTIPS.MOBI/XCHNG1

(To copy the folder you will need to copy it into another folder rename it then move it back out)

Then use the copied folders name in the function
<xt id="include" file="/myfolder_1/*" />
Another random file

COMEL

Also I have added a random include in the <title> tag for this page. reload the page to change it
you can only put xt functions and text in the title files
Random Partner

hotjam
BACK

©2009 - 2025Theoldman
JOIN XTBOARD
X T B O A R D
THE MOBILE WORLD IS
X T G E M