RE: sending user to a anchor on a page.

2000-12-19 Thread Ted Husted
On 12/19/2000 at 5:35 AM John Stauffer wrote: The browser will position the page at the top of the screen if if can't find the anchor tag. Just for the record, Netscape Navigator (through 4.x at least) scrolls to the bottom when it can't find an anchor (and, unlike Explorer, also uses

RE: sending user to a anchor on a page.

2000-12-18 Thread Geoffrey Simmons
From: Ted Husted [mailto:[EMAIL PROTECTED]] On 12/18/2000 at 5:57 PM Oleson, Rex wrote: as an example lets say that I have a user registration page. If the user inputs some bugus information I would like to return them to that exact area of the page that they need to correct the

RE: sending user to a anchor on a page.

2000-12-18 Thread Ted Husted
Ted Husted wrote: another way to do this would be by changing the form's focus to the "first" invalid field. ... Not that I know how you would actually do that ... On 12/19/2000 at 12:45 AM Geoffrey Simmons wrote: You can do that with Javascript, and I'm relatively certain that it's the only

Re: Re[2]: sending user to a anchor on a page.

2000-12-18 Thread Ted Husted
On 12/19/2000 at 2:12 AM Matthias Kerkhoff wrote: If present, the form tag generates a little JavaScript, that sets the focus to the form field named like the "focus" attribute. The form attribute is still current, and used in the example application. But how would you change it in response to

Re: sending user to a anchor on a page.

2000-12-18 Thread Craig R. McClanahan
Ted Husted wrote: Ted Husted wrote: another way to do this would be by changing the form's focus to the "first" invalid field. ... Not that I know how you would actually do that ... On 12/19/2000 at 12:45 AM Geoffrey Simmons wrote: You can do that with Javascript, and I'm relatively

RE: sending user to a anchor on a page.

2000-12-18 Thread David Noll
Perhaps an interstitial jsp like this? % String url = request.getParameter("url"); String anchor = request.getParameter("anchor"); String whereTo = url + "#" + anchor; response.sendRedirect(whereTo); % referenced in action.xml as: ...