Archive for May, 2008

Why is IDEA so slow during debugging?

I had two breakpoints on the method name instead of the first line of the method. It was taking a half hour to get to the breakpoint. Changing these to line breakpoints reduced the time to less than one minute.

Comments (1)

How to detact IE7?

for javascript:

var isIE7 = /*@cc_on!@*/false && ( parseInt( navigator.userAgent.toLowerCase().match( /msie (\d+)/ )[1] ) >= 7 );

for styesheet:

<!–[if IE 7]>
<link rel=”stylesheet” href=”/css/ie7.css” type=”text/css”>
<![endif]–>

Leave a Comment