AnsweredAssumed Answered

Targeting the iFrame using Javascript in the new UI

Question asked by Matt McLean on Oct 27, 2015
Latest reply on Dec 2, 2015 by Kristin Anthony

Hi-

I've been using this very important piece of javascript in my custom javascript file:

 

 

var iFrame = window.top.document.getElementById('window_content');

 

iFrame.setAttribute("scrolling","no");

 

It is not working when the new UI is enacted. I'm guessing it might have something to do with the ID of the iFrame in the new UI but I cannot figure it out.

 

I have uploaded the Javascript file via the Theme Editor

 

Please help!

 

Best ,

Matt

Outcomes