我使用的是來自http://fancyapps.com/fancybox/的fancybox控件。當我使用靜態圖像時,它工作正常,但是當我使用http處理程序將源與動態圖像綁定在數據庫中時。它不會工作,並在新頁面中打開圖像。如何從http://fancyapps.com/fancybox/獲取fancybox以使用動態圖像來自數據庫
我的html綁定表達式:
<a class="fancybox" rel="gallery1" runat="server" href='<%# "Handler3.ashx?ID="+ Eval("ID") %>' title="Test">
<img src='<%# "Handler3.ashx?ID="+ Eval("ID") %>' runat="server" alt="Test" Height="500" Width="400" />
</a>
http://meta.stackexchange.com/a/5235 – JFK