You are here: Re: How best to highlight an an item... « HTML « IT news, forums, messages
Re: How best to highlight an an item...

Posted by mbstevens on 08/25/07 01:22

dorayme wrote:
> In article <13cug67pr17kif4@corp.supernews.com>,
> mbstevens <NOXwebmasterx@xmbstevensx.com> wrote:
>
>> dorayme wrote:
>>
>>> 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.
>>>
>>> But if anyone
>>> knows the way to go without blinding me with science... please,
>>> do spill the beans. <g>
>>>
>> Sorry, doreme, to be a couple of days getting around to doing this,
>> but I was doing other things.
>>
>> Here, try:
>> http://www.mbstevens.com/test/js_table_hlt.html?A
>> http://www.mbstevens.com/test/js_table_hlt.html?B
>>
>> It is (yucch) JavaScript, but should degrade gracefully.
>> Works fine in Opera and Firefox, but I have not opened
>> my laptop to test it in IE yet. If it doesn't work,
>> some small modification probably will.
>
> Thanks mb. I am testing it right now. Looks interesting and
> simple and I got it working on my own file but there are some
> issues with various browsers. Will report back.
>
I did a version with #named_links, too. The problem was
that after looking at the first, most browsers had to use the
reload button to see the next link's highlights, because the browser
thought that it was looking at the same link. There is probably
a way around that, too, but I have not investigated it at any
length.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация