Hey all!
Have a javascript question moreso than a XenForo question, but maybe someone here will know. I want to be able to take a XenForo function, specifically the one that makes a modal box out of the OverlayTrigger class, and extend it. My goal is to say the overlay div created and add HTML to it.
Is there a way to extend a JS function in a neat way that would allow the default function(s) to work but with some added javascript?
Thanks,
Mike
Have a javascript question moreso than a XenForo question, but maybe someone here will know. I want to be able to take a XenForo function, specifically the one that makes a modal box out of the OverlayTrigger class, and extend it. My goal is to say the overlay div created and add HTML to it.
Is there a way to extend a JS function in a neat way that would allow the default function(s) to work but with some added javascript?
Thanks,
Mike