displaying a webform in an overlay I want the user defined webform to be popped up in an overlay when a button is clicked. I am using colorbox and colorbox-node modules. I am able to display the whole node. But I am not understanding how to display just the webform instead of the whole node. I used the following code:

 &lt;a class="colorbox-load" href="enquiry?width=600&amp;amp;height=600&amp;amp;iframe=true"&gt;&lt;input value="Send Enquiry" type="submit"&gt; &lt;/a&gt;
If I need to display webform in popup, then I would use ctools modal.

You can use modal forms module which make use of the modal feature in the ctools module to open some common forms in a modal window.

Supported forms


Log in (modal_forms/nojs/login)
Request new password (modal_forms/nojs/password)
Create new account (modal_forms/nojs/register)
Contact (modal_forms/nojs/contact)
Comment (modal_forms/nojs/comment/reply/%node)
Webform (modal_forms/nojs/webform/%node)


May be this is not answer to your question as you are using colorbox, but I am adding this so that you can check other option.