Fancybox with ASP .NET

na172

New Member
I am unsure how to get fancybox running in Visual Studio.I've got the jquery going and if you click on the anchor to trigger the pop up it triggers fancybox which is all fine.The issue is that I am wanting to have a dedicated .aspx page to populate the "fancybox" if that makes sense.I am just unsure how to link or hook up the page I want to use to fancy box.Here is my JQuery:\[code\]// Category Results Add Basket Pop Up$("#list-category-results li .add-basket").fancybox({ width: 620, height: 500, autoDimensions: false});\[/code\]Here is my HTML: \[code\] <ul id="list-category-results" class="clearfix"> <li> <a href="http://stackoverflow.com/questions/11996871/#"> <img src="http://stackoverflow.com/questions/11996871/images/categorylist_child_dummy.jpg" alt="categorylist_child_dummy" /> <span class="result-info"> <span class="result-type">Moquito Net</span> <span class="result-price">$12</span> </span> </a> <a href="http://stackoverflow.com/questions/11996871/#" class="add-basket">Add to gift basket</a> </li></ul>\[/code\]
 
Back
Top