Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #15312
| Date | 2012-08-11 15:53 -0700 |
|---|---|
| From | Robert Baer <robertbaer@localnet.com> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Stupid Question |
| References | <Ivmdnarpr67AaoDNnZ2dnUVZ_gKdnZ2d@posted.localnet> <5023c079$0$6189$ba4acef3@reader.news.orange.fr> |
| Message-ID | <PYmdnaJ2T_f1f7vNnZ2dnUVZ_qqdnZ2d@posted.localnet> (permalink) |
SAM wrote: > Le 05/08/12 06:32, Robert Baer a écrit : >> Out of context code snippet first: >> ** QUOTE ** >> <!--[if lt IE 11]> >> <img src="images/SLIDER1.JPG" alt="Codatron™"> >> <![else] >> <img src="images/Codatron.png" alt="Codatron™"> >> <![endif]--> > >> Q: >> Why does that added code alter how the browser renders things (by >> hiding the top image and related text)? > > > How --> see > google : conditional comment > and : <http://msdn.microsoft.com/en-us/library/ms537512%28VS.85%29.aspx> > > Why --> maybe because IE of version before the 11th can't read correctly > the *.png ? > > More --> and what about navigators that aren't IE ? > Just to be clear on that [if lt IE 11] code snippet, the top part gets "executed" if true (meaning if ANY version of IE is the rendering browser), the bottom part gets "executed" if false (meaning ALL other browsers). I chose the number 11 because then when IE10 comes out i would need to make no changes.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-04 21:32 -0700
off topic, was: Re: Stupid Question "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-08-05 06:33 +0000
Re: off topic, was: Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-05 21:31 -0700
Re: off topic, was: Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-05 21:56 -0700
Re: off topic, was: Re: Stupid Question Gregor Kofler <usenet@gregorkofler.com> - 2012-08-06 09:21 +0200
Re: off topic, was: Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-06 01:44 -0700
Re: off topic, was: Re: Stupid Question Gregor Kofler <usenet@gregorkofler.com> - 2012-08-06 13:29 +0200
Re: off topic, was: Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-06 11:01 -0700
Re: off topic, was: Re: Stupid Question Gregor Kofler <usenet@gregorkofler.com> - 2012-08-06 21:03 +0200
Re: off topic, was: Re: Stupid Question Tim Streater <timstreater@greenbee.net> - 2012-08-06 20:12 +0100
Re: off topic, was: Re: Stupid Question Gregor Kofler <usenet@gregorkofler.com> - 2012-08-06 21:18 +0200
Re: off topic, was: Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-07 00:14 -0700
Re: off topic, was: Re: Stupid Question Tim Streater <timstreater@greenbee.net> - 2012-08-07 09:28 +0100
Re: off topic, was: Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-07 15:17 -0700
Re: off topic, was: Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-07 00:11 -0700
Re: off topic, was: Re: Stupid Question Gregor Kofler <usenet@gregorkofler.com> - 2012-08-07 10:06 +0200
Re: off topic, was: Re: Stupid Question Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-07 13:20 +0200
Re: off topic, was: Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-11 15:38 -0700
Re: off topic, was: Re: Stupid Question SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-09 15:56 +0200
Re: Stupid Question SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-09 15:51 +0200
Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-11 15:53 -0700
Re: Stupid Question Denis McMahon <denismfmcmahon@gmail.com> - 2012-08-12 00:34 +0000
Re: Stupid Question Robert Baer <robertbaer@localnet.com> - 2012-08-14 16:43 -0700
csiph-web