cyberoot.blogspot.com/p/cyber-drag.html
Source Code
<html lang="en">
<head>
<title>Drag Cyberoot Test</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
<script src="http://code.jquery.com/ui/1.8.23/jquery-ui.min.js" type="text/javascript"></script>
<script src="http://jquery-ui.googlecode.com/svn/tags/latest/external/jquery.bgiframe-2.1.2.js" type="text/javascript"></script>
<script src="http://jquery-ui.googlecode.com/svn/tags/latest/ui/minified/i18n/jquery-ui-i18n.min.js" type="text/javascript"></script>
<style>
#cyberdrag { border:1px solid green;width: 170px; height: 100px;padding:10px; border-radius:10px;}
</style>
<script>
$(function() {
$( "#cyberdrag" ).draggable();
});
</script>
</head>
<body bgcolor="black">
<div id="cyberdrag">
<span style="color: orange;">
ကၽြန္ေတာ္ကိုဆြဲပါ <span style="color: red;">^_^</span><br />
cyberoot.blogspot.com
</span>
</div>
</body>
</html>
On Fri, Nov 2, 2012 at 7:26 AM, Nathan Mynarcik <nathan@mynarcik.com> wrote:
So you want to trigger a double click without the user doing anything? Or demonstrate a double click to the user (i.e. custom cursor that looks like it is clicking down twice)?I'm kinda confused on what exactly you are trying to achieve.--
On Sat, Oct 27, 2012 at 9:50 AM, SACHIN V <mr.vsachin@gmail.com> wrote:
Hi All,
I want to simulate performing double click and Drag & Drop using JavaScript.I don't want to call ondbClick(), as it is usually called when a user performs a double click. Here I want to perform the double click itself.
Can anyone tell me how can I achieve this?
Regards,
Sachin
--
--
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.