Solved

positionnig to a table row

Posted on 2008-10-16
6
236 Views
Last Modified: 2013-11-19
i've used it before...isn't there a character entity that will position the browser to a given table row?
it might be considered a CSS attribute....
0
Comment
Question by:globalterminal
  • 3
  • 3
6 Comments
 
LVL 18

Expert Comment

by:Rartemass
ID: 22735949
From my understanding of your question, you want to focus the cursor onto a specific table cell or textbox when the page loads.
You do this with javascript similar to below:

onload="document.myform.textbox1.focus()"

If I have interpreted your question incorrectly then please clarify.
0
 
LVL 18

Expert Comment

by:Rartemass
ID: 22735965
The other option I see with your question is you want to set an anchor point in the page.

See this link for coding:
http://www.hypergurl.com/anchors.html
0
 

Author Comment

by:globalterminal
ID: 22735981
i want to position the browser at a certain row in a <table>.
in this case, the user selects a row from a <table> ...goes to an update page....and when returns...the browser position(centers) on the row that was just updated.

0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:globalterminal
ID: 22736009
i know what row to position the browser based on the completed update, so when i redirect back to
listing page...i know what row from the database i need to position.  
0
 

Author Comment

by:globalterminal
ID: 22736094
i'm positive there an attribute(it might a CSS thing) that is used on the <tr> tag that centers the browser on that table row.
0
 
LVL 18

Accepted Solution

by:
Rartemass earned 125 total points
ID: 22736375
A simple way is to have an anchor point for every row in the table, then when you return you can tell it to go to the specific anchor point.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to combine and minify CSS and JS files 5 36
How to get CSS styled menu to maintain the open selected menu? 13 43
CSS DIV Height in Percent 1 25
tiled banner 2 12
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question