Forums

pop-up lightbox form

mekon 18 Jul, 2008
hi there, i was wondering if its possible to have a form load in a pop-up window using lightbox. I have yootools effects installed which includes lightbox, you just give a link a <rel=""> tag and it does the job for you. I want to be able to get a user to click on a link on a normal page, which then loads the form in a lightbox window..rather than the default template page.

Using 1.5
GreyHead 19 Jul, 2008
Hi mekon,

You could try using the ChronoForms plugin to put the form inside the lightbox. Or perhaps more easily you could use Joomla's built-in modal html code - there's an example in {root}/libraries/joomla/html/toolbar/button/popup.php

Bob
Max_admin 19 Jul, 2008
Hi mekon,

normall a lightbox will need a link with class="lightbox" and a parameter link inlineID for the div id to have the content to be shown inside the box!

so all you need is the lightbox mambot or the JS files and a link and the form inside the div and this is done!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.