bdee1 — 2010-08-30T16:20:14-04:00 — #1
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.
bdee1 — 2010-09-01T11:40:26-04:00 — #2
bdee1 — 2010-08-31T13:57:00-04:00 — #3
anybody know how to do this? trigger fancybox from clicking on a div rather than a link?