WebRoot/FusionChartsFree/Contents/JSEmbed.html
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="iso-8859-1"?><!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>FusionCharts Free Documentation</title>
<link rel="stylesheet" href="Style.css" type="text/css" />
</head>
<body>
<table width="98%" border="0" cellspacing="0" cellpadding="3" align="center">
<tr>
<td><h2 class="pageHeader">Embedding a Chart Using JavaScript </h2></td>
</tr>
<tr>
<td valign="top" class="text"><p>In both our previous examples, we had used
direct HTML code (shown below) to embed a chart:</p></td>
</tr>
<tr>
<td valign="top" class="codeBlock"><html><br />
... <br />
<strong> </strong><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="600" height="500" id="Column3D" ><br />
<param name="movie" value="../FusionCharts/FCF_Column3D.swf"
/><br />
<param name="FlashVars"
value="&dataURL=Data.xml&chartWidth=600&chartHeight=500"><br /> <param
name="quality" value="high" /><br />
<embed
src="../FusionCharts/FCF_Column3D.swf" flashVars="&dataURL=Data.xml&chartWidth=600&chartHeight=500"
quality="high" width="600" height="500" name="Column3D"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"
/><br />
</object><br />
... <br /> </html></td>
</tr>
<tr>
<td valign="top" class="text"><p>As you can see above, we've used the <span class="codeInline"><OBJECT></span>
and<span class="codeInline"> <EMBED></span> tags to embed the chart
in an HTML page. This method of embedding is known as direct HTML embedding.
</p>
<p>However, with the recent updates in the way Internet Explorer handles
ActiveX Object (Flash is ActiveX Object), end users would first be required
to click the chart to activate it. Shown below is an example:</p></td>
</tr>
<tr>
<td valign="top" class="text"><img src="Images/ClickToActivate.jpg" class="imageBorder"/></td>
</tr>
<tr>
<td valign="top" class="text"><p>Until the user clicks the chart, he wouldn't
be able to interact with the chart i.e., the tool tips and links won't
function. This can sometimes be misleading when you've links in your chart.</p></td>
</tr>
<tr>
<td valign="top" class="text"> </td>
</tr>
<tr>
<td valign="top" class="header">JavaScript as Solution</td>
</tr>
<tr>
<td valign="top" class="text"><p>As a solution to the above "Click to
后面还有 140 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。