Re: How best to highlight an an item...



In article <Xns9993BE5C92C05BootNic@xxxxxxxxxxxx>,
BootNic <BootNic@xxxxxxxxxxxxxxxxxxxx> wrote:

dorayme <doraymeRidThis@xxxxxxxxxxxxxxx> wrote:
news:doraymeRidThis-4F2D6C.18120421082007@xxxxxxxxxxxxxxxxxxxxxxxx:

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.
[snip]
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>

[url] http://bootnic.atwebpages.com/DataRowSelectExample.php [/url]


This looks very promising to me. I need to study it further.
After breakfast. My quick test just now was:

I clicked on one of your blue links at top. This got me an
address I wanted to see in the url bar. I got

<http://bootnic.atwebpages.com/DataRowSelectExample.php?row=1#j-kl
o70001>

I notice that to get a different row I need to change both the
"row=..." and of course, the end number 7000... in the url bar.
This does the trick of directing a complete outsider to the table
with a particular row highlighted. This might well do me! Thanks
for this. I am almost sure to use it. Will let you know how it
goes.

(Hey BootNic, because the php is not linked and named, how can I
name it in your honour as with a previous bit of js you made a
while back? I will have to sprinkle some comments about in the
html <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)
  • How best to highlight an an item...
    ... All not high, all tabular. ... 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 ...
    (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: CSS styles with 100% height
    ... an html file, the page had a blue margin of 120px going from top ... This gets a blue 120px wide border from top to bottom ... irrespective of browser window size in Mac Safari, Camino, iCab, ...
    (alt.html)