JSFiddle - React, Tailwind, and code Playground
by mustafa yılmaz
HTML
<body topmargin="0" leftmargin="0">
<div class="kutu">
<a href="javascript:;" onclick="showMe('gizlebeni');">Göster</a>
<a href="javascript:;" onclick="hideMe('gizlebeni');">Gizle</a>
</div>
<div id="gizlebeni">
<iframe width="100%" height="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&source=s_q&hl=tr&geocode=&q=samsun+web+tasar%C4%B1m&aq=&sll=37.0625,-95.677068&sspn=36.042042,86.572266&ie=UTF8&hq=web+tasar%C4%B1m&hnear=Samsun,+T%C3%BCrkiye&ll=41.287174,36.330317&spn=0.066797,0.169086&t=m&z=13&iwloc=A&cid=14361799457348483525&output=embed"></iframe>
<br /><small><a href="https://maps.google.com/maps?f=q&source=embed&hl=tr&geocode=&q=samsun+web+tasar%C4%B1m&aq=&sll=37.0625,-95.677068&sspn=36.042042,86.572266&ie=UTF8&hq=web+tasar%C4%B1m&hnear=Samsun,+T%C3%BCrkiye&ll=41.287174,36.330317&spn=0.066797,0.169086&t=m&z=13&iwloc=A&cid=14361799457348483525" style="color:#0000FF;text-align:left">Daha Büyük Görüntüle</a></small>
</div>
</body>
CSS
#buyukDiv {
width:100%;
height:100%;
float:left;
}
.kutu {
width:150px;
height:270px;
background-color:#fff;
position:absolute;
}
JavaScript
function showMe(blockId) {
document.getElementById(blockId).style.display = '';
}
function hideMe(blockId) {
document.getElementById(blockId).style.display = 'none';
}