wangchao Posted November 8, 2005 Posted November 8, 2005 Dear all, I'd like to add one page into the infobox. This page will contain several sections of decriptions to introduce my products in different categories. I hope it has anchor points across the whole page. At the head of this page is a table of jumpers to the head of differenct sections, while there is a 'go to top' at the end of each such section. I made one sample in static html. It works fine with all jumpers. However, I failed to integrate it into php with a way similar to payment.php, in which text is defined as "TEXT_INFORMATION", and then referenced in <?php echo "TEXT_INFORMATION" ?> I tried to use TEXT_INFORMATION to reference the jumper table at head of the page, and to use TEXT_INFORMATION_PROD_BATIK, TEXT_INFORMATION_PROD_SILKEB, etc. to reference these sections of description. I found I cannot jump through those jumpers as I can with pure static html file. I attached the static html file at the end of this post for your information. Thanks you David <Head> <table> <tr> <td>Template for http://www.esilk.biz/ documentation</td> </tr> </table> </Head> <body> <!-- snip here, put the below as string to be referenced in TEXT_INFORMATION --> <table> <tr> <a name="top"></a> <td><a href=#batik>Go to Batik </a>|</td> <td><a href=#silkembroidery>Go to Silk Embroidery </a>|</td> <td><a href=#painting>Go to Paintings </a>|</td> <td><a href=#woodworks>Go to Woodworks </a></td> <td></td> <td></td> </tr> </table> <!-- snip here, put the above as string to be referenced in TEXT_INFORMATION--> <!-- snip here, put the below as sting to be referenced in TEXT_INFORMATION_PROD_BATIK --> <br><br><br><a name="batik"></a> We put the brief introduction for batik here! <br><a href=#top>Go Back to Top</a> <!-- snip here, put the above as sting to be referenced in TEXT_INFORMATION_PROD_BATIK --> <!-- snip here, put the below as sting to be referenced in TEXT_INFORMATION_PROD_SILKEB --> <br><br><br><a name="silkembroidery"></a> We put the brief introduction for silk embroidery here! <br><a href=#top>Go Back to Top</a> <!-- snip here, put the above as sting to be referenced in TEXT_INFORMATION_PROD_SILKEB --> <br><br><br><a name="painting"></a> We put the brief introduction for paintings here! <br><a href=#top>Go Back to Top</a> <br><br><br><a name="woodworks"></a> We put the brief introduction for wood works here! <br><a href=#top>Go Back to Top</a> </body> -David Wang
Recommended Posts
Archived
This topic is now archived and is closed to further replies.