kodma ma byt v html 4.0
problemova část kodu je :
29: <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH=785 HEIGHT=70>
30: <PARAM NAME=movie VALUE="graphick/top_baner.swf">
31: <PARAM NAME=quality VALUE=high>
32: <PARAM NAME=bgcolor VALUE=#000099>
33: <EMBED src="graphick/top_baner.swf" quality=high bgcolor=#000099 WIDTH=785 HEIGHT=70 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
34: </EMBED>
35: </OBJECT>
validator hlásí:
Line 32, column 39: an attribute value must be a literal unless it contains only name characters (explain...).
<PARAM NAME=bgcolor VALUE=#000099>
^
Line 33, column 24: there is no attribute "SRC" (explain...).
<EMBED src="graphick/top_baner.swf" quality=high bgcolor=#000099 W
^
Line 33, column 57: there is no attribute "QUALITY" (explain...).
...src="graphick/top_baner.swf" quality=high bgcolor=#000099 WIDTH=785 HEIGHT=7
^
Line 33, column 70: there is no attribute "BGCOLOR" (explain...).
.../top_baner.swf" quality=high bgcolor=#000099 WIDTH=785 HEIGHT=70 TYPE="appli
^
Line 33, column 70: an attribute value must be a literal unless it contains only name characters (explain...).
.../top_baner.swf" quality=high bgcolor=#000099 WIDTH=785 HEIGHT=70 TYPE="appli
^
Line 33, column 85: there is no attribute "WIDTH" (explain...).
... quality=high bgcolor=#000099 WIDTH=785 HEIGHT=70 TYPE="application/x-shockw
^
Line 33, column 96: there is no attribute "HEIGHT" (explain...).
...gh bgcolor=#000099 WIDTH=785 HEIGHT=70 TYPE="application/x-shockwave-flash"
^
Line 33, column 104: there is no attribute "TYPE" (explain...).
...or=#000099 WIDTH=785 HEIGHT=70 TYPE="application/x-shockwave-flash" PLUGINSP
^
Line 33, column 148: there is no attribute "PLUGINSPAGE" (explain...).
...ation/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/dow
^
Line 33, column 235: element "EMBED" undefined (explain...).
...x.cgi?P1_Prod_Version=ShockwaveFlash">
^
navim jak bych se techto chYb mnšl zbavit
... <PARAM NAME=bgcolor VALUE=#000099>
<PARAM NAME=bgcolor VALUE="#000099"> .. musi tam mejt uvozovky, nejlepsi je davat vsude..
no uvozovky pomohli jen trochu hlasi to stale at je tam mam či nemam na tomto radku 33: <EMBED src="graphick/top_baner.swf" quality=high bgcolor=#000099 WIDTH=785 HEIGHT=70 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Vers ion=ShockwaveFlash">
t atouz opravdu nevim co stim
Line 33, column 24: there is no attribute "SRC" (explain...).
<EMBED src="graphick/top_baner.swf" quality="high" bgcolor="#000099
^
Line 33, column 57: there is no attribute "QUALITY" (explain...).
...src="graphick/top_baner.swf" quality="high" bgcolor="#000099" WIDTH="785" HE
^
Line 33, column 72: there is no attribute "BGCOLOR" (explain...).
...op_baner.swf" quality="high" bgcolor="#000099" WIDTH="785" HEIGHT="70" TYPE=
^
Line 33, column 89: there is no attribute "WIDTH" (explain...).
...lity="high" bgcolor="#000099" WIDTH="785" HEIGHT="70" TYPE="application/x-sh
^
Line 33, column 102: there is no attribute "HEIGHT" (explain...).
...gcolor="#000099" WIDTH="785" HEIGHT="70" TYPE="application/x-shockwave-flash
^
Line 33, column 112: there is no attribute "TYPE" (explain...).
...00099" WIDTH="785" HEIGHT="70" TYPE="application/x-shockwave-flash" PLUGINSP
^
Line 33, column 156: there is no attribute "PLUGINSPAGE" (explain...).
...ation/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/dow
^
Line 33, column 243: element "EMBED" undefined (explain...).
...x.cgi?P1_Prod_Version=ShockwaveFlash">
jo a myslim ze se ti nedela pomoci EMBED ale OBJECT..
no jo s flasem moc neumim a tak jsem vzal to co mi vygeneroval :-((
mas prvdu embed je na ho a a je to vymysl M$ a NN vyrazil jsem to a je to ted ok
Flash se dá vložit buď pomocí EMBED (postaru) nebo nově pomocí OBJECT
Flash generuje OBJECT, který je v alternativním obsahu jištěn EMBEDem...
...což se obšem nezamlouvá validátorům (EMBED už se nepoužívá)
viz
flash-help.wz.cz
mensi problemek s operou kdyz tam nechem to EMBED tak se animace nacte bey embed se animace nenacte (mise a nn tam je to v poho)