sách gpt4 ai đã đi

Gặp sự cố với Lỗi yêu cầu đối tượng của IE 8, hộp đèn không hoạt động trong IE 8 và IE 7

In lại Tác giả: Space Dog 更新时间:2023-10-29 16:42:44 28 4
mua khóa gpt4 Nike

我实现了上传的图片显示在网站上。为了 图片未正确上传意味着我将错误图片替换为 那?当我加载网站时,我遇到了 错误图像不存在的问题
定义
,并且灯箱在 chrome 和 firefox 中加载 但它没有在 IE 中加载,只显示黑色背景。 这是我显示错误图像和上传图像的代码 来自网络服务。

PHP 代码:

foreach(object_2_array($ans->answerDocumentList) as $document){
if ($document->documentHttpUrl!= ''):
$document_name_explode = explode('.',$document->documentName);
$file_type = trim($document_name_explode[1]);?>

style="float:none;margin-left:0px;" style="float:left;">


<?php echo stripcslashes($document->documentName); ?>



echo $document->documentName;
} ?>








函数是:

  function errorImage(url,ctrl){
ctrl.style.border='solid 1px black';
ctrl.src='images/broken-image.jpg';
$(ctrl).parent().parent().find('.download_link').hide();
}

1 Câu trả lời

最后我解决了我的问题,使 Lightbox 正常工作 在 IE 7 和 IE 8 上,

我包含脚本文件 google api http://www.google.com/jsapi和 google.load("jquery", "1"); google.load("jquery", "1");

在 Header.php 这是个问题 与我的 lighbox.js 文件和其他库文件发生冲突,然后我删除了该脚本并添加了新的脚本 Js 库 ../../../ajax/libs/jquery/1.8.1/jquery.min.js

我将所有脚本 $ 符号更改为 jQuery 现在我使 Lightbox 在 IE 浏览器和所有浏览器中工作

关于php - 在 IE 8 中遇到问题对象需要错误,灯箱在 IE 8 和 IE 7 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13855205/

28 4 0
Giấy chứng nhận ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com