Youtube Video Background for Unbounce pages - Minified
See full instructions here: https://getsatisfaction.com/unbounce/topics/how-can-i-create-a-youtube-video-background
<script>
// Youtube Video Background for Unbounce. V1.2
| <?php | |
| /******************************************************************************* | |
| * Created by: shlomo hassid. | |
| * Release Version : 1.1 | |
| * Creation Date: 02/04/2018 | |
| * | |
| * This test will compare checksum methods with php hashing procedures and some | |
| * basic ones to -> crc32(), md5(), sha1(), xor(), xor2(), add(). | |
| * The text is randomly generated each iteration to avoid caching, the test also | |
| * use several text length that will be defferent each iteration. |
| <?php | |
| /** Paging function | |
| * | |
| * @param int $max -> results count | |
| * @param int $inter -> display per page | |
| * @param int $cur -> current page | |
| * @param string $link -> base url | |
| * @param string $urlquery -> url query variable name | |
| * @param int $pad -> padding arround current page |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
| <title>Bootstrap Modals only - by shlomo hassid</title> | |
| <script type='text/javascript' src='//code.jquery.com/jquery-1.11.0.js'></script> | |
| <style type='text/css'> | |
| [role="button"] { | |
| cursor: pointer; | |
| } |
| $('body').on('mousewheel DOMMouseScroll', function(e){ | |
| if(typeof e.originalEvent.detail == 'number' && e.originalEvent.detail !== 0) { | |
| if(e.originalEvent.detail > 0) { | |
| console.log('Down'); | |
| } else if(e.originalEvent.detail < 0){ | |
| console.log('Up'); | |
| } | |
| } else if (typeof e.originalEvent.wheelDelta == 'number') { | |
| if(e.originalEvent.wheelDelta < 0) { | |
| console.log('Down'); |
| <?php | |
| /* | |
| Parse CSV into an array: | |
| */ | |
| $csv = array_map('str_getcsv', file('csvfile.csv')); | |
| /* | |
| * OUTPUT: |
Youtube Video Background for Unbounce pages - Minified
See full instructions here: https://getsatisfaction.com/unbounce/topics/how-can-i-create-a-youtube-video-background
<script>
// Youtube Video Background for Unbounce. V1.2