[thelist] Pass named anchor to modeless dialog?

Jeff Howden jeff at jeffhowden.com
Thu Feb 19 17:01:39 CST 2004


chris,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Chris George
>
> if (document.all) {
> [...]
> 	showModelessDialog([...])
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

yuck.  if you're going to be using a non-standard method, at least check for
support of the non-standard method rather than some other object.

if(window.showModelessDialog)
[...]
  window.showModelessDialog([...])

.jeff

------------------------------------------------------
Jeff Howden - Web Application Specialist
Resume - http://jeffhowden.com/about/resume/
Code Library - http://evolt.jeffhowden.com/jeff/code/



More information about the thelist mailing list