I'm looking at a bug on our website where we have the client in a modal, and there's a button for contact information. Contact information is standardly displayed in a different modal, but the guy who built it has this one directing the client to a static page with the same information - probably because he didn't know a way to close the current modal and open a new one (ie, swap out one modal for another).
I'm looking at this, and thinking there has to be a way to do it. I can make this work by passing an onClose function, but then of course the client can't dismiss the modal without getting to the contact info, so that's no good. So now I'm thinking maybe the "contact" button could set the onClose function to what I need it to be, or else have the regular "close" button clear the onClose function (so the window just closes).
But something tells me maybe I'm working too hard, and there's probably an easy way to make this work. Any tips would be appreciated.
This post has been edited by jon.kiparsky: 09 November 2012 - 12:53 PM