Tag: galleryview

从Gallery View插件中的url动态加载图像内容

我正在使用jQuery GalleryView插件在网页中显示图像。 图像是从xml中提供的url链接加载的,因为没有图像是随机的,我使用jQuery读取所有链接,然后validation然后要求GalleryView显示,但是看起来GalleryView没有响应动态创建但是如果我硬核HTML页面中的图像URL链接,然后它工作…我试图在Ajax的完成function中调用插件许多提前感谢… galleryView插件url: http : //www.techrepublic.com/blog/webmaster/plug-in-galleryview-with-jquery-on-your-website/2079 //由jQuery生成的HTML代码—- // // ——– jQuery的—– $(this).find(‘photo’).each(function (index) { PropertyDetail.d_img_urlname[index] = $(this).find(‘urlname’); $(“”, { src: PropertyDetail.d_img_urlname[index].text(), error: function () { PropertyDetail.d_img_urlname.splice($.inArray(PropertyDetail.d_img_urlname[index]), 1); }, load: function (){ $(“#selectedPropertyImg_Wrapper”).find(“#myGallery”).append(“”); } }); }); // GalleryView图像// ajax code…. }).done(function () { $(function () { $(‘#myGallery’).galleryView({ panel_width: 750, panel_height: 500, frame_width: 100, frame_height: 67 […]