The Randomised text library keeps your site visitors' interest and stimulates them to read much more of your content than they would ever do on a static page. It can contain any number of 'articles', one of which will be output each time the Home Page is loaded.
To give full control over the content, HTML, style codes and JavaScript can be used in Randomised text includes. And because they are stored as files in your filing system, they can incorporate content copied into place by a web designer, or generated from other content by a program script.
As a logged-in admin user, click the Home Page Admin link from the Home Page, and choose the Random text Admin option.
Output this function to users' browsers can be turned on and off.
A column of icons down the right-hand side of the page allow you to add, delete, edit or re-order Randomised . (Bear in mind that the effect of your changes may vary according to your stylesheet settings.)
Adding
a text article: Click the
icon to add a text article.
A pop-up
window will collect the details from you:
Title: the title will not appear on your web page. It serves as easy reference in the admin interface and is output to the HTML as a comment.
Content:
HTML, style codes, styles, JavaScript are all valid in this box.
Note: Because this function
is designed for HTML content, line-breaks will be ignored if standard
text is entered. Entering
<BR> will force a new line, or enclosing a paragraph
between the tags <P> and </P> will separate your text into paragraphs.
Deleting
a text article: Click the title of a text article in your list
which you want to delete, and then click the
icon. You
will be asked to confirm the deletion by clicking OK.
Editing
a text article: Click the title of a text article in your list
which you want to edit, and then click the
icon. A
pop-up window will display the reference title and current contents of
the article. Click
OK to confirm the changes or Cancel to return to the Randomised
graphic Admin screen without saving the changes.
Re-ordering
text articles: although only one text article is output each time
the Home Page is created, you may want to reorder the list for ease of
reference. Click
on a graphic in your list which you want to reorder, and click the
or
icon to move it up or down your list.
Random text can be previewed before committing any changes you have made.
To confirm any changes you have made, click Update. (Clicking the Home Page or Home Page Admin links will also confirm your changes.) To cancel any changes you have made since the last update, click the Cancel Changes link.
Adding/Deleting article files: the library of random text articles is stored in the randomtext/ sub-directory of your Home Page directory. Once registered with the application, files can be copied in and out freely as long as the filename is maintained.
Edit the links.txt file: the first random text article (as arranged in the admin interface) is name randomtext1.txt, the second is randomtext2.txt, and so on. Titles are stored in a separate file (random.txt) where each title is stored in order and on a separate line.
These technical details are intended for web designers when setting up a stylesheet.
The sample HTML output below shows how the random text is output. If customised output is required for your home page implementation, please contact the developers.
In the output Home Page, the random text function is contained between the comments <!--Random Text Part--> and <!--Random Text End-->, containing a single DIV block with class and id="random_text" containing the random text article.
<!-- Random Text Part-->
<!-- Random Text Article Title -->
<div class=randomtext id=randomtext>
Random Text Article goes here
</div>
<!-- Random Text End-->
Random text articles may contain styles which are referenced in the style sheet(s).