Colorbox modal opening/closing another Colorbox modal
- by CmdrTallen
Greetings. I have a need to have a 'child' modal opended from a colorbox modal.
Form - anchor - opens modal ('parent') - model has another anchor - open modal 'child'
The problem is that when the 'child' modal closes via the
$.fn.colorbox.close()
Method this seems to close all the colorbox modal windows. I just need to close the 'child' (the second opened from the first modal), after I set a hidden on the 'parent' modal.
Any suggestions on how to close just the second colorbox window?
Using jQuery 1.3.2 and Colorbox 1.3.5