You are not logged in.
Hi Guys!
I have the EFM installed and almost working fine (Fine in firefox anyway!) but in IE 6 and 7, the iframe which contains the thumbnails or list view is just a thin slit.
Anyone know what i've done wrong?
many thanks,
Flemming
Offline
I got the same problem...
i have changed something in manager.js at line 532:
old:
document.getElementById('imgManager').style.height = win.y - 150 - offsetForInputs + 'px';
new:
document.getElementById('imgManager').style.height = int (win.y - 150 - offsetForInputs) + 'px';
and it works now ok with me...
does it work for you?
Last edited by jelmer (2007-01-25 06:54:23)
Offline
see http://xinha.python-hosting.com/ticket/921
Last edited by ray (2007-01-25 08:36:10)
Offline
were is that file manager.js ???
i couldn't find this string document.getElementById('imgManager').style.height = win.y - 150 - offsetForInputs + 'px';
anywhere
Offline
plugins/ExtendedFileManager/assets/manager.js
You can download a (hopefully ) fixed version from here http://xinha.python-hosting.com/file/tr … format=txt
I could not reproduce the error and therefore not test the fix
Offline
ray, this error not present in simly form, but i reproduced that in Smarty dynamic template form
in first time i fixed this by PHP script in manager.php, but this method is more suitable...
in your js file - parseInt(win.y - 150 - offsetForInputs) - it's not work... but int(win.y - 150 - offsetForInputs) - worked propertly
Offline
there is no function called int. What you do by this is creating a javascript error and stop executing the resize function that originally should care for a resizing of the iframe relative to the window size.
If it keeps not to work, you better disable the calling of the function itself, which is in the last line of the file
//addEvent(window, 'resize', resize);
I'd like to have a look at a page where this error occurs, because, like I said, I could not reproduce it in my test browsers
Offline
If you whant to see this error
http://somestuff.trusted-systems.ru/bug.php
Offline
Thank you for the example, that helped!
I have located the problem and I think how to fix it.
1. Open XinhaCore.js
2. locate the function Xinha.viewportSize
3. replace it by this version
Xinha.viewportSize = function(scope)
{
scope = (scope) ? scope : window;
var x,y;
if (scope.innerHeight) // all except Explorer
{
x = scope.innerWidth;
y = scope.innerHeight;
}
else if (scope.document.documentElement && scope.document.documentElement.clientHeight)
// Explorer 6 Strict Mode
{
x = scope.document.documentElement.clientWidth;
y = scope.document.documentElement.clientHeight;
}
else if (scope.document.body) // other Explorers
{
x = scope.document.body.clientWidth;
y = scope.document.body.clientHeight;
}
return {'x':x,'y':y};
};
Please report, if this solves the problem for you.
I have also commited this to the trunk.
Offline
I was replace that function...
All work propertly, you see http://somestuff.trusted-systems.ru/bug.php
Offline
I'm glad to hear that!
Remember: If somethings not working right, give a link, so we can have a look and quickly sort this out. This helps you, us, and everybody.
Also you should create a ticket.
Offline