我有這個div(彈出):開放的jQuery彈出(ASP.Net VB)
<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
感謝
我理解的想法,但不工作:( – user2560612