Custom Query (7259 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (85 - 87 of 7259)

Ticket Resolution Summary Owner Reporter
#1812 fixed Draggable error in function revert with helper defined as function paul trta
Description

If I define helper option like this:

$('.items').draggable({
  appendTo: $(document.body),
  helper: function() { 
    $('#proxy').remove();  
    return $('<div id="proxy">proxy...</div>');
  }
});

I get error (when dragging is finished and helper is to be reverted) in file ui.draggable.ext.js on line 85 (o.po is not defined), the quick fix is to modify lines 85, 86 like this:

var nl = rpos.left-(o.po ? o.po.left : 0)-o.margins.left;
var nt = rpos.top-(o.po ? o.po.left : 0)-o.margins.top;

but I dont have necessary insight...

#1820 notabug patch: do not use the $ function in ui.calendar.js csi
Description

That would be great if official plugins showed the good example and do no use the shortcut function $ instead of unconflicted one jQuery.

Here is a patch for ui.calendar.js (1.0)

#1821 fixed slider() method not available in IE6 jazzslider
Description

IE 6 claims that the slider() method is not supported by object returned by $("#slider"). Firefox does not have this problem.

This is the code I'm working with:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link rel="stylesheet" href="public/scripts/jquery.ui-1.0/themes/flora/flora.all.css" type="text/css" media="screen" title="Flora (Default)" />
<script type="text/javascript" src="public/scripts/jquery-1.2.1.min.js"></script>
<script type="text/javascript" src="public/scripts/jquery.ui-1.0/jquery.dimensions.js"></script>
<script type="text/javascript" src="public/scripts/jquery.ui-1.0/ui.mouse.js"></script>
<script type="text/javascript" src="public/scripts/jquery.ui-1.0/ui.slider.js"></script>
<script type="text/javascript">
/* <![CDATA[ */
$(function() {
	$("#slider").slider();
});
/* ]]> */
</script>
</head>
<body>
<div id="slider" class="ui-slider-1" style="margin:10px;">
<div class="ui-slider-handle"></div>
</div>
</body>
</html>

All stylesheets and scripts are being loaded properly, at least in Firefox, so I know that the URIs are correct.

Unfortunately, this code does not seem to work at all in IE 6. IE provides the following error message: "Object doesn't support this property or method." The error message references the line containing the $("#slider").slider(); call.

Note: See TracQuery for help on using queries.