FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


HTML/JavaScript help?





firebrandglass
Hi,

I'm doing some website stuff for a local non-profit and I'm looking at cleaning up a bit, but I don't exactly know what's what. For instance this in the <html> tag:

<HTML xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">

Is that really necessary?

And this bit of script in the head:

function SymError()
{
return true;
}

window.onerror = SymError;


That's followed by some img rollover script but it links images to somebody's local macine, so it doesn't even function.

Any ideas?

Thanks
Donutey
firebrandglass wrote:
<HTML xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">


That's what Microsoft Frontpage adds instead of a respectable header. You can delete it, and then preferably replace it with something like:
Code:
<!DOCTYPE
 html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">


If you're re-coding in XHTML. Or if you're staying with HTML 4.0, search on google for an HTML 4.0 header, if you aren't changing the code that much because that's what Frontpage tries to code in.
firebrandglass
Ok, good. Thanks for your reply Donutey
riv
And you can get rid of the system_error function. It doesn't seem to do anything, and appears to be what's supposed to be a cutting edge script but was never finished.
Related topics
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> Design Tips

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.