473,387 Members | 1,585 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

displaying a page at a specified position

hello

i have a form about half way down a web page, which posts criteria for the
WHERE part of an sql which then returns the results at the bottom of the
page.
Trouble is when the page reloads it goes to the top of the page again so the
results are not visible and the user is sometimes unaware that anything has
happened.
I could get a message to display at the top to tell user to scroll to
bottom but i would prefer the page to display at the start of the records(in
a html table) . does anyone know how to do this?

thanks
ian
Nov 7 '06 #1
3 1153

mantrid wrote:
hello

i have a form about half way down a web page, which posts criteria for the
WHERE part of an sql which then returns the results at the bottom of the
page.
Trouble is when the page reloads it goes to the top of the page again so the
results are not visible and the user is sometimes unaware that anything has
happened.
I could get a message to display at the top to tell user to scroll to
bottom but i would prefer the page to display at the start of the records(in
a html table) . does anyone know how to do this?

thanks
ian
make an anchor line above the text <a name="bottom"></a>. Then when you
specify the page in which to reload use href="#bottom" or full path
href="blah.com/page.php#bottom"

Flamer.

Nov 7 '06 #2
mantrid:
i have a form about half way down a web page, which posts criteria for the
WHERE part of an sql which then returns the results at the bottom of the
page.
Trouble is when the page reloads it goes to the top of the page again so the
results are not visible and the user is sometimes unaware that anything has
happened.
I assume that you are redirecting from the processing page (the page
pointed to by your form's action attribute) back to the page the form
is on using a Location header. You can add a fragment to the URL
specified in the Location header (this violates HTTP/1.1 but it is
mentioned in the errata) so that when the user-agent redirects, it
redirects to the anchored position.

--
Jock

Nov 8 '06 #3
thanks all
using an anchor seems the best way
ian

"mantrid" <ia********@virgin.netwrote in message
news:t%*****************@newsfe4-win.ntli.net...
hello

i have a form about half way down a web page, which posts criteria for the
WHERE part of an sql which then returns the results at the bottom of the
page.
Trouble is when the page reloads it goes to the top of the page again so
the
results are not visible and the user is sometimes unaware that anything
has
happened.
I could get a message to display at the top to tell user to scroll to
bottom but i would prefer the page to display at the start of the
records(in
a html table) . does anyone know how to do this?

thanks
ian


Nov 8 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: RAJ | last post by:
In our multi-tier application, we have several ASP.NET user controls which will update the same data source provided by middle tier logic. In this particular scenario we have one user control...
3
by: Al Wilkerson | last post by:
Hey, I have a Web Form with a drop down list, textbox, and search button. When click the search button an SQL server database is queried fordata. Once I have the data in a dataset I use the...
4
by: Jason Chan | last post by:
How can I get the month and year a calendar control current displaying? My problem is I want to load a list of event to a calendar so that it display difference style if there a event for a day....
2
by: tradmusic.com | last post by:
Hi, I'm new to CSS and, following some advice, created my page like this: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head>...
3
by: CD | last post by:
An application is logging faxes sent in SQL2000 image column type. I have found code on the net but what it is doing is prompting to save to local which is fine for single page image. Not good...
4
by: mantrid | last post by:
hello i have a form about half way down a web page, which posts criteria for the WHERE part of an sql which then returns the results at the bottom of the page. Trouble is when the page reloads...
5
by: debbiedchang | last post by:
Hi, I have a custom user login authentication page. There are times when the login authentication succeeds, but before I redirect to the home page, I want to display a popup with a warning message...
6
by: Zeba | last post by:
Hi, I have a page with a calendar and two datalist items - one containing month values and the other, year values. Depending on the month/year value chosen ( in text/string format ) I should be...
1
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being...
16
Frinavale
by: Frinavale | last post by:
What I'd like to do is take a list and display it's items in a circle. For example (the order of the in the circle doesn't matter..except for Item1, it has to be at the top): Item1 ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.