Colorbox modal opening/closing another Colorbox modal
Posted
by CmdrTallen
on Stack Overflow
See other posts from Stack Overflow
or by CmdrTallen
Published on 2010-02-03T17:23:14Z
Indexed on
2010/03/12
4:17 UTC
Read the original article
Hit count: 853
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
© Stack Overflow or respective owner