473,320 Members | 1,719 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,320 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
4 1709

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:
does anyone know how to do this?
Maybe you check for the sql LIMIT statement in the query
e.g. when you prefer to display the result records from
333 to 444 you write '... LIMIT 333, 111'

hth
--
Nov 8 '06 #3
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 #4
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 #5

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: 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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.