Hi list,

In html, anchors are used to lead endusers to specific sections
of webpages. Anchors are included in tags and added to the
link in the form :
    http://www.myDomain.com/myPage.html#anchor-name

But what if the html content is generated by a cgi script ?

The only way I can see to lead users to a specific section of
the page, is to define each section inside a <div> with an ID :
    <div id="section_1">

and then scroll to that section when the page opens, with a
short script on the <body> tag :
<body
onload="window.scrollTo(0,document.getElementById('section_1').clientTop)">

Or am I missing something ?

Thanks,
JB

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to