views:

12660

answers:

4

I would like to use jQuery Fancybox or Lightbox to load a contact form from a standard link in a web page. I have reviewed the documents at http://fancybox.net/example but the closest option is the iFrame one and it doesn't work with a standard page link.

My heart is not set on using Fancybox so if there is a better way to have the lightbox effect with a contact form I would appreciate someone pointing me in the right direction.

thanks.

+3  A: 

you'll probably want to look into jquery-ui dialog. it's highly customizable and can be made to work exactly like lightbox/fancybox and supports everything you would need for a contact form from a regular link.

there is even an example with a form.

contagious
Hey contagious - thanks for the answer. I'll take a look.
fmz
Hey there. I finally had a chance to look at this and it will work perfectly. Thanks for passing it along.
fmz
A: 

Have a look at: Greybox

It's an awesome version of lightbox that supports forms, external web pages as well as the traditional images and slideshows. It works perfectly from a link on a webpage.

You will find many information on how to use Greybox and also some great examples. Cheers Kara

Kara Duncan
Thanks for the link to this. It looks useful.
fmz
Hi, how can I style the formbox, wanted to continue using blueprint css? Also, noticed that it uses iFrames....a way to not use it?
Angela
A: 

Greybox cannot handle forms inside it on its own. It requires a forms plugin. No iframes or external html files needed. Don't forget to download the greybox.css file too as the page misses that bit out.

Kiss Jquery UI goodbye and a lightbox hello. You can get it here.

desbest