Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to center search result highlights on the screen?

Status
Not open for further replies.

royyan

Programmer
Jul 18, 2001
148
US
I have a site doing lots of searchs. I would like to center the search result on the screen. Actually, in my case, it needs to be centered in the frame. I know using html anchor(#) could bring the search results to the top of the frame window. But this doesn't solve the horizontal scrolling issue.
Any suggestions will be highly appreciated. Thanks!
 
The site is still under construction and not on live yet.
 
Display the results in a table with align="center" ... ??
 
i think he is looking for the scrollTo() function...

Known is handfull, Unknown is worldfull
 
Yes, I am looking for scrollTo() Function. The svrollTo() works fine in one window. But if I use framesets, call search results from frame1, show search results in frame2, then had a dificult time to get it work.
 
parent.frames.FrameName.scrollTo() would work...

Known is handfull, Unknown is worldfull
 
I tried, but having trouble with layers and someother issues. I am still trying something and will let you guys posted once I came out something. Thanks a lot for help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top