Watch the Carolina Herrera Spring 2019 New York Fashion Week Show Live on WWD

Watch the Carolina Herrera Spring 2019 New York Fashion Week Show Live on WWD

Watch the Carolina Herrera Spring/Summer 2019 New York Fashion Week Show live on WWD on Monday, September 10 at 10:00 a.m. EDT.

( function() {
var func = function() {
var iframe_form = document.getElementById(‘wpcom-iframe-form-c9de06658fd43afc9da2cd9b39266b7f-5b96dd1567069’);
var iframe = document.getElementById(‘wpcom-iframe-c9de06658fd43afc9da2cd9b39266b7f-5b96dd1567069’);
if ( iframe_form && iframe ) {
iframe_form.submit();
iframe.onload = function() {
iframe.contentWindow.postMessage( {
‘msg_type’: ‘poll_size’,
‘frame_id’: ‘wpcom-iframe-c9de06658fd43afc9da2cd9b39266b7f-5b96dd1567069’
}, window.location.protocol + ‘//wpcomwidgets.com’ );
}
}

// Autosize iframe
var funcSizeResponse = function( e ) {
var origin = document.createElement( ‘a’ );
origin.href = e.origin;

// Verify message origin
if ( ‘wpcomwidgets.com’ !== origin.host )
return;

// Verify message is in a format we expect
if ( ‘object’ !== typeof e.data || undefined === e.data.msg_type )
return;

switch ( e.data.msg_type ) {
case ‘poll_size:response’:
var iframe = document.getElementById( e.data._request.frame_id );

if ( iframe && ” === iframe.width )
iframe.width = ‘100%’;
if ( iframe && ” === iframe.height )
iframe.height = parseInt( e.data.height );

return;
default:
return;
}
}

if ( ‘function’ === typeof window.addEventListener ) {
window.addEventListener( ‘message’, funcSizeResponse, false );
} else if ( ‘function’ === typeof window.attachEvent ) {
window.attachEvent( ‘onmessage’, funcSizeResponse );
}
}
if (document.readyState === ‘complete’) { func.apply(); /* compat for infinite scroll */ }
else if ( document.addEventListener ) { document.addEventListener( ‘readystatechange’, function(){
if (document.readyState === ‘complete’) {
func.apply();
}
}, false ); }
else if ( document.attachEvent ) { document.attachEvent( ‘onreadystatechange’, func ); }
} )();

Follow WWD on Twitter or become a fan on Facebook.

Read More…

11.09.2018No comments

Leave a Reply

Your email address will not be published. Required fields are marked *