Olá Klaus,
I’ve seen your blog entry and I’ve read your suggestions and they all
seem very interesting and useful. I tested your demo page in I.E. 5.0
and 5.5 for windows, and also in IE for Mac, both for OS 9 and OS X. It
has not worked in any of these browsers, what I found odd and can’t
It seems to be working only in IE 6.0. May someone else confirm this results?
Yes. Many friends and colleagues reported it this morning. It fails on
the { } JS block.
--
Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com
On 7/12/05, Klaus Hartl [EMAIL PROTECTED] wrote:
David Hucklesby wrote:
Is there any way to get IE to understand focus?
Looks like a good place to use Sons of Suckerfish [1], especially the
Focus [2] part.
Prabhath
http://nidahas.com
[1] http://www.htmldog.com/articles/suckerfish/
[2]
Is there any way to get IE to understand focus?
Looks like a good place to use Sons of Suckerfish [1], especially the
Focus [2] part.
Prabhath
http://nidahas.com
[1] http://www.htmldog.com/articles/suckerfish/
[2] http://www.htmldog.com/articles/suckerfish/focus/
Hi,
the suckerfish
.whatever {
behavior: expression(
this.onfocus = function() { this.className += '
whateverfocus'; },
this.onblur = function() { this.className =
this.className.replace('whateverfocus', ''); });
}
(Mis)Using the behavior property is a bad idea. I had some strange side
Klaus Hartl wrote:
whatever:focus though works perfectly:
/* whatever:focus */
input, select, textarea {
background-color: expression(this.runtimeStyle.backgroundColor,
this.onfocus = function() { this.className += ' onfocus'; },
this.onblur = function() { this.className =
Neat. But then on this end ( XP_SP2) IE6.0 'Security' setting at
high. Now what I'll do?
Any JavaScript is turned off with security setting high. No difference
if you use an behavior, these dynamic properties I mentioned or just a
normal javascript file.
Therefore I recommend using
IE/Win:
.whatever {
background-color: expression(this.runtimeStyle.backgroundColor,
this.onmouseover = function() { this.className += ' whateverhover'; },
this.onmouseout = function() { this.className =
this.className.replace('whateverhover', ''); });
}
Very nice! You can take this part
On Mon, 11 Jul 2005, Klaus Hartl wrote:
hm, I think using a property like behavior for assigning these
mouse events might be a good idea - should not have any side
effects and to me that even makes some sense :-)
Is there any way to get IE to understand focus?
Cordially,
David
--
David