Static
inIFrameStatic
scrollUpdates the parent windows scroll position to show the IFrame at the top left.
Can be adjusted by offsetX & offsetY.
Only adjusts the scroll position of the window itself and therefore won't work if the IFrame is embedded inside another element with a scrollbar...
Optional
offsetX: numberOptional
offsetY: numberStatic
sendStatic
setChanges the width and/or height of the IFrame and/or scroll position of the parent page window.
Won't do anything if we are not inside an IFrame.
Sends an "silent" error to raygun if we are inside an IFrame but the CbnPlugin is not correctly installed on
the parent site.
Optional
width: numberIf not given or 0, the width is not changed
Optional
height: numberIf not given or 0, the height is not changed
Optional
scrollToX: numberNew horizontal scroll position of the parent page window
Optional
scrollToY: numberNew vertical scroll position of the parent page window
Generated using TypeDoc
Checks if the page is opened inside an IFrame