RE: XHTML Conversion
by "Ezra S F" <ezrasf(at)yahoo.com>
|
Date: |
Wed, 20 Feb 2002 09:17:29 -0500 |
To: |
"'HWG Techniques'" <hwg-techniques(at)hwg.org> |
In-Reply-To: |
zydhek1 |
|
todo: View
Thread,
Original
|
|
Have you tried the language attribute instead the name?
<.script language="Javascript">
I think this is supposed to be XHTML 1.0, IE, and Netscape compatible.
My reference (The Complete Reference: HTML 3rd ed) confirms that it is.
E -- http://ezrasf.com -- http://sneezypb.pitas.com
-- http://valdosta.edu/~esfreelo/
-----Original Message-----
From: owner-hwg-techniques(at)hwg.org [mailto:owner-hwg-techniques(at)hwg.org]
On Behalf Of Kehvan M. Zydhek
Sent: Wednesday, February 20, 2002 3:29 AM
To: HWG Techniques
Subject: XHTML Conversion
Greetings,
Last week, I requested information on where a newbie friend of mine
could go
to start learning HTML. He's been having a blast with all of your
suggestions and wants me to thank everyone for their input. So, thanks!
:-)
Now, after deciding to take the plunge into XHTML and finding it to be
not
as difficult as I thought, especially with help from Homesite 5's XHTML
validator and the W3C validator, I've talked another friend into
updating
his soon-to-be-released site to XHTML 1.0 Strict (which is what Homesite
validates to right now). He's more of a programmer than I am, so his
pages
include TONS of includes and Javascript functions, whereas mine don't.
My
pages were easy to upgrade, and for the most part, his are too, except
for
one niggly little detail: the NAME attribute in his FORM tags and one
IMG
tag. XHTML claims NAME to be invalid, but his Javascript breaks unless
it's
there. Does anyone have any suggestions about this? We've tried
replacing
NAME for ID, but that's not it, as Javascript is still breaking. I'm
sure
the answer has to do with how Javascript references these items as
opposed
to the XHTML code itself, but am not 100% certain of that. Outright
instructions or links to possible tips and/or guides would be helpful.
The
Specs for XHTML are vague to me, written a bit over my head, so things
written more in a plain English manner would be best, I think. The
scripts
in question are, as I said, for a soon-to-be-released site, so there's
unfortunately no URL to post, and the code (for just one page) is well
over
1000 lines in length (when recombined; he wrote it modularly), so
posting
the code in it's entirety would not do, either.
Thanks in advance!
Kehvan M. Zydhek
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:
:: NORTON ANTI-VIRUS 2002 scanned this email prior to sending. It is
free
:: of any known embedded or attached viruses, trojans, or internet
worms.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:
_________________________________________________________
Do You Yahoo!?
Get your free (at)yahoo.com address at http://mail.yahoo.com
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA