Simone
04/07/2023, 3:25 PM<cfset AjaxOnLoad('OpenReport')>
and the OpenReport is using fancybox
openReport = function() {
$(".openReport").fancybox({
'height': '90%',
'width': '50%',
'type': 'iframe',
'scrolling': 'auto',
'autoscale': true,
'transitionIn': 'elastic',
'transitionOut': 'elastic'
});
}
i am given the task to change it tofancybox 5, and ajaxonLoad, eventually i forgot about the ajaxonload things, used it in 2011 and now ist 12 years
any suggestions anyone how can i proceed ahead with thisRodney
04/07/2023, 3:34 PMdocument.addEventListener('DOMContentLoaded', () => {
openReport();
});Rodney
04/07/2023, 3:35 PM