Solved

positionnig to a table row

Posted on 2008-10-16
6
253 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

632 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