Skip to main content

Bug Tracker

Side navigation

#1345 closed bug (worksforme)

Opened July 03, 2007 05:36AM UTC

Closed February 22, 2008 03:13AM UTC

setting opacity cannt work in ie6

Reported by: doutu Owned by:
Priority: major Milestone: 1.1.4
Component: build Version: 1.1.3
Keywords: Cc:
Blocked by: Blocking:
Description

<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 StrictEN"

"http:www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>CSS Star Rating System</title>

<script src="jquery.js" type="text/javascript"></script>

<script type="text/JavaScript">

$(function(){

$('#test').click(function(){

$(this).css('opacity',50);

alert(this.style.cssText);

// height:500px;width:500px;background:#f2f2f2; opacity:50

});

});

</script>

</head>

<body>

<div id='test' style="height:500px;width:500px;background:#f2f2f2"></div>

</body>

</html>

Attachments (0)
Change History (1)

Changed February 22, 2008 03:13AM UTC by scott.gonzal comment:1

resolution: → worksforme
status: newclosed

The opacity settings expects a value between 0 and 1, not 0 and 100. Try $(this).css('opacity' 0.5);