编程论坛's Archiver

chorce 发表于 2008-4-18 08:19

中文部分不能正常显示

<!-- Header Code -->

<!--Header code for Slide in 2 Images.swf - Flash File vid_2 -->


<!-- Body Code -->



<!-- Slide in 2 Images.swf - Flash File vid_2 -->

<!--Preamble-->
<div id="vid_2" style="position:absolute; left:50px; top:0px; width:700px; height:200px; /*MainDivStyle*/" __AddCode="here">
<!--MainDivStart-->
    <script language="JavaScript" type="text/javascript">
    var hasReqestedVersion = DetectFlashVer(8, 0, 0);
    if (hasReqestedVersion)
    {
    AC_FL_RunContent(
            "src", "_wp_scripts/Slide in 2 Images?CompanyName=www.bbb.com&line1=中国天津&line2=Bullet%20Point%20Line%202&line3=Bullet%20Point%20Line%203&scheme1=0x777777&scheme2=0x7698c2&Pic1URL=_wp_scripts/24768968.jpg&Pic2URL=_wp_scripts/24741022.jpg&Pic3URL=",
            "play", "true",
            "loop", "true",
            "width", "700",
            "height", "200",
            "salign", "C",
            "scale", "ShowAll",
            "id", "vid_2",
            "quality", "High",
            "wmode", "transparent",
            "bgcolor", "#FFFFFF",
            "name", "vid_2",
            "type", "application/x-shockwave-flash",
            'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
            "pluginspage", "http://www.macromedia.com/go/getflashplayer"
    );
    }
    else
    {
            var alternateContent = 'An old version of the Flash plugin was detected. <strong><a href="http://www.macromedia.com/go/getflash/">Please upgrade your Flash plugin.</a></strong>';
            document.write(alternateContent);
    }
    </script>
<!--MainDivEnd-->
</div>
<!--Postambl

渚薰 发表于 2008-4-18 09:41

用encodeURIComponent对中文进行编码

chorce 发表于 2008-4-18 10:53

"src", "_wp_scripts/Slide in 2 Images?CompanyName=www.bbb.com&line1=中国天津&line2=Bullet%20Point%20Line%202&line3=Bullet%20Point%20Line%203&scheme1=0x777777&scheme2=0x7698c2&Pic1URL=_wp_scripts/24768968.jpg&Pic2URL=_wp_scripts/24741022.jpg&Pic3URL=",

能不能帮我改一下

chorce 发表于 2008-4-20 20:23

大家帮忙给看一下

chorce 发表于 2008-4-22 07:53

在线等

ayue222 发表于 2008-4-25 18:37

"src", "_wp_scripts/Slide in 2 Images?CompanyName=www.bbb.com&line1="+encodeURIComponent('中国天津')+"&line2=Bullet%20Point%20Line%202&line3=Bullet%20Point%20Line%203&scheme1=0x777777&scheme2=0x7698c2&Pic1URL=_wp_scripts/24768968.jpg&Pic2URL=_wp_scripts/24741022.jpg&Pic3URL=",

chorce 发表于 2008-4-27 21:19

还是不行呢,出来的还是方框

reggy 发表于 2008-4-29 11:55

试试

"src", "_wp_scripts/Slide%20in%202%20Images?CompanyName=www.bbb.com&line1=%E4%B8%AD%E5%9B%BD%E5%A4%A9%E6%B4%A5&line2=Bullet%20Point%20Line%202&line3=Bullet%20Point%20Line%203&scheme1=0x777777&scheme2=0x7698c2&Pic1URL=_wp_scripts/24768968.jpg&Pic2URL=_wp_scripts/24741022.jpg&Pic3URL=",

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.