Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IWModalWindow and templates
#9
>>This to prevent creating (and loading)
>>a page with lots of invisible modals
>>and div that only get used a few percent
>>of the time the user interacts with page.

Another way to do that is to use the 'OnBeforeProcess' event in the TIWTemplateProcessrHTML which gives you access to the template before it's applied to the page (it's called before each render).  In my case I insert bootstrap dialogs or add / remove other things to the template based on the need.
Reply


Messages In This Thread
IWModalWindow and templates - by jeroen.rottink - 01-31-2023, 04:04 PM
RE: IWModalWindow and templates - by MJS@mjs.us - 02-06-2023, 02:41 PM
RE: IWModalWindow and templates - by MJS@mjs.us - 02-09-2023, 05:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)