<div class="wrapper">
<div class="box1">
<p>Content Here</p>
<button type="button" class="close">Close Box1</button>
</div>
<div class="box2">
<p>Content Here</p>
<button type="button" class="close">Close Box2</button>
</div>
<div class="box3">
<p>Content Here</p>
<button type="button" class="close">Close Box3</button>
</div>
</div>
http://jsfiddle.net/isherwood/KeChx解雇的div,当所有被解雇的包装被自动解雇
我试图使用Twitter的引导警报驳回,但只关闭1号外div标签, 例如关闭按钮里面BOX1和我想关闭外部div.wrapper。
什么我是后是能够关闭/独立,一旦他们都驳回了BOX1,BOX2,BOX3被关闭/驳回div.wrapper将自动被开除过..
任何想法我怎么能得到这个?
我想在这里寻找,但我发现最重要的是弹出一个贴心的功能,这是不是因为这些箱子是什么,我需要不需要弹出..提前
谢谢球员
小提琴上面添加。如果你喜欢,用你的CSS更新它。 – isherwood