Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共3 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:图片无法放大

1楼
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"))
2楼
有点蓝 发表于: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;
    }
}  
3楼
lshshlxsh 发表于:2024/3/6 8:14:00
谢谢老师
共3 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .02148 s, 2 queries.