THE OLD MANS
POETRY CORNER

The page remains the same
http://theoldmans.madpath.com/demo/mamun
This solution uses two files and two folders one for the short version and link form . One to hold the long version (this can be the folder that contains the original terms)
Due to the limitations of html javascript and xtfunctions and not being able to use php this was the only method I could make work
This code is for demo only and will need adapting for use
On the main page there are two divs using a css hide method to switch between the two

Morning has broken too bloody early ....




This div and form is the reset (next) button . Leave this out if not needed

This form is the link that goes at the bottom of the short version and changes it for the long version . It closes the div and opens another one for the button. You need to put the file name of the original term file where it says "SECOND FILE NAME" I've used a "post" method form so that the "get" variables do not appear in the page url

The folders used here are
demo/data
demo/data_1