<html> <head> <title>My First FusionCharts</title> </head> <body bgcolor="#ffffff"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="900" height="300" id="Column3D" > <param name="movie" value="../FusionCharts/Column3D.swf" /> <param name="FlashVars" value="&dataURL=Data.xml"> <param name="quality" value="high" /> <embed src="../FusionCharts/Column3D.swf" flashVars="&dataURL=Data.xml" quality="high" width="900" height="300" name="Column3D" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </body> </html> |
Save this file as Chart.html under MyFirstChart folder.
The code in bold above is the actual code that you need to place in your page to embed a FusionCharts chart.
In the above code, we've
- used <OBJECT> and <EMBED> tags to embed the 3D Column Chart (Column3D.swf) within the HTML page.
- used &dataUrl=Data.xml under FlashVars parameter to indicate the source of data to chart – Data.xml in this case. This method of indicating data is referred to as dataURL method of providing data.
- specified chart width as 900 and chart height as 300.
|
|
To display a Flash movie correctly in a browser, HTML page should contain specific tags that specify the Flash movie file to be opened and played. There are two tags which are intended for it: <OBJECT> and <EMBED> tags.
These two tags are required to display a Flash movie in different Internet browsers properly. The <OBJECT> tag is used by Internet Explorer under Microsoft Windows and the <EMBED> tag is used by Netscape Navigator under Microsoft Windows or Mac OS. Each of these two tags acts in the same way, however using only one tag may cause incompatibility of one of the browsers. To ensure that most browsers will play your Flash movies, you should place the <EMBED> tag nested within the <OBJECT> tag as shown in the example. ActiveX-enabled browsers will ignore the <EMBED> tag inside the <OBJECT> tag. Netscape and old Microsoft browsers will not recognize the <OBJECT> tag and will use only the <EMBED> tag to load the Macromedia Flash Player.
|
<OBJECT> 标签支持IE,<EMBED>标签支持旧版本的IE和其他的浏览器加载flash播放器。。。。
分享到:
相关推荐
29、<embed> 定义外部交互内容或插件。 30、<fieldset> 可将表单内的相关元素分组。 31、<figcaption> 定义 figure 元素的标题。 32、<figure> 定义媒介内容的分组。 33、<footer> 定义section/page的页脚。 34、...
<p>one</p> <div><p>two</p></div> <p>three</p> jQuery 代码: $("div > p"); 结果: [ <p>two</p> ] -------------------------------------------------------------------------------- 在文档的第一个表单...
object 的初衷是取代 img 和 applet 元素。不过由于漏洞以及缺乏浏览器支持,这一点并未实现。 浏览器的对象支持有赖于对象类型。不幸的是,主流浏览器都使用不同的代码来加载相同的对象类型。 而幸运的是,object...
其实相应的写法有很多,比较通用的就是object + embed ,但是我在使用过程中,在xp sp3 下,embed标签标记为x-mplayer2,但是strechToFit无效了
要在网页中正常显示flash内容,那么页面中必须要有指定flash路径的标签也就是OBJECT和EMBED标签,下面为大家介绍下两者的区别
</object> <table style="width:550px" cellspacing="0" cellpadding="0" border="0"> <tr> <td style="vertical-align:middle"> <table style="border:1px solid #333333;width:90%;height:5px" cellpadding...
Web-前端html+css从入门到精通 118. embed标签与object标签.zip
CKEditor是新一代的FCKeditor,是...修正:从编辑器中删除以“object”,“embed”,“param”为前缀的启用了ACF的自定义元素内容。API更改:添加了[`editor.plugins.detectConflict()`]方法查找提供的插件之间的冲突。
embed>标签 <embed> 标签的作用是在 HTML页面中嵌入多媒体元素 <embed src="1.swf"width="400"> <object> 标签的作用是在 HTML页面中...在HTML5后,播放网页视频就简单多了,一个<vedio></vedio>
document.write('</object>'); //--> </script> 3、在首页调用 调用格式如{$MY_eAgerFlash(5,1001,450,320)} 调用数量为5、频道1001、宽450,高320。 4、欢迎大家访问我的网站:http://www.eAger.nAme 谢谢大家! ...
在我自己本机的ie8上能正常播放视频的程序(ie6也可以),放用户的电脑上就是不能正常播放,后来将embed换成object,问题得以解决
<!--#include file="conn.asp"--> <% sql="select top 6 * from news order by id desc" set rs=Server.CreateObject("adodb.recordset") rs.open sql,db,1,1 ... document.write('</object>'); </script>
嵌入PDF查看器 贡献者:Afragen,AKIRK 标签:pdf,嵌入,显示,查看器,块... 非常感谢使Embed PDF Viewer与新的块编辑器兼容。 欢迎对develop分支提出拉取请求。 屏幕截图 嵌入PDF Viewer块 选择PDF PDF块和属性
下来介绍一下这是那种方法。 第一种: 使用<embed>标签: 这个是官方推荐的用法,但是这个官方是Adobe官方,不是W3C官方,现在的HTML标准里还没有这个标签。 ...embed src=example.svg ...object>标签: 这
基本-pdf-embed-wp-plugin 一个 WordPress 插件,可以使用 <object> 标签轻松显示 PDF 文件
FontTagKiller 将页面中所有的<font>标记清除 jsonbrowser 根据不同的浏览器选择不同的js代码 Remove lines from maps IE4会在可点图激活时候显示虚线框,该命令移走这个框 Tag killer 将指定的标签从页面中清除 ...
它根据当前的脚本配置,自动将a标签替换成div,并生成object, embed甚至是iframe代码,至于生成object还是embed,jQuery Media会根据当前平台自动判别,因此兼容性方面非常出色。下面这段代码是jQuery Media生成后的...