You need to sign in to do that
Don't have an account?
yogesh.rankawat
inline visualforce page not rendered correctly in IE
Hi
I have added inline visualforce page to Lead details page.
It rendered correctly in Firefox. But in IE some time it is not rendered, even after refreshing the page.
Any idea .... :smileyhappy:
I have added inline visualforce page to Lead details page.
It rendered correctly in Firefox. But in IE some time it is not rendered, even after refreshing the page.
Any idea .... :smileyhappy:
does this occur when your browser is in development mode?
what sort of error?
not rendered implies that you get a white area in the browser, is it the correct size?
I am using following function to resize the iframe
function resizeIframe () {
var me = window.name;
var height = 0;
if (me) {
var iframes = parent.document.getElementsByName(me);
if (iframes && iframes.length == 1) {
height = document.body.offsetHeight;
if (height > 32768) {
// Maximum iframe height is 32768. Setting any larger value will result in a very large
// parent window height, and still a scrollbar on the iframe itself. The bottom of the window
// will be a huge expanse of blankness. It's pretty ugly.
height = 32768;
}
iframes[0].style.height = height + "px";
}
}
}
But some time inline visualforce is not rendered means iframe size is 0px.
But its a standard function that I copied from salesforce to resize the iframe.
Any alternate solution to resize iframe according to height of visualforce page ?
Here's my version of resizeIframe()