问题描述
这是iframe:<iframeid="cf"src="../../FusionCharts/jquery/zoom.jsp"width="340"height="135"scrolling="no"frameborder="0"></iframe>这是zoom.jsp:(引入css、js)<scripttype="text/javascript"language="javascript">$(document).ready(function(){$.jqplot.config.enablePlugins=true;vargoog1=[['08/10/2011',96.0],['08/11/2011',84.0]];vargoog2=[['08/10/2011',96.0],['08/11/2011',84.0]];plot=$.jqplot('cfChart',[goog1,goog2],{legend:{show:true,location:'sw',xoffset:1,yoffset:1,renderer:$.jqplot.EnhancedLegendRenderer},series:[{label:'个人'},{label:'群体'}],seriesDefaults:{lineWidth:1.5,markerOptions:{show:true,size:4}},seriesColors:['#cc6666','#66cc66'],axes:{xaxis:{renderer:$.jqplot.DateAxisRenderer,min:'August1,2011',tickInterval:"10days",tickOptions:{formatString:"%Y/%#m/%#d"}},yaxis:{show:false,ticks:[20,40,60,80,100],tickOptions:{formatString:'%d'}}},cursor:{zoom:true},highlighter:{show:true}});});</script><divstyle="padding-top:0px"><buttonvalue="reset"type="button"onclick="plot.resetZoom();">重置</button></div><divid="cfChart"style="margin-top:0px;margin-left:0px;width:340px;height:135px;"></div>跪求指导。。。。。。。。。。。