Welcome Guest, Not a member yet? Register   Sign In
Display a 'modal popup' anywhere in the system


RobertSF above is correct of course, although I have a suggestion about how I would do it.

I would include the code for an empty, general modal popup window, in the template for each page without content. Then to any button (like 'Add Task') I would use javascript and Ajax to get the content for the default modal window, insert the HTML and activate the pop up. The content would be filled with whatever content is needed (form, info, whatever). The default modal window would come complete with submit function that collects and submits information via ajax, and closes the window (or reports errors).

Then you can have any pop up content at any time on any page.

Best wishes,


Messages In This Thread
RE: Display a 'modal popup' anywhere in the system - by PaulD - 02-26-2016, 06:28 AM

Theme © iAndrew 2016 - Forum software by © MyBB