
求助一段能在网页上显示股票走势的代码。
显示类似于下图,可自动更新谢谢!!!知道的朋友可以发给我,如果能用,再追加100分,非常感谢。...
显示类似于下图,可自动更新
谢谢!!!
知道的朋友可以发给我, 如果能用,再追加100分 ,非常感谢。 展开
谢谢!!!
知道的朋友可以发给我, 如果能用,再追加100分 ,非常感谢。 展开
2个回答
展开全部
如果是想自己制作网页并且在其页面上显示实时行情的话,你可以查找有关网页提取其中的代码(前提是你要懂)。
也可以参考下例----或直接在网站上查找插件。
使用说明:
页面引入以下脚本
<script src="http://js.jrj.com.cn/hq/co/swfobject.js" type="text/javascript"></script>
<script src="http://js.jrj.com.cn/hq/co/flash4code.js" type="text/javascript"></script>
调用javascript函数
jrj_show_flash(s_code,s_type,divId,flashWidth,flashHeigth)
s_code:证券代码
s_type:证券类型,s表示股票,i表示指数,传空字符串默认为股票
divId:div容器id
flashWidth:flash宽度
flashHeigth:flash高度
也可以参考下例----或直接在网站上查找插件。
使用说明:
页面引入以下脚本
<script src="http://js.jrj.com.cn/hq/co/swfobject.js" type="text/javascript"></script>
<script src="http://js.jrj.com.cn/hq/co/flash4code.js" type="text/javascript"></script>
调用javascript函数
jrj_show_flash(s_code,s_type,divId,flashWidth,flashHeigth)
s_code:证券代码
s_type:证券类型,s表示股票,i表示指数,传空字符串默认为股票
divId:div容器id
flashWidth:flash宽度
flashHeigth:flash高度
展开全部
看看行不行。
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="210" style="border:#DEDEDC 1px solid;">
<tr>
<td width="100%">
<p align="center"><iframe src="http://quote.hexun.com/stock/default.aspx" width=760px; height=210px; frameborder=no border=0 marginheight=0 scrolling=no hspace=0 name="history" style="border: 0px dashed #000000" align="center"></iframe></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="210" style="border:#DEDEDC 1px solid;">
<tr>
<td width="100%">
<p align="center"><iframe src="http://quote.hexun.com/stock/default.aspx" width=760px; height=210px; frameborder=no border=0 marginheight=0 scrolling=no hspace=0 name="history" style="border: 0px dashed #000000" align="center"></iframe></td>
</tr>
</table>
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |