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 13:04

dorayme wrote:
> In article <13cv0vel552i920@corp.supernews.com>,
> mbstevens <NOXwebmasterx@xmbstevensx.com> wrote:
>
>
>>>> 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.
>
> Yes that was something that I noticed. I am starting to wonder if
> any technique that I am likely to comprehend and implement will
> be worth it. Just for now, I have kept the internal links, styled
> the whole to my satisfaction, and the punters will be armed with
> the base address and the item number that they need to download
> for.

Yes, I tested internal named links with an id matching the name
and used the same JS file. The first time a punter is sent to that
link you will get the highlighting. Subsequent visits to the page
will require them to do a reload to see it, though. You can put in
a 'show highlights' button to do that wtih JS's document.reload()
function, but that is not ideal of course.

>
> The ultimate good degradability: don't put in anything that needs
> to degrade.
>
> I had some fun with your script and even changed a few things to
> make a whole row have a nice backgound colour, good in some
> browsers. Tried some padding to make the row cells huger but
> with zero success.
>
> [I know, I am feeling defeatest! The weather is so lousy here!
> This afternoon I will replace my power booster on my Ford XY.
> There is a technique to do it without having to remove the master
> cylinder that I want to try. You unbolt it and yank the latter
> out of the way, dragging the pipes along - easier said than done.
> The booster then takes a few mins to replace. Otherwise there is
> the well known miserable job of removing the master and having to
> bleed and worst of all: stripping threads on the three unions to
> the cylinder, one is underneath and simply cannot be seen! I wish
> there was a _lively_ ng on these old buses, there isn't it seems!
> So pardon me making this reference to this matter. Poor alt.html,
> it is not fair what you all have to put up with.]
>
Recently did a new radiator for my old civic. Some fun. Had to
smith a new mount for the after-factory radiator.

 

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

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