]> _ Git - cubeextranet.git/commitdiff
wait #4862 @0:20
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 5 Nov 2021 09:59:22 +0000 (09:59 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 5 Nov 2021 09:59:22 +0000 (09:59 +0000)
inc/ws/Util/html5/master/class.ws.html5.links.php

index 1c1a351e07af0c0f22da3c8350400c455d863041..8f4b02b0fc017dfdc0b6156108b58990f5fe3a12 100644 (file)
@@ -51,6 +51,7 @@ class wsHTML5Link
     public $tooltipColor = null;
     public $tooltipBackgroundColor = null;
     public $parallax = 0;
+    public $attachLeft = false;
     protected $role = 'button';
 
     protected $_init;
@@ -612,7 +613,7 @@ class wsHTML5Link
 
     public function moveOnEvenPage()
     {
-        return false;
+        return $this->attachLeft;
     }
 
     public function getCSSContainer()
@@ -692,7 +693,7 @@ class wsHTML5Link
         }
 
         copy('https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js', $d . '/lottie-player.js');
-        $htmlContent = '<html><head><script src="lottie-player.js"></script></head><body><lottie-player src="animation.json"  background="transparent"  speed="1"  style="width: '.$a->w.'px; height: '.$a->h.'px;" autoplay loop></lottie-player></body></html>';
+        $htmlContent = '<html><head><script src="lottie-player.js"></script></head><body><lottie-player src="animation.json"  background="transparent"  speed="1"  style="width: ' . $a->w . 'px; height: ' . $a->h . 'px;" autoplay loop></lottie-player></body></html>';
         file_put_contents($d . '/index.html', $htmlContent);
         file_put_contents($d . '/animation.json', $json);