Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Webmaster Zone > Showcase
Register

Reply
 
LinkBack Thread Tools
Old 23.07.2007, 12:38   #1
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 36
Posts: 896
Downloads: 1
Uploads: 0
Reputation: 9 | 0
Default Flash validation on XHTML Transitional DTD page

The code to insert flash object is created Dreamweaver:

Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="250" height="250" title="e">
  <param name="movie" value="travelam.swf" />
  <param name="quality" value="high" />
  <embed src="travelam.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="250" height="250"></embed>
</object>
It's not passing validation at http://validator.w3.org/
And all my sites with flash with <embed> element is not approved by W3C. What tag I can use instead of it?
Reply With Quote
Old 23.07.2007, 15:10   #2
горно-предгорной жизни =)
 
Gor Vardanyan's Avatar
 
Join Date: 02 2005
Location: Multiverse
Age: 34
Posts: 962
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

Nevnimatelni kakoi
http://www.theitarticles.com/flash-s...standards/164/

ili vot primer v realnom site
http://leplastique.com/
Reply With Quote
Old 24.07.2007, 04:11   #3
Дошкольник
 
Join Date: 02 2007
Location: Yerevan, Armenia
Posts: 111
Downloads: 0
Uploads: 0
Reputation: 66 | 3
Default

To me the best option is to put it in JS file and to call this JS file in XHTML-valid way:
<script type="text/javascript" src="js/filename.js"></script>

This solves the problem and adds no garbage to your XHTML code.
Reply With Quote
Old 24.07.2007, 05:36   #4
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 36
Posts: 896
Downloads: 1
Uploads: 0
Reputation: 9 | 0
Default

Problema opyat' taki ostaetsyq nasushnoy, t.k. instrument cherez kotory pozvolyaet visualno redaktirovat' content, tak nazyvaemy HTMLArea, vse ravno vozvrashaet code s <embed>
Vsem spasibo!
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 06:15.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.