Skip to main content

Bug Tracker

Side navigation

#1821 closed bug (fixed)

Opened October 18, 2007 07:16PM UTC

Closed November 05, 2007 03:27PM UTC

slider() method not available in IE6

Reported by: jazzslider Owned by:
Priority: major Milestone: 1.2.2
Component: ui Version: 1.2.1
Keywords: slider Cc:
Blocked by: Blocking:
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.

Attachments (0)
Change History (1)

Changed November 05, 2007 03:27PM UTC by paul comment:1

resolution: → fixed
status: newclosed

This one is fixed in the next version. Grab the SVN if you need it now.