`
rocky_lei
  • 浏览: 40858 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

open flash chart data-file多参数传递

 
阅读更多

 

使用javascript方式调用open-flash-chart,data-file如果是url网页路径传递多个参数,需要使用escape()方法。

默认open-flash-chart会把“&”解析成 %26

 

 

  example:   swfobject.embedSWF("swf/open-flash-chart.swf", "divid", "100%", "350", "9.0.0", "expressInstall.swf", { "data-file": escape("${base}/ad/getReportForms.action?flashChart=2&tag=${tag}&userId=${userId}&adId=${adId}&dateType=${dateType}&startTime=${startTime}&endTime=${endTime}&selectTime=${selectTime}")}); 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics