我有这个 div(弹出窗口):
<div class="info message">
<h3>Informação</h3>
<p>Mensagem informativa.</p>
</div>
我有这个“按钮”(工作正常)来调用 div(弹出窗口):
<ul id="trigger-list">
<li><a href="#" class="trigger info-trigger">Info</a></li>
</ul>
但我不想使用那个按钮,我怎么能从后面的代码中调用这个 div(弹出窗口)?例子:
Sub Info(sender As Object, e As System.Web.UI.ImageClickEventArgs)
If ChkInfo.Checked Then
'Code to show the div (popup
Else
'Another code
End Inf
End Sub
注意:我正在使用这个:http ://www.red-team-design.com/cool-notification-messages-with-css3-jquery
谢谢