SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    Jul 2006
    Posts
    118
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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.

  2. #2
    SitePoint Zealot
    Join Date
    Jul 2006
    Posts
    118
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    anybody know how to do this? trigger fancybox from clicking on a div rather than a link?

  3. #3
    SitePoint Zealot
    Join Date
    Jul 2006
    Posts
    118
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is it possible?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •