From 549a1b6dc0e96bfd5ddebe752d031bd5ed883a92 Mon Sep 17 00:00:00 2001 From: Thomas BrĂ¼derli Date: Tue, 28 Aug 2007 14:18:50 +0000 Subject: Use "; + $target = $_REQUEST['itjs_iframe'] ? "parent" : "window"; + $header = "$target.it_loader && $target.$callback("; + $footer = "," . intval($_REQUEST['itjs_callid']) . ");"; + + if ($_REQUEST['itjs_iframe']) # iframe-based loading required by Opera 7 + { + $header = '"; + } } return $header . itjs::encode($values) . $footer; -- cgit v1.2.3