Solved

positionnig to a table row

Posted on 2008-10-16
6
224 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

You can download the files for this tutorial here (https://www.dropbox.com/s/hgztzt9b60kddc9/DPS%20Demo.zip?dl=0). The .indd file in the InDesign files folder is a finished version of the file; you can start from scratch and work toward this. Also, …
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

813 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now