titletitleCentro Virtual Camões - Camões IP <subtitle type="text"></subtitle> <link rel="alternate" type="text/html" href="http://cvc.instituto-camoes.pt"/> <id>http://cvc.instituto-camoes.pt/</id> <updated>2024-12-22T18:51:37+00:00</updated> <author> <name>Centro Virtual Camões</name> <email>naoresponder.plataforma.cvc@fbapps.pt</email> </author> <generator uri="http://joomla.org" version="1.6">Joomla! - Open Source Content Management</generator> <link rel="self" type="application/atom+xml" href="http://cvc.instituto-camoes.pt/economia/tic.html?format=feed&type=atom"/> <entry> <title>Cursos | 2016-2017 | 2 Semestre | E-CD-ICID <link rel="alternate" type="text/html" href="http://cvc.instituto-camoes.pt/cursos/introducao-cooperacao-internacional-2016-2017-02.html"/> <published>2016-08-05T13:49:56+00:00</published> <updated>2016-08-05T13:49:56+00:00</updated> <id>http://cvc.instituto-camoes.pt/cursos/introducao-cooperacao-internacional-2016-2017-02.html</id> <author> <name>João Marques</name> </author> <summary type="html"><!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>iFrame message passing test</title> <meta name="description" content="iFrame message passing test"> <meta name="viewport" content="width=device-width"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> </head> <body> <div> <iframe src="http://cvc.instituto-camoes.pt/web/cursos/2016-2017-02/contents/E-CD-ICID.html" width="100%" scrolling="no"></iframe> </div> <p id="callback"> </p> <!-- MDN PolyFils for IE8 (This is not normally needed if you use the jQuery version) --> <!--[if lte IE 8]> <script type="text/javascript" src=""http://cvc.instituto-camoes.pt/web/library/js/ie8.polyfils.min.js"></script> <![endif]--> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script type="text/javascript" src="http://cvc.instituto-camoes.pt/web/library/js/iframeResizer.min.js"></script> <script type="text/javascript"> iFrameResize({ log : true, // Enable console logging inPageLinks : true, resizedCallback : function(messageData){ // Callback fn when resize is received $('p#callback').html( '<b>Frame ID:</b> ' + messageData.iframe.id + ' <b>Height:</b> ' + messageData.height + ' <b>Width:</b> ' + messageData.width + ' <b>Event type:</b> ' + messageData.type ); }, messageCallback : function(messageData){ // Callback fn when message is received $('p#callback').html( '<b>Frame ID:</b> ' + messageData.iframe.id + ' <b>Message:</b> ' + messageData.message ); alert(messageData.message); document.getElementsByTagName('iframe')[0].iFrameResizer.sendMessage('Hello back from parent page'); }, closedCallback : function(id){ // Callback fn when iFrame is closed $('p#callback').html( '<b>IFrame (</b>' + id + '<b>) removed from page.</b>' ); } }); </script> </body> </html></summary> <content type="html"><!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>iFrame message passing test</title> <meta name="description" content="iFrame message passing test"> <meta name="viewport" content="width=device-width"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> </head> <body> <div> <iframe src="http://cvc.instituto-camoes.pt/web/cursos/2016-2017-02/contents/E-CD-ICID.html" width="100%" scrolling="no"></iframe> </div> <p id="callback"> </p> <!-- MDN PolyFils for IE8 (This is not normally needed if you use the jQuery version) --> <!--[if lte IE 8]> <script type="text/javascript" src=""http://cvc.instituto-camoes.pt/web/library/js/ie8.polyfils.min.js"></script> <![endif]--> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script type="text/javascript" src="http://cvc.instituto-camoes.pt/web/library/js/iframeResizer.min.js"></script> <script type="text/javascript"> iFrameResize({ log : true, // Enable console logging inPageLinks : true, resizedCallback : function(messageData){ // Callback fn when resize is received $('p#callback').html( '<b>Frame ID:</b> ' + messageData.iframe.id + ' <b>Height:</b> ' + messageData.height + ' <b>Width:</b> ' + messageData.width + ' <b>Event type:</b> ' + messageData.type ); }, messageCallback : function(messageData){ // Callback fn when message is received $('p#callback').html( '<b>Frame ID:</b> ' + messageData.iframe.id + ' <b>Message:</b> ' + messageData.message ); alert(messageData.message); document.getElementsByTagName('iframe')[0].iFrameResizer.sendMessage('Hello back from parent page'); }, closedCallback : function(id){ // Callback fn when iFrame is closed $('p#callback').html( '<b>IFrame (</b>' + id + '<b>) removed from page.</b>' ); } }); </script> </body> </html></content> </entry> </feed>