当前位置: 代码迷 >> PHP >> js代码会实现图片显示吗
  详细解决方案

js代码会实现图片显示吗

热度:31   发布时间:2016-04-28 17:02:24.0
js代码能实现图片显示吗?
这段js代码能实现图片显示吗?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="js/swfobject_modified.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.js"></script>
</head>
<body>
<div class="huandp">
<script>
     $(function(){
       var box =new PPTBox();
     box.width = 1425; //宽度
     box.height = 396;//高度
     box.autoplayer = 30;//自动播放间隔时间

   box.add({"url":"images/501.jpg","href":"http://www.25mj.com/huodong/150801/index.php","title":"2015年7月25日活动页面"})
  
     box.show();
     })
    </script>
</div>
</body>
</html>
如果能,应该怎样实现?
------解决思路----------------------
你直接在js里面创建一个元素节点就行了。这样做太麻烦了
------解决思路----------------------
电脑能,只需涉及的 2 个 js 文件存
手机不能,因为手机都不支持 Flash
  相关解决方案