iframesの子 clickにあるhide
必要があります。div
iframe
<a href="#" class="share">Share +</a>
->これは、クリックでいくつかの機能を実行したい子です。
この回答の JQuery コードを使用しましたが、機能していないようです。
HTML
<iframe id="map_frame" frameborder="0" src="http://a.tiles.mapbox.com/v3/vucko.map-1p4ens5h.html#17/45.80611110816038/15.924351969962727"></iframe>
<div>on "share +" click this div must hide so the share box goes above the div</div>
JQuery
$('#map_frame').contents().find('.share').click(function() {
alert('click');
});
これを達成する方法は?