iframe gsft_main and scrollable area

irvin2
Giga Contributor

I have several pages I am trying to load into my CMS -- all load under the gsft_main iframe .. unfortunately all (reports) are quite a bit wider than the iframe.  

I am looking at how to change the iframe from scrollable=no to scrollable=yes.

Ideas on how to best accomplish this would be appreciated.

6 REPLIES 6

venkatiyer1
Giga Guru

Hi Irvin,



A script like the one below should help



var iframes = window.top.iframes;  
for(var obj in iframes) {
if(obj.name == "gsft_main") {
obj.scrolling = 'yes';
}


}


Where would one put such a script?


venkatiyer1
Giga Guru

If it is global, you can have it in UI script   or if it is specific to a particular form or table, i would add it to the onload client script.  


Can you be a little more specific?



I have an iframe defined that points to a URL containing a report I've designed. But the report is very wide (lots of columns) and gets cut off on the page.


I have this iframe added to a Page in the CMS, so that I can have my navigation header on top of it.



Where would I put your above script and how would I call it?