How best to highlight an an item...



I will be soon making up a page with a table of items. There will
be a fair few rows. All not high, all tabular.

People will be referencing parts of it via links that latch onto
ids that will be placed on the <tr>s. But while this will narrow
things down for folk, they will still see a whole lot of other
stuff depending on the vertical size of their browser window. I
was rather hoping there might be a neat way of also highlighting
the row concerned, not necessarily literally the row, but
something to mark it out as the one to be attended to. Need no
help with the actual css, more with how to let the browser or
server know which row needs the style.

Can't think of any normal html/css way of doing this. Not
particularly keen on a js way ...though I might consider it as it
is sort of an extra bit of help and not fundamentally bad if
anyone has it turned off.

Anyone know of a php way perhaps? Do I have to go to alt.php. or
alt.js.

Can't I please just stay here? I like it here in spite of my bad
treatment.

I am reminded of that php stuff that I have used to stick in an
id="current" on some list items depending on the html file being
accessed. Perhaps it will all be clear by morning. But if anyone
knows the way to go without blinding me with science... please,
do spill the beans. <g>

--
dorayme
.



Relevant Pages

  • Re: How best to highlight an an item...
    ... stuff depending on the vertical size of their browser window. ... Anyone know of a php way perhaps? ... id="current" on some list items depending on the html file being ... // $current is the index into this array of the page being actioned. ...
    (alt.html)
  • Re: How best to highlight an an item...
    ... stuff depending on the vertical size of their browser window. ... Anyone know of a php way perhaps? ... id="current" on some list items depending on the html file being ... I've never done it but according to "CSS Cookbook" by Christopher Schmitt, ...
    (alt.html)
  • Re: How best to highlight an an item...
    ... But while this will narrow things down for folk, they will still see a whole lot of other stuff depending on the vertical size of their browser window. ... Need no help with the actual css, more with how to let the browser or server know which row needs the style. ... I am reminded of that php stuff that I have used to stick in an id="current" on some list items depending on the html file being accessed. ...
    (alt.html)
  • Re: How best to highlight an an item...
    ... stuff depending on the vertical size of their browser window. ... id="current" on some list items depending on the html file being ... address I wanted to see in the url bar. ...
    (alt.html)
  • Auto-opening popup script when the window is minimized
    ... I have a very simple PHP script that is reading a plain-text CSV file ... and parses it out into into a HTML table to display the data. ... What I want to do is while keeping the browser window for that page ...
    (comp.lang.javascript)