Bursa Malaysia

Pin Menu

Click here to unpin menu.
You're here: Market » Javascripts » page_corporate_home.js

page_corporate_home.js

(function(){ $(document).ready(function(){ var ann_iframe = $('#bm_announcements_iframe'); if (ann_iframe.length > 0 && !($.browser.msie && $.browser.version < 7)) { var uri = parseUri(ann_iframe.attr('src')); var iframe_host_url = uri.host; $.receiveMessage( function(e) { ann_iframe.attr('height', Number(e.data) + 'px'); }, function(source_origin) { var uri = parseUri(source_origin); return uri.host == iframe_host_url; } ); } }); })(jQuery);