Solved

positionnig to a table row

Posted on 2008-10-16
6
214 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
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…

744 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

12 Experts available now in Live!

Get 1:1 Help Now