Question

How would I use ColorBox to create a 'confirm override' modal dialog that can interupt a form submission until 'yes' is clicked.

Simple Modal has a similar function, but I much prefer colorbox's implementation and documentation, otherwise I'd use the latter.

Was it helpful?

Solution

I can't help you with ColorBox, but if you have a specific question or issue with SimpleModal, I'd be happy to help.

OTHER TIPS

You can use overlayClose property to false to make disable closing when you click outside the colorbox div and by setting closebutton property to false will hide close button . That is how you can make colorbox div as modal.

code : $.colorbox({overlayClose:false,closebutton:false});

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top