-
HTML<div class="quotetitle"><input style="height: 28px; width: 200px; background-color: #fff; font-size: 16px; margin: 0px; padding: 0px; border-radius: 15px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'FERMER'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'REVOIR'; }" type="button" value="Codigo HTML" /></div>
<div class="quotecontent">
<div class="inner" style="margin: 5px 20px; border: 1px dotted #6683A9; padding: 10px; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; display: none; background-color: #fff;"><br /><a>HTML </a> <!-------------------------Codepen----------------------------->
<div class="code">
<p>Texto, código....Con amor. GloriaV</p>
<p>
<script src="//codepen.io/assets/embed/ei.js"></script>
</p>
</div>
<p><!-----------------Script js-spoiler------------------------------------------------>
<script>// <![CDATA[
function showSpoiler(obj)
{
var inner = obj.parentNode.getElementsByTagName("div")[0];
if (inner.style.display == "none")
inner.style.display = "";
else
inner.style.display = "none";
}
// ]]></script>
</p>
</div>
</div>
-
Commentaires
Aucun commentaire pour le moment
Ajouter un commentaire