Custom Query (7249 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 7249)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#1547 fixed drop callback function runs twice in jQueryUI rdworth pragueexpat
Description

I have one draggable div and one droppable div. Each is nested in its own absolutely positioned parent div (see file source below). The droppable div has a callback function. The problem is that the callback is running twice. If the droppable div is not nested in the parent the callback runs correctly (once). If the parent is not absolutely positioned, the callback also runs correctly. The problem occurs in IE, Firefox and Opera (no others tested). Greedy parameter makes no difference. draggable.js, droppable.js and mouse.js were downloaded from svn on August 28, 2007.

HTML file: (Firebug console.log will output div id each time callback runs)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<script type="text/javascript" src="/lib/jquery/jquery-1.1.3.1.js"></script>
		<script type="text/javascript" src="/lib/jqueryui/ui.mouse.js"></script>
		<script type="text/javascript" src="/lib/jqueryui/ui.draggable.js"></script>
		<script type="text/javascript" src="/lib/jqueryui/ui.droppable.js"></script>
		<script type="text/javascript" src="/lib/jquerydimensions/jquery.dimensions.js"></script>
		<style type="text/css">
			#textInput1_container{
				border:1px solid blue;
				position:absolute;
				top:25px;
				left:500px;
				z-Index:100
			}
			#textInput2_container{
				border:1px solid blue;
				position:absolute;
				top:25px;
				left:50px;
				z-Index:100				
			}
			.dd{
				height:30px;
				width:30px;
				border:1px dashed red;
			}
		</style>
	</head>
<body>
	<div id="textInput1_container" class="dragdiv">
		Enter text: <input type="text" id="textInput1" name="textInput1" size="40" />
		<div id="drag_textInput1" class="dd drag">Drag</div>
	</div>
	<div id="textInput2_container" class="dragdiv">
		Enter text: <input type="text" id="textInput2" name="textInput2" size="40" />
		<div id="drop_textInput2" class="dd drop">Drop</div>
	</div>

<script type="text/javascript">

$(function(){
	$('.dragdiv').draggable();
	$('.drop').each(function(){createDropTarget($(this))});
	$('.drag').each(function(){createDragTarget($(this))});
});

createDropTarget = function(jObj){
	(jObj).droppable({accept:'.drag',tolerance:'intersect',greedy:true,drop:function(a,b){console.log(this.id)}});
}

createDragTarget = function(jObj){
	(jObj).draggable({helper:'clone'});
}

</script>
</body>
</html>

#1635 fixed jQuery UI demo app uses unoptimised images paul Robin
Description

Hi, I just ran a few of the images from the demo app through OptiPNG and crushed them a bit. For example, the main bg went down from 24kb to 17kb. I've attached some of them but it's probably worth including a compression session whenever images are exported.

bg.png: 24kb -> 17kb ui.png: 1739b -> 1571b left.png: 1768b -> 955b

#1639 fixed gallery advanced - minor bugs paul djot
Description

- Hi, see attached screenshot...

left hand side: The album (category) box gets selected and shows an incorrect dottet selection when clicking on it.

content (picture) are: If the window is scolled down a litte bit, the hovering effect (showing magnified picture) does not work correctly due to incorrect positioning. Besides: Already fixed? Showing the thickbox was incorrect this morning - it was displayed 200px below the top.

right hand side: I have a blinking huge cursor besides the scrollbars, when clicking an image.

djot -

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.