| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 689 人关注过本帖
标题:使用idrag插件实现拖曳问题
只看楼主 加入收藏
yuanshansish
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2012-7-31
收藏
 问题点数:0 回复次数:0 
使用idrag插件实现拖曳问题
在火狐浏览器上没有问题,但是换到IE浏览器就只能拖动一次,移动之后想再次拖动就不行了,请问有什么问题?

代码如下:
<%@ page language="Java" contentType="text/html;charset=UTF-8"%>
<%@ page
    import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<%@ page import="com.fpi.bear.web.framework.service.AppSystemService"%>
<%@ page import="org.springframework.web.context.WebApplicationContext"%>
<%@ page import="com.fpi.bear.web.framework.service.AppSystem"%>
<%@ page import="java.util.List"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.
<html xmlns="http://www.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" href="/jsp/resources/jquery-ui-1.8.21.custom/css/redmond/jquery-ui-1.8.21.custom.css" rel="stylesheet" />
<link type="text/css" href="style.css" rel="stylesheet" />
<script type="text/javascript" src="/jsp/resources/jquery-ui-1.8.21.custom/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/jsp/resources/jquery-ui-1.8.21.custom/js/jquery-ui-1.8.21.custom.min.js"></script>
<script type="text/javascript" src="/jsp/resources/jQuery-Validation/js/idrag.js"></script>
<script type="text/javascript" src="/jsp/resources/jQuery-Validation/js/iutil.js"></script>
<script type="text/javascript" src="/jsp/resources/jQuery-Validation/js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
     $('.div').Draggable({
        revert: false,
        zIndex : 1000,
        ghosting : false,
        opacity : 0.7,
        containment : 'parent'
    });
});
</script>
</head>

<body>
    <div class="wraps">
        <div id="parentDiv" class="login_dis" style="margin: 0px auto;width:800px;height:500px;position: relative;">
            <img id="img" src="/images/chinamap.png" alt="" width="100%" height="100%" style="width:100%;height:100%;"/>
            <div class="div" style="position: absolute; width: 100px; height: 70px;top:180px;left:710px;margin-left:-50px;">
                <div  style="width: 100%; margin-left: 20px; margin-right: 26px;">
                    <a href="javascript:;" isAllowed="true">
                        <img src="/images/red_flag.png" style="border: 0px; width: 45px; height: 50px; ">
                    </a>
                </div>
                <div style="width: 100%; text-align: center; ">
                    <span style="border:#000000 dashed 1px; background-color: rgb(255, 255, 255); opacity: 0.7; padding: 2px; font-size: 12px; ">XXXXXX</span>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
搜索更多相关主题的帖子: 插件 html IE浏览器 火狐浏览器 import 
2012-07-31 14:12
快速回复:使用idrag插件实现拖曳问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.017186 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved