查找javascript:;网页的真实地址 本帖最后由 qq_19281581 于 2014-08-08 23:00:05 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 按个firebug按f12 网络 点击按钮会看到向某个地址发送请求了 function showFundA(){ var config = { tid: 'flex3', rp: 50, async:false, dataURL: '/jisiludata/fundA.php', title: 'A类基金(<a href="javascript:;" class="table-refresh">手动刷新</a> <input id="auto_reload" type="checkbox" />30秒自动刷新) <a href="http://baike.baidu.com/view/2857537.htm" target="_blank">分级大百科</a> <a href="http://www.jisilu.cn/question/3072" target="_blank">分级基金投资FAQ</a> <a href="http://www.jisilu.cn/data/fenji_dizhe/150018" style="color:red" target="_blank">低折收益计算器</a>', cols: [ {display: '代码', title:'A类代码', name : 'funda_id', width : 35,nowrap:true, link: { url:'data/stockfenji_detail/{{funda_id}}', newpage: true, type: self } }, {display: '名称', title:'A类名称', name : 'funda_name', width : 40,nowrap:true}, {display: '现价', title:'A类现价', name : 'funda_current_price', width : 35, tooltip:'最后更新时间:{{last_time}}', link: { url:'http://finance.sina.com.cn/fund/quotes/{{funda_id}}/bc.shtml', newpage: true, type: self } }, {display: '涨幅', title:'A类涨幅', name : 'funda_increase_rt', width : 35, color:true}, {display: '成交金额<br>(万)', title:'A类成交金额', name : 'funda_volume', width : 35,nowrap:true}, {display: '净值', title:'A类净值', name : 'funda_value', width : 35,tooltip:'净值日期:{{funda_nav_dt}}', link: { newpage: true, url: 'http://www.cninfo.com.cn/information/fund/netvalue/{{funda_id}}.html', type: 'self' } }, {display: '折价率', title:'A类折价率', name : 'funda_discount_rt', width : 30}, {display: '利率', name : 'funda_coupon', width : 35}, {display: '收益率', name : 'funda_profit_rt', width : 35, bgcolor:"yellow"}, {display: '剩余<br>年限', name : 'funda_left_year', width : 30, sorter : 'leftYear'}, {display: '参考指数', name : 'funda_index_name', width : 35, tooltip: "{{funda_index_id}}",nowrap:true, link: { newpage: true, url: 'http://quote.eastmoney.com/zs{{funda_index_id}}.html', type: 'self' } }, {display: '参考指数id', name : 'funda_index_id', hidden:true}, {display: '指数涨幅', name : 'funda_index_increase_rt', width : 35}, {display: '低折母基<br>需跌', title:'低折母基需跌', name : 'funda_lower_recalc_rt', width : 35, bgcolor:"yellow", link: { newpage: true, url: 'data/fenji_dizhe/{{funda_id}}', type: 'self' } }, {display: '整体<br>溢价率', name : 'funda_base_est_dis_rt', width : 35, bgcolor:"yellow",nowrap:true}, {display: '份额<br>(万)', title:'A类份额', name : 'funda_amount', width : 35}, {display: '份额<br>增长', title:'A类份额增长率', name : 'funda_amount_increase_rt', width : 35, bgcolor:"yellow"}, {display: 'A:B', name : 'abrate', width : 30}, {display: '公告', name: 'non_ajax_content',content:'', width : 30, link: { newpage: true, url: 'http://www.cninfo.com.cn/information/fundinfolist.html?lm=fulltext&c={{funda_id}}', type: 'self', content:'<img src="http://www.jisilu.cn/static/img/gg.png" alt="公告" />', title: '公告' } }, {display: '净值日期', name: 'funda_nav_dt', hidden: true}, {display: '最后更新', name: 'last_time', hidden: true}, {display: '定期折算', name: 'fund_descr', width: 100} ] }; var fa = new SimpleTableBuilder(config); fa.show();};function showFundB(){ var config = { tid: 'flex2', rp: 50, dataURL: '/jisiludata/fundB.php', title: 'B类基金(<a href="javascript:;" class="table-refresh">刷新</a>) <a href="http://baike.baidu.com/view/2857537.htm" target="blank">分级大百科</a> <a href="http://www.jisilu.cn/question/3072" target="blank">分级基金投资FAQ', cols: [ {display: '代码', title:'B类代码', name : 'fundb_id', width : 50, link: { url:'data/stockfenji_detail/{{fundb_id}}', newpage: true, type: self } }, {display: '名称', title:'B类名称', name : 'fundb_name', width : 60}, {display: '现价', title:'B类现价', name : 'fundb_current_price', width : 50,tooltip:'最后更新时间:{{last_time}}', link: { url:'http://finance.sina.com.cn/fund/quotes/{{fundb_id}}/bc.shtml', newpage: true, type: self } }, {display: '涨幅', title:'B类涨幅', name : 'fundb_increase_rt', width : 50, color:true}, {display: '成交金额(万)', title:'B类成交金额', name : 'fundb_volume', width : 60}, {display: '估值', title:'估值', name : 'b_est_val', width : 40, link: { newpage: true, url: 'http://j4.dfcfw.com/charts/pic1/{{fundb_id}}.png', type: 'self' } }, {display: '净值', title:'B类净值', name : 'fundb_value', width : 50,tooltip:'净值日期:{{fundb_nav_dt}}', link: { newpage: true, url: 'http://www.cninfo.com.cn/information/fund/netvalue/{{fundb_id}}.html', type: 'self' } }, {display: '溢价率', title:'B类溢价率', name : 'fundb_discount_rt', width : 60, bgcolor:"yellow"}, {display: '剩余年限', name : 'fundb_left_year', width : 50, sorter : 'leftYear'}, {display: '价格杠杆', name : 'fundb_price_leverage_rt', width : 50, bgcolor:"yellow"}, {display: '净值杠杆', name : 'fundb_net_leverage_rt', width : 50}, {display: '融资成本', name : 'fundb_capital_rasising_rt', width : 50}, {display: '参考指数', name : 'fundb_index_name', width : 80, bgcolor:"yellow", tooltip: "{{fundb_index_id}}", link: { newpage: true, url: 'http://quote.eastmoney.com/zs{{fundb_index_id}}.html', type: 'self' } }, {display: '指数涨幅', name : 'fundb_index_increase_rt', width : 50}, {display: '低折母基需跌', title:'低折母基需跌', name : 'fundb_lower_recalc_rt', width : 50, link: { newpage: true, url: 'data/fenji_dizhe/{{fundb_id}}', type: 'self' } }, {display: 'A:B', name : 'abrate', width : 50}, {display: '母基净值', name : 'fundb_base_price', width : 50}, {display: '整体溢价率', name : 'fundb_base_est_dis_rt', width : 70, bgcolor:"yellow"}, {display: '指数id', name : 'fundb_index_id', width : 70, hidden: true}, {display: '公告', name : 'non_ajax_content', width : 30, content:'', link: { newpage: true, url: 'http://www.cninfo.com.cn/information/fundinfolist.html?lm=fulltext&c={{fundb_id}}', type: 'self', content:'<img src="http://www.jisilu.cn/static/img/gg.png" alt="公告" />', title: '公告' } }, {display: '净值日期', name: 'fundb_nav_dt', width: 40, hidden: true}, {display: '最后更新', name: 'last_time', width: 40, hidden: true} ] }; var fb = new SimpleTableBuilder(config); fb.show();} js的String型自动转换成了int的问题 注释下长的语句 读取xml节点的奇怪问题 关于联动菜单的数据库设计问题? fusionCharts 右击的打印能控制嘛 如何控制 奇怪,"target=_blank "大开的页面,有时候竟然不与原来的页面共用session?郁闷...... 在线求答案,求Ext大神解答 如何编程实现下载文件(不是让用户点击链接再下载,而是自动下载的)? 如何实在选择某个下拉框内的条目? 为什么在javascript动态添加gif图片不播放呢 如何使document.all('price_'+num).value保留三位小数? 这个正则的疑问
function showFundA(){
var config = {
tid: 'flex3',
rp: 50,
async:false,
dataURL: '/jisiludata/fundA.php',
title: 'A类基金(<a href="javascript:;" class="table-refresh">手动刷新</a> <input id="auto_reload" type="checkbox" />30秒自动刷新) <a href="http://baike.baidu.com/view/2857537.htm" target="_blank">分级大百科</a> <a href="http://www.jisilu.cn/question/3072" target="_blank">分级基金投资FAQ</a> <a href="http://www.jisilu.cn/data/fenji_dizhe/150018" style="color:red" target="_blank">低折收益计算器</a>',
cols: [
{display: '代码', title:'A类代码', name : 'funda_id', width : 35,nowrap:true,
link: {
url:'data/stockfenji_detail/{{funda_id}}',
newpage: true,
type: self
}
},
{display: '名称', title:'A类名称', name : 'funda_name', width : 40,nowrap:true},
{display: '现价', title:'A类现价', name : 'funda_current_price', width : 35, tooltip:'最后更新时间:{{last_time}}',
link: {
url:'http://finance.sina.com.cn/fund/quotes/{{funda_id}}/bc.shtml',
newpage: true,
type: self
}
},
{display: '涨幅', title:'A类涨幅', name : 'funda_increase_rt', width : 35, color:true},
{display: '成交金额<br>(万)', title:'A类成交金额', name : 'funda_volume', width : 35,nowrap:true},
{display: '净值', title:'A类净值', name : 'funda_value', width : 35,tooltip:'净值日期:{{funda_nav_dt}}',
link: {
newpage: true,
url: 'http://www.cninfo.com.cn/information/fund/netvalue/{{funda_id}}.html',
type: 'self'
}
},
{display: '折价率', title:'A类折价率', name : 'funda_discount_rt', width : 30},
{display: '利率', name : 'funda_coupon', width : 35},
{display: '收益率', name : 'funda_profit_rt', width : 35, bgcolor:"yellow"},
{display: '剩余<br>年限', name : 'funda_left_year', width : 30, sorter : 'leftYear'},
{display: '参考指数', name : 'funda_index_name', width : 35, tooltip: "{{funda_index_id}}",nowrap:true,
link: {
newpage: true,
url: 'http://quote.eastmoney.com/zs{{funda_index_id}}.html',
type: 'self'
}
},
{display: '参考指数id', name : 'funda_index_id', hidden:true},
{display: '指数涨幅', name : 'funda_index_increase_rt', width : 35},
{display: '低折母基<br>需跌', title:'低折母基需跌', name : 'funda_lower_recalc_rt', width : 35, bgcolor:"yellow",
link: {
newpage: true,
url: 'data/fenji_dizhe/{{funda_id}}',
type: 'self'
}
},
{display: '整体<br>溢价率', name : 'funda_base_est_dis_rt', width : 35, bgcolor:"yellow",nowrap:true},
{display: '份额<br>(万)', title:'A类份额', name : 'funda_amount', width : 35},
{display: '份额<br>增长', title:'A类份额增长率', name : 'funda_amount_increase_rt', width : 35, bgcolor:"yellow"},
{display: 'A:B', name : 'abrate', width : 30},
{display: '公告', name: 'non_ajax_content',content:'', width : 30,
link: {
newpage: true,
url: 'http://www.cninfo.com.cn/information/fundinfolist.html?lm=fulltext&c={{funda_id}}',
type: 'self',
content:'<img src="http://www.jisilu.cn/static/img/gg.png" alt="公告" />',
title: '公告'
}
},
{display: '净值日期', name: 'funda_nav_dt', hidden: true},
{display: '最后更新', name: 'last_time', hidden: true},
{display: '定期折算', name: 'fund_descr', width: 100}
]
}; var fa = new SimpleTableBuilder(config);
fa.show();
};function showFundB(){
var config = {
tid: 'flex2',
rp: 50,
dataURL: '/jisiludata/fundB.php',
title: 'B类基金(<a href="javascript:;" class="table-refresh">刷新</a>) <a href="http://baike.baidu.com/view/2857537.htm" target="blank">分级大百科</a> <a href="http://www.jisilu.cn/question/3072" target="blank">分级基金投资FAQ',
cols: [
{display: '代码', title:'B类代码', name : 'fundb_id', width : 50,
link: {
url:'data/stockfenji_detail/{{fundb_id}}',
newpage: true,
type: self
}
},
{display: '名称', title:'B类名称', name : 'fundb_name', width : 60},
{display: '现价', title:'B类现价', name : 'fundb_current_price', width : 50,tooltip:'最后更新时间:{{last_time}}',
link: {
url:'http://finance.sina.com.cn/fund/quotes/{{fundb_id}}/bc.shtml',
newpage: true,
type: self
}
},
{display: '涨幅', title:'B类涨幅', name : 'fundb_increase_rt', width : 50, color:true},
{display: '成交金额(万)', title:'B类成交金额', name : 'fundb_volume', width : 60},
{display: '估值', title:'估值', name : 'b_est_val', width : 40,
link: {
newpage: true,
url: 'http://j4.dfcfw.com/charts/pic1/{{fundb_id}}.png',
type: 'self'
}
},
{display: '净值', title:'B类净值', name : 'fundb_value', width : 50,tooltip:'净值日期:{{fundb_nav_dt}}',
link: {
newpage: true,
url: 'http://www.cninfo.com.cn/information/fund/netvalue/{{fundb_id}}.html',
type: 'self'
}
},
{display: '溢价率', title:'B类溢价率', name : 'fundb_discount_rt', width : 60, bgcolor:"yellow"},
{display: '剩余年限', name : 'fundb_left_year', width : 50, sorter : 'leftYear'},
{display: '价格杠杆', name : 'fundb_price_leverage_rt', width : 50, bgcolor:"yellow"},
{display: '净值杠杆', name : 'fundb_net_leverage_rt', width : 50},
{display: '融资成本', name : 'fundb_capital_rasising_rt', width : 50},
{display: '参考指数', name : 'fundb_index_name', width : 80, bgcolor:"yellow", tooltip: "{{fundb_index_id}}",
link: {
newpage: true,
url: 'http://quote.eastmoney.com/zs{{fundb_index_id}}.html',
type: 'self'
}
},
{display: '指数涨幅', name : 'fundb_index_increase_rt', width : 50},
{display: '低折母基需跌', title:'低折母基需跌', name : 'fundb_lower_recalc_rt', width : 50,
link: {
newpage: true,
url: 'data/fenji_dizhe/{{fundb_id}}',
type: 'self'
}
},
{display: 'A:B', name : 'abrate', width : 50},
{display: '母基净值', name : 'fundb_base_price', width : 50},
{display: '整体溢价率', name : 'fundb_base_est_dis_rt', width : 70, bgcolor:"yellow"},
{display: '指数id', name : 'fundb_index_id', width : 70, hidden: true},
{display: '公告', name : 'non_ajax_content', width : 30, content:'',
link: {
newpage: true,
url: 'http://www.cninfo.com.cn/information/fundinfolist.html?lm=fulltext&c={{fundb_id}}',
type: 'self',
content:'<img src="http://www.jisilu.cn/static/img/gg.png" alt="公告" />',
title: '公告'
}
},
{display: '净值日期', name: 'fundb_nav_dt', width: 40, hidden: true},
{display: '最后更新', name: 'last_time', width: 40, hidden: true}
]
}; var fb = new SimpleTableBuilder(config);
fb.show();}