[Javascript] Help with this code

Laurent Muchacho LaurentM at london.virgin.net
Tue Aug 10 09:54:44 CDT 2004


Hi 

When IE meet this piece of comment he will then execute what is inside
<!--[if IE]> what ever inside <![endif]--> 
all the other browser will only understand this as a piece of html commented
If I'm correct you can specify the version of IE as well inside like <!--[if
IE6]> but you better check this.

Laurent



-----Original Message-----
From: Sal Perconte [mailto:sal.perconte at verizon.net]
Sent: 10 August 2004 15:47
To: Javascript MailingList
Subject: [Javascript] Help with this code


Hi,
can anyone tell me what language
the code inside the square brackets
belongs too the [if IE]
I know what it means, but it's outside
the script tags?

</script>
	<!--[if IE]>
	<style type="text/css" media="all">
	#navbar li ul {
		position: absolute;
		right: 149px;
		top: 0;
		display: none;
		z-index: 10;
	}
	</style>
	<![endif]-->

Thanks,
Sal

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript


This E-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.  If you have received this E-mail in error please notify the system manager.  This message contains confidential information and is intended only for the individual named.  If you are not the named addressee you should not disseminate, distribute or copy this E-mail.



More information about the Javascript mailing list