以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 网页表格中能否做到双击表格跳转页面 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=137160) |
-- 作者:巷弄太过弯曲 -- 发布时间:2019/6/29 9:59:00 -- 网页表格中能否做到双击表格跳转页面 老师,请问网页表格中能否做到双击表格跳转页面 |
-- 作者:有点蓝 -- 发布时间:2019/6/29 10:38:00 -- 建议使用这种方式:http://www.foxtable.com/mobilehelp/scr/0147.htm,因为在手机里默认是不响应双击事件的 Select Case e.Path Case "table.htm" Dim wb As New WeUI With wb.AddTable("","Table1") .head.AddRow("部门","姓名","年龄","电话","地址") \'表头 .body.AddRow("技术部","张三","36","110","中国北京").Attribute = "ondblclick=\'alert(""张三"")\'" \'数据 .body.AddRow("技术部","李四","38","110","中国上海") .body.AddRow("技术部","王五","39","110","中国深圳") .body.AddRow("生产部","赵六","39","110","中国深圳") .body.AddRow("生产部","刘七","39","110","中国深圳") End With e.WriteString(wb.Build) End Select |
-- 作者:巷弄太过弯曲 -- 发布时间:2019/6/29 12:39:00 -- 谢谢老师 |