Opened 12 years ago

Closed 7 years ago

#3563 closed task (patchwelcome)

investgate mechanism to detect images off in IE

Reported by: Becky Gibson Owned by: bill
Priority: high Milestone: future
Component: Accessibility Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

Currently images turned off in the browser is only detected in Firefox. Need to investigate how to test for this in IE without requiring synchronous load of an image.

Change History (9)

comment:1 Changed 11 years ago by Becky Gibson

Milestone: 1.01.1

moving to 1.1 - not ideal because we currently don't detect images off in IE but we are covered for 1.0 because we DO detect images off in Firefox

comment:3 Changed 11 years ago by Becky Gibson

Milestone: 1.11.2

comment:4 Changed 11 years ago by Becky Gibson

Milestone: 1.21.3

comment:5 Changed 10 years ago by bill

Milestone: 1.3future

comment:6 Changed 8 years ago by Chris Mitchell

Owner: changed from Becky Gibson to bill

reassign due to inactive committer. please triage accordingly.

comment:7 Changed 8 years ago by bill

Becky - obviously our high-contrast mode works in IE. Are you talking about for when it isn't high contrast mode, but images are still turned off?

comment:8 Changed 8 years ago by Becky Gibson

Correct. I never found a way to detect JUST images off in IE.

comment:9 Changed 7 years ago by bill

Resolution: patchwelcome
Status: newclosed

I googled this and didn't find anything other than loading an image synchronously:

http://groups.google.com/group/jquery-en/browse_thread/thread/4480f62e57bd7e82?pli=1

var test = new Image(); 
test.onload = myOnLoadFunc;
test.src = 'test.gif#'+(new Date()).getTime()

Then you run into questions of timeouts... how long do you want for myOnLoadFunc() to get called?

So, I'll will mark this as "patchwelcome" to indicate that we would fix it if we knew how to do it more elegantly.

Note: See TracTickets for help on using tickets.