Welcome Guest, Not a member yet? Register   Sign In
Using lightbox with forms and ajax content
#1

[eluser]landitus[/eluser]
Hi all! I'm developing a website which uses Lightbox or modal windows heavily. In most cases there's a photo gallery inside, but there's a form in one of them. How should I override CI links to load ajax content inside the Lightbox? and how to override the form submit to make it work? I guess I should develop the whole site without js and using the controllers, that seams easy. The trick is how to add the js layer to point controllers (or load partial views).

I hope you guys get what I'm trying to accomplish. The site is similar to this: http://matthewanderson.cc/ but instead of loading each work above the page, it should open a lightbox modal window with the content.


Messages In This Thread
Using lightbox with forms and ajax content - by El Forum - 07-27-2010, 09:07 PM
Using lightbox with forms and ajax content - by El Forum - 07-28-2010, 01:02 AM
Using lightbox with forms and ajax content - by El Forum - 07-28-2010, 04:08 PM
Using lightbox with forms and ajax content - by El Forum - 07-28-2010, 04:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB