Silence
Posting Freak
    
ارسالها: 1,899
Likes Given: 1 Likes Received: 0 in 0 posts
تاریخ عضویت: ۲۶ اسفند ۱۳۸۴
|
مشکل در XHTML Valid...
یه قالب هست...که یه جاش یه پلیر فلش قرار داره...
من این پلیر رو با کد زیر قرار دادم توی قالب...
کد:
<embed style="background-color: #DCE1E5;" loop="true" quality="high" src="http://***/player/qp.swf" play="true" flashvars="bog=<$MTEntryKeywords$>" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" height="85px" width="243px" />
و هم به صورت زیر...
کد:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
حالا موقع Valid ارور می ده...
می خواستم ببینم مشکل کجاست...
...
|
|
| ۲۰ اسفند ۱۳۸۶ ۱۱:۲۸ عصر |
|
|
hajagha
Posting Freak
    
ارسالها: 2,841
Likes Given: 0 Likes Received: 3 in 3 posts
تاریخ عضویت: ۸ تیر ۱۳۸۶
|
|
| ۲۱ اسفند ۱۳۸۶ ۱۲:۰۱ صبح |
|
|
Silence
Posting Freak
    
ارسالها: 1,899
Likes Given: 1 Likes Received: 0 in 0 posts
تاریخ عضویت: ۲۶ اسفند ۱۳۸۴
|
مشکل در XHTML Valid...
[HTML]<embed style=/////"/////background-color: #DCE1E5;" loop="true" quality="high
✉
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. 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 "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
[/HTML]
[HTML]…le="background-color: #DCE1E5;" loop=////"////true" quality="high" src="http://paleda
✉
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. 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 "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
[/HTML]
به کاراکتر بین //// //// گیر داده...
و 7 یا 8 تای دیگه هم هست...
...
|
|
| ۲۱ اسفند ۱۳۸۶ ۱۲:۴۴ صبح |
|
|
Silence
Posting Freak
    
ارسالها: 1,899
Likes Given: 1 Likes Received: 0 in 0 posts
تاریخ عضویت: ۲۶ اسفند ۱۳۸۴
|
مشکل در XHTML Valid...
راه حل هم استفاده از <object> هست...
اما حالا یه مشکل دارم...
من وقتی از <embed> استفاده می کردم...یه فایل mp3 رو برای پلیر فراخوانی می کردم...
حالا توی <object> چه طوری باید این کار رو بکنم...اصلاً شدنی هست؟...
قبلاً به صورت زیر بود:...
کد PHP:
<embed src="***/player/qp.swf" play="true" loop="true" quality="high" flashvars="bog=***.mp3" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="243" height="85" />
حالا به به صورت زیر:...
کد PHP:
<object type="application/x-shockwave-flash" data="***/player/qp.swf" width="243" height="85"> <param name="movie" value="***r/player/qp.swf" /> </object>
چه جوری می تونم فایل mp3 رو فراخوانی کنم؟...
...
|
|
| ۲۱ اسفند ۱۳۸۶ ۰۲:۵۴ عصر |
|
|
amir abbas
با سابقه ها و بزرگان
ارسالها: 750
Likes Given: 0 Likes Received: 0 in 0 posts
تاریخ عضویت: ۲ تیر ۱۳۸۵
|
|
| ۲۳ اسفند ۱۳۸۶ ۱۱:۲۷ صبح |
|
|