Jump to content

cssriptdict (Page Validation)


sepoto

Recommended Posts

I have got rid of all the validation errors in my document except for these last two which are still vexing me:

	Error Line 50, Column 16: element "csscriptdict" undefined			<csscriptdict>	✉	You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:		incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),		by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).		by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).	Error Line 80, Column 16: element "csactiondict" undefined			<csactiondict>	✉	You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:		incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),		by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).		by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).

Here are lines 40 - 90:

anylinkmenu.init("menuanchorclass")</script>			<csscriptdict>			<script type="text/javascript"><!--function newImage(arg) {	if (document.images) {		rslt = new Image();		rslt.src = arg;		return rslt;	}}function changeImagesArray(array) {	if (preloadFlag == true) {		var d = document; var img;		for (var i=0; i<array.length; i+=2) {			img = null; var n = array[i];			if (d.images) {img = d.images[n];}			if (!img && d.getElementById) {img = d.getElementById(n);}			if (img) {img.src = array[i+1];}		}	}}function changeImages() {	changeImagesArray(changeImages.arguments);}// --></script>		</csscriptdict>		<csactiondict>			<script type="text/javascript"><!--var preloadFlag = false;function preloadImages() {	if (document.images) {		pre_home2 = newImage('images/home2.jpg');		pre_about2 = newImage('images/about2.jpg');		pre_services2 = newImage('images/services2.jpg');		pre_legalArticles2 = newImage('images/legalArticles2.jpg');		pre_books2 = newImage('images/books2.jpg');		pre_resources2 = newImage('images/resources2.jpg');

I think the tags are for some kind of Adobe functionality. Is there a way to get those tags to validate. Would it help if I changed my document type?

Link to comment
Share on other sites

I have discovered that I can just remove the tags and the site still functions just fine.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...