Hello world!!!
I have SAP Portal 7.0.
I have Ajax Framework Page, which has two layouts. In this layouts i passed iView 1 and iView 2. In iView 2 I have div with id="myDiv". How I can modify div's height from iView 1.
I tried to make it by jQuery like this:
$('#idOfMyiFrame'),contents().find('#myDiv').css('height', '777');
It doesn't work.
I tried to make it by simple JavaScript like this:
var myFrame = document.getElementById('idOfMyiFrame');
var myFrameDoc = myFrame.contentWindow.document;
var myDiv= myFrameDoc.getElementById('myDiv');
myDiv.setAttribute('style', 'height: 777px');
It doesn't work.
Maybe somebody nows how can I change div's heigh?