You are here: Re: what is the proper use of javascript? « HTML « IT news, forums, messages
Re: what is the proper use of javascript?

Posted by Brian Cryer on 10/23/06 11:00

"dorayme" <doraymeRidThis@optusnet.com.au> wrote in message
news:doraymeRidThis-2D5098.17275021102006@news-vip.optusnet.com.au...
> In article <RqGdnSJNrvrdCKnYnZ2dnUVZ8qmdnZ2d@pipex.net>,
> "Brian Cryer" <brian.cryer@127.0.0.1.ntlworld.com> wrote:
<snip>
>> Regarding a drop down menu, this can be done quite successfully using
>> just
>> css and no JavaScript. Take a look at
>> http://www.grc.com/menu2/invitro.htm.
>
> I took another look at this and it is a total mess in iCab
> (version 3.0.3) - at least on my machine. Usually very good with
> CSS. In IE Mac (perhaps not so surprisingly!) it does not work as
> far as dropping down but at least the head links work. It looks
> odd that the arrows are there and nothing drops. Perhaps one can
> leave them out in the img. You can "talk" to just IE Mac...

Interesting. I wonder if a pure css menu that works with all browsers is
just pie in the sky at the moment.

> I guess "quite successful" could be the case or not depending on
> the criteria... Makes me a bit uncomfortable. It is tricky code.
> Looks like tight-rope walking. Clever, mind you.

I agree. I use a variation on their code, and the "nasty" bit (or clever bit
depending on your point of view) is that the logic it uses on firefox is
different to that on IE. I think your "tight-rope walking" illustration is
probably quite apt. Where I use it I'm only targeting IE and Firefox, but it
may yet cause me grief with another browser down the line.

Its a different topic really, but As a "pc" developer without access to a
mac, I do wish there was an easy way to test on the various "mac" browsers.
--
Brian Cryer
www.cryer.co.uk/brian

 

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

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