How to get pop up window with a drupal form in drupal with out displaying menus when a link is clicked

aklalita - September 9, 2009 - 07:02

Hi
How to get pop up window with a drupal form in drupal with out displaying menus when a link is clicked.And after submitting the form it has to redirect to the same page.Can it be possible.Can anyone help me?? Plz........

Thanks
A.K.Lalitha.

To enable the popup can use

lordrt21 - September 9, 2009 - 07:22

To enable the popup can use jquery plugin with the overlay script
Once you have installed jquery on ur server, modify page.tpl.php by adding:
1. in section

2. In
locate

<?php
print $content
?>

add below it: $(function() {$("a[rel]").overlay();});
this enables the tag in html to open the popup

Can also modify CSS if needed

Also follow this link for popup examples: http://flowplayer.org/tools/demos/overlay/index.html

Hope this helps as I know i replied partly to ur problem.

pop up window with only content part.

aklalita - September 11, 2009 - 10:28

Hi
Thanks for reply.
but sorry, it is not working.Pop up window with only content part in the screen and with out displaying menu part i.e primary links using modules.(sites/all/modules/...).My work is when clicking a link in the form it has to give a popup window with another form in that.and it has to hold the parameters even.
I am trying with javascript but of no use.
Any more suggestions.
Thanks
A.K.Lalitha

 
 

Drupal is a registered trademark of Dries Buytaert.