PDA

View Full Version : Link to color


djfenom
07-17-2002, 04:44 PM
I am trying to have a link that will go to a particular color on a page. For example, I have a link that says, 'find #FFFFEE' this link will then look at the html and move down to the first place it finds '#FFFFEE' kind of like it would using anchors. I have different colors in a table and would like it to move down to a certain colored row

Is this possible using innerHTML, I only need it to work in IE.

Thanks.

tamienne
07-17-2002, 05:56 PM
Here's a form version
http://www.dynamicdrive.com/dynamicindex11/findpage.htm

You should be able to modify it slightly to suit your needs.

djfenom
07-18-2002, 08:44 AM
Thanks tamienne, however isn't this script only for finding things visible on the page, I am looking for something that will look for a color within the HTML.

Still, it'll come in handy elsewhere!

Thanks.