【发布时间】:2013-11-11 08:07:21
【问题描述】:
我为输入的 URL 创建了一个 URL 预览框。
预览显示在 div 框中。我想在右上角添加一个关闭选项。 怎么做才能在用户点击它的框时被禁用?
这是我的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>
代码在php
【问题讨论】:
-
禁用或隐藏该框?
标签: javascript php html