Closed Bug 320392 Opened 20 years ago Closed 20 years ago

JavaScript button.style.cursor = "hand"; produces error

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 40298

People

(Reporter: pagesteve, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Error: Error in parsing value for property 'cursor'. Declaration dropped. Source File: http://developer.mozilla.org/css/wiki.css Line: 20 function mouseOver(button) { if(button.disabled) return; button.className = "NavButton_over"; // works fine button.style.cursor = "hand"; } Reproducible: Always Steps to Reproduce: 1.mouse over the button 2. 3. Actual Results: happens every time Expected Results: cursor change to hand--ok in IE Inhibits basic functionality
*** This bug has been marked as a duplicate of 40298 ***
Severity: major → normal
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Component: General → Style System (CSS)
Product: Firefox → Core
Resolution: --- → DUPLICATE
Version: unspecified → Trunk
Summary: Javascript button.style.cursor = "hand"; produces error → JavaScript button.style.cursor = "hand"; produces error
You need to log in before you can comment on or make changes to this bug.