• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 338
  • Last Modified:

ASP DEV: Hold page position after Submit and Working With Frames

QUESTION 1:
I am working STANDARD ASP.
When the user hits the Save button, I want the page to remain in the same position rather than reset at the top of the page.  I have done this in ASP.NET but cannot remember how I did it.
Is it possible to do in ASP?

QUESTION 2:
I am working STANDARD ASP.
I have a page with three frames, a Menu, Content and Header frame.
I want the Header frame to contain anchor links to topic areas on the Content frame in order to provide the user with a quick way to jump to a section in a long form.

Is there a way to do this?
0
ronpenrose
Asked:
ronpenrose
1 Solution
 
DarixCommented:
for 1 question:

you must add anchor there you want to scroll after submit. then in form action parameter you must specify that anchor name. for ex.

<a name="save">
<form name="go.asp#save">
   <input type="submit" value="save">
</form>

for question 2:

the same way only specify target and name content frame.


header frame:
<a href="content.asp#header1" target="content">
<a href="content.asp#header2" target="content">

content frame:

<a name="header1">
header 1
some text

<a name="header2">
header 2

0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now