iframe gsft_main and scrollable area
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2016 02:58 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2016 03:17 PM
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';
}}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2016 01:52 PM
Where would one put such a script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2016 02:17 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2016 02:38 PM
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?