以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.net/bbs/index.asp)
--  专家坐堂  (http://foxtable.net/bbs/list.asp?boardid=2)
----  图片无法放大  (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=190808)

--  作者:lshshlxsh
--  发布时间:2024/3/5 16:58:00
--  图片无法放大
请问老师  为什么我从另一个页面返回的图片浏览  点击图片无法放大 ,麻烦帮看一下 ,谢谢!

js 代码 

 function aa(){
 var obj=new Object();
    obj.xsddh = \'aa\';
    var result = sendAjaxJSON(obj,"b.htm","",false) ;
//alert(result )
 document.getElementById("page1").innerHTML = result ;
}  





  Case "a.htm"        
        wb.AddPage("","page1")
        wb.AddForm("","form1","a.htm")
        With wb.AddButtonGroup("","btgcx",False)
            .Add("btn1", "发送","button").Attribute = """
        End With
        wb.InsertHTML("<script> " & vars("test") & " </script>")
        e.WriteString( wb.Build )
    Case "b.htm"
        wb.AddPage("","page1")
        wb.AddForm("page1","form1","")
        With wb.AddInputGroup("form1","ipg1","客户资料")
            .AddInput("姓名","姓名","text").value = "舒淇"
            .AddInput("地点","地点","text").Value = "蒙古草原"
            With .AddUploader("up1","",True)
                .AllowAdd = False \'关闭文件上传功能
                .AddImage("http://jiaju.greatlan.cn/商品Image/LJ00214.jpg")
                .AddImage("http://jiaju.greatlan.cn/商品Image/LJ00213.jpg")
            End With
        End With
        e.WriteString(wb.BuildHTML("page1"))

--  作者:有点蓝
--  发布时间:2024/3/5 17:04:00
--  
function aa(){
 var obj=new Object();
    obj.xsddh = \'aa\';
    var result = sendAjaxJSON(obj,"b.htm","",false) ;
//alert(result )
 document.getElementById("page1").innerHTML = result ;
var  eles = document.getElementsByClassName("weui-gallery__img");
    for (var i = 0; i < eles.length; i++) {
        eles[i].onclick = galleryClick;
    }
eles = document.querySelectorAll(".weui_uploader_files,.article_image");
for (var i = 0; i < eles.length; i++) {
        eles[i].onclick = showGallery;
    }
}  

--  作者:lshshlxsh
--  发布时间:2024/3/6 8:14:00
--  
谢谢老师