Quantcast
Channel: Posts/rss
Browsing all 24 articles
Browse latest View live

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 Article



Comment 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 Article

Comment from Pete Graham

Excellent solution, thanks a lot!

View Article

Comment 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 Article

Comment 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 Article


Comment from Tuning Marc

Nice trick, seems to work very well in IE7.

View Article

Comment 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 Article

Comment from Chris Altman

http://www.snook.ca/archives/javascript/using_images_as/ AWESOME Code! Thank you

View Article


Comment 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 Article


Comment 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 Article

Comment 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 Article

Comment from Roger Johansson

Just the other day I noticed this bug, and here's a solution. How did you know? ;-)

View Article

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 Article


Comment 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 Article

Comment from Pete Graham

Excellent solution, thanks a lot!

View Article


Comment 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 Article

Comment 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 Article


Comment from Tuning Marc

Nice trick, seems to work very well in IE7.

View Article

Comment 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 Article

Comment from Chris Altman

http://www.snook.ca/archives/javascript/using_images_as/ AWESOME Code! Thank you

View Article
Browsing all 24 articles
Browse latest View live




Latest Images