以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 超链接跳转不成功 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=145675) |
-- 作者:有点蓝 -- 发布时间:2020/2/4 15:28:00 -- 代码给完整,这样很难分析问题。 第一段代码是哪个网页进来的?完整代码发上来 同一个域名的网页,不需要写全的:.Add("btn4", "访问主页", "", "qq.htm")
|
-- 作者:有点蓝 -- 发布时间:2020/2/4 16:21:00 -- If e.Host = "okokqq.com" Or e.Host = "www.okokqq.com" Or e.Host = "127.0.0.1" Then Dim wb As new WeUI Select Case e.path Case "" With wb.AddArticle("","ar13") .AddImage("./images/sy.jpg") End With With wb.AddButtonGroup("","btngrp1") .Add("btn4", "访问主页", "", "qq.htm") \'超链接 End With e.WriteString(wb.Build) \'生成网页 Case "qq.htm" With wb.AddTabBar("", "tb1",1) .AddPage("page1","养猪","./images/pig.png") .AddPage("page2","养鸡","./images/chick.jpg") .AddPage("page3","在线帮助","./images/kplr.ico") .AddPage("page4","联系我们","./images/huaruizj.ico") End With e.WriteString(wb.Build) End Select End If |