[Javascript] Dynamically Highlight and Scroll to Elements
Flavio Gomes
flavio at economisa.com.br
Fri Oct 1 08:00:14 CDT 2004
Well, if I understand you correctly, there's a "solution".. (note the
quotes please ^^)
Just set a lot of "<br>" tags at the end of your document, so when the
document scrolls it won't stop on the middle of your table..
tsterlin at email.arizona.edu escreveu:
>The mapping functionality works great; by clicking on the "hotspots" located on
>the graphic, the associated item within the table is scrolled to the top of the
>page. However, if the user clicks on a hotspot associated with an item located
>toward the beginning or the end of the page, the page scrolls
>as far as it can, but the pertinent item may still appear in the middle of the
>page. What other method can I use to distinguish the selected items within the
>table? I would ideally like to highlight the selected item's text within the
>table while simultaneously mapping to it. Does that require that I dynamically
>reconstruct the page with different background/text color attributes for that
>item, and if so, how do I correspond the scroll location with that new page?
>
>Any suggestions on that method or another text distinguishing method would be
>greatly appreciated.
>
>Tracy.
>
More information about the Javascript
mailing list