Hi all,
I have a main page with "Search" button and textbox at the top--the user enters a persons name and some javascript finds the table-cell on this page containing that name.
I want that cell to move to the top of the page, but there is some added complexity. This table cell may be in any of several iframes on the main page, each of which has a table with several dozen rows, these rows contain names and other info.
I've got the searching part down--what I need now is to get the table-cell in the specific frame to now scroll to front and center at the top of the page. So the main page has a scrollbar which scrolls through the frames. The frames may or may not have a scrollbar depending on how many rows in each iframe's table.
So far in my function I'm at the point where I have found the name and returned the <iframe> ,<tr> and <td> id's in which the name was found. With that info I want to do whatever scrolling, moving, whatever, to get that to the top of the page.
Thanks for any help,
--Jim
I have a main page with "Search" button and textbox at the top--the user enters a persons name and some javascript finds the table-cell on this page containing that name.
I want that cell to move to the top of the page, but there is some added complexity. This table cell may be in any of several iframes on the main page, each of which has a table with several dozen rows, these rows contain names and other info.
I've got the searching part down--what I need now is to get the table-cell in the specific frame to now scroll to front and center at the top of the page. So the main page has a scrollbar which scrolls through the frames. The frames may or may not have a scrollbar depending on how many rows in each iframe's table.
So far in my function I'm at the point where I have found the name and returned the <iframe> ,<tr> and <td> id's in which the name was found. With that info I want to do whatever scrolling, moving, whatever, to get that to the top of the page.
Thanks for any help,
--Jim