Richard wrote:
On Fri, 04 Feb 2005 17:38:33 -0500 Randy Webb wrote:
Terry wrote:
Hi,
I built a website using the HMTL header:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
All the CSS layout stuff looks good.
I just found this neat javascript, Ferrant DHTML Studio Lite, that
creates a beautiful pop-up window. (www.ferant.com) However, this
javascript only work when the HTML header is set to:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
It does not even "work" then. Opening the sample page in Mozilla it
gives me code intended for "IE 6" which is incorrect for the UA I am
using. Its a result of a failed attempt by the author to attempt to
determine my browser by the User-Agent Header which is very unreliable
and that site is but one example of why it fails.
What browser and system?
All works fine for me in firefox.
Mozilla 1.7.1 on WinXP SP2 in IE6 Spoof Mode. Perhaps you should learn
how UA's actually work before you ask questions like that. If you had
bothered to look at the code in the page, and paid attention to the
remarks in the code, and viewed it in more than one browser, you would
not be asking this question.
And, what "works" for you is not a good indication of a "working
script". But since you asked, put Opera 7 in IE Spoof Mode, open that
page, then open a "dHTML popup" and move it around......
--
Randy
comp.lang.javascript FAQ -
http://jibbering.com/faq