From 443db4600eed8fa8cb23585d698345ac65fec86e Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Fri, 13 May 2016 21:51:41 +0200 Subject: Multiple updates --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 8dadd1c..1eae51e 100755 --- a/index.php +++ b/index.php @@ -26,7 +26,7 @@ if(isset($_GET['bigpipe']) AND (int) $_GET['bigpipe'] === 0) { $PageletRed = new BigPipe\DemoPagelet(); $PageletRed->addHTML('
I AM A PAGELET WITH RED BACKGROUND
'); $PageletRed->addCSS('static/red.php'); -$PageletRed->addJS('static/delayJS.php?red'); +$PageletRed->addJS('static/delayJS.php'); $PageletRed->addJSCode("document.getElementById('red').innerHTML += ' [JS executed]';document.getElementById('red').style.borderRadius = '30px';"); #=============================================================================== @@ -35,7 +35,7 @@ $PageletRed->addJSCode("document.getElementById('red').innerHTML += ' [JS execut $PageletBlue = new BigPipe\DemoPagelet('customPageletID', BigPipe\Pagelet::PRIORITY_HIGH); $PageletBlue->addHTML('
I AM A PAGELET WITH BLUE BACKGROUND
'); $PageletBlue->addCSS('static/blue.php'); -$PageletBlue->addJS('static/delayJS.php?blue'); +$PageletBlue->addJS('static/delayJS.php'); $PageletBlue->addJSCode("document.getElementById('blue').innerHTML += ' [JS executed]';document.getElementById('blue').style.borderRadius = '30px';"); #=============================================================================== @@ -44,7 +44,7 @@ $PageletBlue->addJSCode("document.getElementById('blue').innerHTML += ' [JS exec $PageletGreen = new BigPipe\DemoPagelet(); $PageletGreen->addHTML('
I AM A PAGELET WITH GREEN BACKGROUND
'); $PageletGreen->addCSS('static/green.php'); -$PageletGreen->addJS('static/delayJS.php?green'); +$PageletGreen->addJS('static/delayJS.php'); $PageletGreen->addJSCode("document.getElementById('green').innerHTML += ' [JS executed]';document.getElementById('green').style.borderRadius = '30px';"); ?> -- cgit v1.2.3