Werbung
Hier könnte eure Werbung stehen!
Jetzt Kontakt aufnehmen
viele Impressionen vom Sieg der FSG Weser/Verna gegen TSV Dassensen
iFrameResize({
log: true, // Enable console logging
inPageLinks: true,
onResized: function(messageData) {
// Callback fn when resize is received
$('p#callback').html(
'Frame ID: ' +
messageData.iframe.id +
' Height: ' +
messageData.height +
' Width: ' +
messageData.width +
' Event type: ' +
messageData.type
)
},
onMessage: function(messageData) {
// Callback fn when message is received
$('p#callback').html(
'Frame ID: ' +
messageData.iframe.id +
' Message: ' +
messageData.message
)
alert(messageData.message)
document
.getElementsByTagName('iframe')[0]
.iFrameResizer.sendMessage('Hello back from parent page')
},
onClosed: function(id) {
// Callback fn when iFrame is closed
$('p#callback').html(
'IFrame (' + id + ') removed from page.'
)
}
})
/*
* If you do not understand what the code below does, then please just use the
* following call in your own code.
*
* iFrameResize();
*
* Once you have it working, set the log option to false.
*/
iFrameResize(callback').html(
'Frame ID: ' +
messageData.iframe.id +
' Height: ' +
messageData.height +
' Width: ' +
messageData.width +
' Event type: ' +
messageData.type
)
,
onMessage: function(messageData) callback').html(
'Frame ID: ' +
messageData.iframe.id +
' Message: ' +
messageData.message
)
alert(messageData.message)
document
.getElementsByTagName('iframe')[0]
.iFrameResizer.sendMessage('Hello back from parent page')
,
onClosed: function(id) callback').html(
'IFrame (' + id + ') removed from page.'
)
)