Ich habe URL-Vorschau-Box für eingegebene URL erstellt.Hinzufügen schließen Knopf in Div, um die Box zu schließen
Die Vorschau wird in der Div-Box angezeigt. Ich möchte schließen Option rechts oben. Wie könnte getan werden, so dass wenn Benutzer darauf klicken sollte deaktiviert sein.
Hier ist meine fiddle.
<a class="fragment" href="google.com">
<div>
<img src ="http://placehold.it/116x116" alt="some description"/>
<h3>the title will go here</h3>
<h4> www.myurlwill.com </h4>
<p class="text">
this is a short description yada yada peanuts etc this is a short description yada yada peanuts etc this is a short description yada yada peanuts etc this is a short description yada yada peanuts etcthis is a short description yada yada peanuts etc
</p>
</div>
</a>
Code ist innerhalb php
deaktivieren oder die Box verbergen? – Martin