I don't know if you do any DHTML, but I've run into problems with JavaScript and DHTML when the JS code wasn't accompanied by a BODY tag (i.e. after an opening BODY tag). Other than that I have used JS in and out of head or body tags with no problems (but if something weird happens...look there) ;-)
HTH Bryan Stevenson VP & Director of E-Commerce Development Electric Edge Systems Group Inc. p. 250.920.8830 e. [EMAIL PROTECTED] --------------------------------------------------------- Macromedia Associate Partner www.macromedia.com ----- Original Message ----- From: "Andre Turrettini" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, January 18, 2002 8:56 AM Subject: html standards > Hey Gang, this is an odd one. Maybe some people here have had issues with > this and if so, I'd love to know. > > Were developing a rather large applciation/intranet where there is a fair > bit of code in application.cfm and in header files and such. The > <html><head> blah blah </head><body> section is in a file called dsp_header. > In some pages, much of the javascript gets included with the form as a > simple script block outside the <head></head> tags. Also, we've recently > put some javascript code in the application.cfm file. So, now the code > looks schematically like this: > > <script>blah blah blah</script> > <html> > <head> > <script>blah blah blah</script> > </head> > <body> > <script>blah blah blah</script> > <form>blah blah blah</form> > <script>blah blah blah</script> > </body> > </html> > > Ideally and probably according to w3c recomendations, it should look like > > <html> > <head> > <script>blah blah blah</script> > </head> > <body> > <form>blah blah blah</form> > </body> > </html> > > But I've seen it like the first example in many places and it seems to work > fine. So, its certainly not xml compliant but has anybody run into any > problems doing this? Opinions? Thoughts? > > Andre Turrettini > Application Engineer > Collect America > [EMAIL PROTECTED] > ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

