swf into header;
when I insert a swf into header validator indicates an error.
help very welcome
regards
satelliteclub
when I insert a swf into header validator indicates an error.
help very welcome
regards
satelliteclub
What is the error?
I will need specifics on the exact error to be able to have any ideas on the cause.
Which validator are you using that is reporting the error? The W3C HTML Validator?
can you provide a link to the page with the problem.
thank you very much indeed for your reply;
<?xml version="1.0" standalone="yes" ?>
<mm_report>
<mm_reportname> ResultsReport.xml</mm_reportname>
<mm_reportdate>02/16/11 13:41:03</mm_reportdate>
<mm_reportlocation>C:\\Users\karlheinz\Desktop\</mm_reportlocation>
<mm_reportitem>
<mm_statusicon>10</mm_statusicon>
<mm_displaystr><![CDATA[index.html]]></mm_displaystr>
<mm_file>C:\Users\karlheinz\Documents\Unnamed Site 5\index.html</mm_file>
<mm_linenumber>57</mm_linenumber>
<mm_description><![CDATA[The tag:"object" is not allowed within: "noscript" It is only allowed within: a, abbr, acronym, address, b, bdo, big, button, caption, cite, code, dd, del, dfn, div, dt, em, fieldset, h1, h2, h3, h4, h5, h6. . ..[XHTML 1.0 strict]]]></mm_description>
<mm_reportedby>Dreamweaver Validator Report</mm_reportedby>
</mm_reportitem>
<mm_reportitem>
<mm_statusicon>10</mm_statusicon>
<mm_displaystr><![CDATA[index.html]]></mm_displaystr>
<mm_file>C:\Users\karlheinz\Documents\Unnamed Site 5\index.html</mm_file>
<mm_linenumber>60</mm_linenumber>
<mm_description><![CDATA[The tag name: "embed" Not found in currently active versions.[XHTML 1.0 strict]]]></mm_description>
<mm_reportedby>Dreamweaver Validator Report</mm_reportedby>
</mm_reportitem>
<mm_reportitem>
<mm_statusicon>10</mm_statusicon>
<mm_displaystr><![CDATA[index.html]]></mm_displaystr>
<mm_file>C:\Users\karlheinz\Documents\Unnamed Site 5\index.html</mm_file>
<mm_linenumber>133</mm_linenumber>
<mm_description><![CDATA[The tag:"object" is not allowed within: "noscript" It is only allowed within: a, abbr, acronym, address, b, bdo, big, button, caption, cite, code, dd, del, dfn, div, dt, em, fieldset, h1, h2, h3, h4, h5, h6. . ..[XHTML 1.0 strict]]]></mm_description>
<mm_reportedby>Dreamweaver Validator Report</mm_reportedby>
</mm_reportitem>
<mm_reportitem>
<mm_statusicon>10</mm_statusicon>
<mm_displaystr><![CDATA[index.html]]></mm_displaystr>
<mm_file>C:\Users\karlheinz\Documents\Unnamed Site 5\index.html</mm_file>
<mm_linenumber>136</mm_linenumber>
<mm_description><![CDATA[The tag name: "embed" Not found in currently active versions.[XHTML 1.0 strict]]]></mm_description>
<mm_reportedby>Dreamweaver Validator Report</mm_reportedby>
</mm_reportitem>
<mm_reportitem>
<mm_statusicon>10</mm_statusicon>
<mm_displaystr><![CDATA[index.html]]></mm_displaystr>
<mm_file>C:\Users\karlheinz\Documents\Unnamed Site 5\index.html</mm_file>
<mm_linenumber>143</mm_linenumber>
<mm_description><![CDATA[The tag:"object" is not allowed within: "noscript" It is only allowed within: a, abbr, acronym, address, b, bdo, big, button, caption, cite, code, dd, del, dfn, div, dt, em, fieldset, h1, h2, h3, h4, h5, h6. . ..[XHTML 1.0 strict]]]></mm_description>
<mm_reportedby>Dreamweaver Validator Report</mm_reportedby>
</mm_reportitem>
<mm_reportitem>
<mm_statusicon>10</mm_statusicon>
<mm_displaystr><![CDATA[index.html]]></mm_displaystr>
<mm_file>C:\Users\karlheinz\Documents\Unnamed Site 5\index.html</mm_file>
<mm_linenumber>146</mm_linenumber>
<mm_description><![CDATA[The tag name: "embed" Not found in currently active versions.[XHTML 1.0 strict]]]></mm_description>
<mm_reportedby>Dreamweaver Validator Report</mm_reportedby>
</mm_reportitem>
</mm_report>
best regards
satelliteclub
Since your page is using the XHTML 1.0 strict document type, the code that adobe uses for embedding a flash object will not pass validation. Adobe does not use XHTML 1.0 strict compliant code for embedding flash objects.
This does not mean the flash will not work, it only means that it does not pass the recommendations of the XHTML 1.0 strict document type coding standards.
thank you jason - I'm an absolut novice and I guess that many people cry on your shoulder asking for help and take a lot of your time.
to the problem; you are right-it works, but is there a way to use swf as header without being non compliant?
with your answer please remember I'm a novice
very best regards
karlheinz fischer
satelliteclub
change the doctype to use the HTML 4.01 transitional doctype.
go to modify -> page properties. On the Properties / Encoding tab, set the Doc Type to HTML 4.01
hello jason,
after many hours of head sratching (no hair left) I found some sort of solution on the web.
its working and validates in xhtml strict; please have a look;drupal-embedding-flash-swf-in-header/
best regards
karlheinz fischer
satelliteclub
ps.one more time many thanks for your help!
Ok, glad to hear you have it working.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.