PDA

View Full Version : Maximizing in IE8



PatGud
16 Feb 2010, 3:06 AM
Ran into a problem that maybe someone can help me with.
I have a grid column in wich I render an img-tag like this:
var imageColumn = function(value, metaData, record, rowIndex, colIndex, store) {
if (record.data.MimeType == "image/jpeg" || record.data.MimeType == "image/png") {
var imageTemplate = '<span><img width="99%" src="' + APPLICATION_PATH + '/{0}" /></span>';

return String.format(imageTemplate, value);
}
}
This works fine in ie7, FF and in ie8 until I maximezes the browser window, then the browser kind of hangs/freezes until I restore the window - then it comes back again.
I don't have a clue...

/Patrik