Start page at different locations?

Giganews Newsgroups
Subject: Start page at different locations?
Posted by:  Harry (..@abc.com)
Date: Fri, 04 Jul 2003

I would like to be able to set the start location of a page each time its
displayed depending on the value of a request object -i.e

// Called from <body> onload attribute
function load()
{
<%
    String startAtLink = (String)request.getAttribute( "startatlink" );

    if(startAtLink!=null)
    {
    %>
            // jump to location of startAtLink link e.g Step3 defined as <a
name="Step3"></a> futher on down
            // may also have Step4, Step5 etc...
    <%
    }
%>

thanks

harry

Replies