Comment from Conradson
The Prototype solution : Event.observe(window, 'load', function() { if (Prototype.Browser.IE) { var imgLabels = $$("label img"); imgLabels.each(function(eachImgLabel) { Event.observe(eachImgLabel,...
View ArticleComment from Yuri Teixeira
I liked it... But it needs a little modification to fire onclick events of a checkbox, select, or text input. Here is my patched version of this script snipt that need to be modified: switch (e.type) {...
View ArticleComment from Krishna
hi, You have done a good job. I am facing this problem and I got solution by this. So I am thankful to you. So keep doing such work.
View ArticleComment from Porter
Many thanks! My need for an IE fix is very specific so I just use addEvent in-page, but this helped me confirm it wasn't my HTML or some other specific conflict, just another IE wonkyism.
View ArticleComment from Riddle
Hi, I came up with CSS workaround for this bug - you can watch the demo because frankly, I don't think you understand Polish. ;-) Best regards.
View ArticleComment from Chris Altman
http://www.snook.ca/archives/javascript/using_images_as/ AWESOME Code! Thank you
View ArticleComment from Matthijs
Nice fix. I've slightly modified your code to allow more than one image to be in the label. Changed the code in the IF statement to: a[i].onclick = function(){ var e =...
View ArticleComment from Jonathan Snook
Actually, for text-based labels, there's no javascript necessary. IE supports them correctly. All you need to do is specify the id of the input that the label belongs to. (like in the example I gave...
View ArticleComment from Wesley Walser
I was reading the other day about being able to click on the labels (textual) of checkboxes to make a selection. I haven't found the javascript for it yet, but I know it's out there....
View ArticleComment from Roger Johansson
Just the other day I noticed this bug, and here's a solution. How did you know? ;-)
View ArticleComment from Conradson
The Prototype solution : Event.observe(window, 'load', function() { if (Prototype.Browser.IE) { var imgLabels = $$("label img"); imgLabels.each(function(eachImgLabel) { Event.observe(eachImgLabel,...
View ArticleComment from Yuri Teixeira
I liked it... But it needs a little modification to fire onclick events of a checkbox, select, or text input. Here is my patched version of this script snipt that need to be modified: switch (e.type) {...
View ArticleComment from Krishna
hi, You have done a good job. I am facing this problem and I got solution by this. So I am thankful to you. So keep doing such work.
View ArticleComment from Porter
Many thanks! My need for an IE fix is very specific so I just use addEvent in-page, but this helped me confirm it wasn't my HTML or some other specific conflict, just another IE wonkyism.
View ArticleComment from Riddle
Hi, I came up with CSS workaround for this bug - you can watch the demo because frankly, I don't think you understand Polish. ;-) Best regards.
View ArticleComment from Chris Altman
http://www.snook.ca/archives/javascript/using_images_as/ AWESOME Code! Thank you
View Article
More Pages to Explore .....