question about fancybox
I am working on building a page at http://www.thetirewarehouseinc.com/beta/specials.html As you can see i have several DIVs made to look like coupons. I would like to invoke fancybox when one of these coupon divs is clicked.
fancybox would load some html displaying the full details of the coupon and would have a button to allow you to print it. the html for the fancybox could either be an inline hidden div or pulled via ajax but I am unclear on how i could get fancybox to fire when i click on a div rather than on a link.
I know that what I have is not correct because without the href I am not sure how to specify what to launch.
any advice would be appreciated.
anybody know how to do this? trigger fancybox from clicking on a div rather than a link?