[Javascript] Dynamically Highlight and Scroll to Elements

Peter Brunone peter at brunone.com
Fri Oct 1 09:13:20 CDT 2004


	Or, better-put, ignore it if it works :)

-----Original Message-----
From: javascript-bounces at LaTech.edu On Behalf Of Matt Barton

Never ignore a good hack: that's my watchword.

M

----- Original Message ----- 
From: "Hakan M (Backbase)" <hakan at backbase.com>

> GOD DAMN IT FLAVIO, BRs? >_O
> A margin-bottom would look a lot cleaner, IMHO. ;)
>
> Regards,
> H
>
> Flavio Gomes wrote:
> > 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