views:

26

answers:

1

I have a Colorbox (lightbox) loading a specific controller/view. Is there any way for me to close the colorbox from within the controller?

A: 

Ostensibly you could echo out the hideLightbox() method from your controller:

echo '<script>hideLightbox(); return false;</script>';

but I'm not sure this is what you're looking for.

stormdrain
@downvoter: care to elaborate?
stormdrain