HHF Summer Ads 3
Showing
78 changed files
with
671 additions
and
0 deletions
This diff could not be displayed because it is too large.
4.23 KB
23.9 KB
26.2 KB
21.9 KB
7.51 KB
11.7 KB
9.99 KB
13.9 KB
2.52 KB
3.36 KB
2.05 KB
39.5 KB
| 1 | <!DOCTYPE html> | ||
| 2 | <head> | ||
| 3 | |||
| 4 | <meta charset="utf-8"> | ||
| 5 | <title>HTML5 GSAP Ad</title> | ||
| 6 | <script type="text/javascript"> | ||
| 7 | |||
| 8 | /* | ||
| 9 | // IAB source: modified to allow link testing | ||
| 10 | var clickTag = "https://huntsvillehospitalfoundation.ca"; | ||
| 11 | function getParameterByName(name) | ||
| 12 | { | ||
| 13 | var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search); | ||
| 14 | if (match == null || match == ""){ | ||
| 15 | return clickTag; | ||
| 16 | } else{ | ||
| 17 | return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | clickTag = getParameterByName('clickTag'); | ||
| 21 | */ | ||
| 22 | |||
| 23 | </script> | ||
| 24 | <script type="text/javascript" src="https://quickresource.eyereturn.com/eyebuild/eyebuild_1_19.js"></script> | ||
| 25 | <script type="text/javascript"> | ||
| 26 | window.onload = function() { | ||
| 27 | eyeBuild.initialize(); | ||
| 28 | } | ||
| 29 | </script> | ||
| 30 | |||
| 31 | |||
| 32 | <style> | ||
| 33 | |||
| 34 | body{ | ||
| 35 | margin: 0; | ||
| 36 | padding: 0; | ||
| 37 | width: 300px; | ||
| 38 | height: 250px; | ||
| 39 | line-height: 1.2; | ||
| 40 | font-size: 27px; | ||
| 41 | letter-spacing: .4; | ||
| 42 | color: #CD040B; | ||
| 43 | font-family: "Neue Haas Grotesk", Arial, sans-serif; | ||
| 44 | /*font-weight: 800;*/ /*BOLD-800, MEDIUM-600, ROMAN - 400*/ | ||
| 45 | font-style: normal; | ||
| 46 | } | ||
| 47 | |||
| 48 | a{ | ||
| 49 | text-decoration: none; | ||
| 50 | color: inherit; | ||
| 51 | } | ||
| 52 | #border{ | ||
| 53 | position: absolute; | ||
| 54 | width: 300px; | ||
| 55 | height: 250px; | ||
| 56 | border: 1px solid #3191b2; | ||
| 57 | background-color: #0077a0;/* #0077a0 */ | ||
| 58 | overflow: hidden; | ||
| 59 | cursor: pointer; | ||
| 60 | box-sizing: border-box; | ||
| 61 | /* background: url(img-50.jpg); */ | ||
| 62 | /* background: url(guide2@2x.png) no-repeat center center; */ | ||
| 63 | /* background-size: 300px 600px ; */ | ||
| 64 | } | ||
| 65 | |||
| 66 | #logo-bg { | ||
| 67 | background-color: #0077a0;/* #0077a0 */ | ||
| 68 | width:100%; | ||
| 69 | height:100%; | ||
| 70 | z-index:9; | ||
| 71 | } | ||
| 72 | |||
| 73 | img{ | ||
| 74 | position: absolute; | ||
| 75 | z-index:8; | ||
| 76 | } | ||
| 77 | .img{ | ||
| 78 | opacity: 0; | ||
| 79 | } | ||
| 80 | .txt{ | ||
| 81 | position: absolute; | ||
| 82 | top:90px; | ||
| 83 | left:40px; | ||
| 84 | opacity: 0; | ||
| 85 | } | ||
| 86 | .txtb{ | ||
| 87 | position: absolute; | ||
| 88 | } | ||
| 89 | |||
| 90 | #img1{ | ||
| 91 | opacity: 1; | ||
| 92 | } | ||
| 93 | #txtb1{ | ||
| 94 | left:-300px; | ||
| 95 | top:109px; | ||
| 96 | } | ||
| 97 | #txtb2{ | ||
| 98 | left:-300px; | ||
| 99 | top:131px; | ||
| 100 | } | ||
| 101 | #txtb3{ | ||
| 102 | left:-300px; | ||
| 103 | top:153px; | ||
| 104 | } | ||
| 105 | |||
| 106 | #cta{ | ||
| 107 | width: 148px; | ||
| 108 | height: auto; | ||
| 109 | left: 18px; | ||
| 110 | bottom:40px; | ||
| 111 | opacity: 0; | ||
| 112 | } | ||
| 113 | |||
| 114 | #logo{ | ||
| 115 | width: 156px; | ||
| 116 | height: auto; | ||
| 117 | left: 22px; | ||
| 118 | top:23px; | ||
| 119 | opacity: 0; | ||
| 120 | z-index:9; | ||
| 121 | } | ||
| 122 | |||
| 123 | |||
| 124 | </style> | ||
| 125 | </head> | ||
| 126 | |||
| 127 | <body> | ||
| 128 | <a href="javascript:eyeBuild.doClick(0)" class="cta"> | ||
| 129 | <!-- <a href="javascript:window.open(clickTag, '_blank');" class="cta"> --> | ||
| 130 | <div id="border"> | ||
| 131 | |||
| 132 | <img id="img1" class="img" src="assets/img1.jpg" alt="img1@60" width="300" height="250"> | ||
| 133 | <img id="txt1" class="txt" src="assets/txt1@2x.png" alt="txt1@2x" width="220"> | ||
| 134 | |||
| 135 | <img id="img2" class="img" src="assets/img2.jpg" alt="img2@60" width="300" height="250"> | ||
| 136 | <img id="txt2" class="txt" src="assets/txt2@2x.png" alt="txt2@2x" width="220"> | ||
| 137 | |||
| 138 | <img id="img3" class="img" src="assets/img3.jpg" alt="img3@60" width="300" height="250"> | ||
| 139 | <img id="txt3" class="txt" src="assets/txt3@2x.png" alt="txt3@2x" width="220"> | ||
| 140 | |||
| 141 | <img id="logo" src="assets/logo@2x.png" alt="Huntsville Hospital Foundation logo. Healthcare for Life. Here."> | ||
| 142 | <img id="cta" src="assets/donate@2x.png" alt="Donate Now"> | ||
| 143 | |||
| 144 | <img id="txtb1" class="txtb" src="assets/txtb1@2x.png" alt="txtb1@2x" width="234"> | ||
| 145 | <img id="txtb2" class="txtb" src="assets/txtb2@2x.png" alt="txtb2@2x" width="253"> | ||
| 146 | <img id="txtb3" class="txtb" src="assets/txtb3@2x.png" alt="txtb3@2x" width="161"> | ||
| 147 | |||
| 148 | </div> | ||
| 149 | </a> | ||
| 150 | |||
| 151 | <!-- GREENSOCK--> | ||
| 152 | <script src="assets/TweenMax.min.js"></script> | ||
| 153 | |||
| 154 | <script> | ||
| 155 | |||
| 156 | var tl = new TimelineMax({repeat:1, repeatDelay:3.5}); | ||
| 157 | |||
| 158 | tl.to("#img1", .5, {opacity:1, delay:0 }); | ||
| 159 | tl.to("#txt1", .7, {opacity:1, delay:0.1 }); | ||
| 160 | |||
| 161 | tl.to("#img2", .5, {opacity:1, delay:1 }); | ||
| 162 | tl.to(['#img1','#txt1'], 0, {opacity:0, delay:0}); | ||
| 163 | tl.to("#txt2", .7, {opacity:1, delay:0.1}); | ||
| 164 | |||
| 165 | tl.to("#img3", .5, {opacity:1, delay:1 }); | ||
| 166 | tl.to(['#img2','#txt2'], 0, {opacity:0, delay:0}); | ||
| 167 | tl.to("#txt3", .7, {opacity:1, delay:0.1 }); | ||
| 168 | |||
| 169 | // phase 2 | ||
| 170 | tl.to(['#img3','#txt3'], 0.5, {opacity:0, delay:1}); | ||
| 171 | tl.to("#logo", .5, {opacity:1, delay:0 }); | ||
| 172 | tl.to("#txtb1", .5, {left:24, ease:Power1.easeOut, delay:0.2}); | ||
| 173 | tl.to("#txtb2", .5, {left:24, ease:Power1.easeOut, delay:0.1}); | ||
| 174 | tl.to("#txtb3", .5, {left:24, ease:Power1.easeOut, delay:0.1}); | ||
| 175 | tl.to("#cta", .7, {opacity:1, bottom:15, ease:Power1.easeOut, delay:0.1 }); | ||
| 176 | |||
| 177 | |||
| 178 | </script> | ||
| 179 | |||
| 180 | </body> | ||
| 181 | |||
| 182 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff could not be displayed because it is too large.
1.04 KB
3.8 KB
| 1 | <svg xmlns="http://www.w3.org/2000/svg" width="83.27" height="83.27" viewBox="0 0 83.27 83.27"><defs><style>.cls-1{opacity:0.75;}.cls-2{fill:none;stroke:#fff;stroke-miterlimit:10;stroke-width:8.11px;}.cls-3{fill:#fff;}</style></defs><title>mute-un</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g class="cls-1"><circle class="cls-2" cx="41.64" cy="41.64" r="37.58"/><polygon class="cls-3" points="19.11 35.14 19.11 50.24 29.17 50.24 41.76 62.82 41.76 22.55 29.17 35.14 19.11 35.14"/><path class="cls-3" d="M46.79,59.71a18,18,0,0,0,0-34.24V20.22a23.11,23.11,0,0,1,0,44.86Z"/><path class="cls-3" d="M46.79,46.33a6.69,6.69,0,0,0,0-7.44V32.23a11.79,11.79,0,0,1,0,20.78Z"/></g></g></g></svg> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <svg xmlns="http://www.w3.org/2000/svg" width="83.27" height="83.27" viewBox="0 0 83.27 83.27"><defs><style>.cls-1{opacity:0.75;}.cls-2{fill:none;stroke:#fff;stroke-miterlimit:10;stroke-width:8.11px;}.cls-3{fill:#fff;}</style></defs><title>mute</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g class="cls-1"><circle class="cls-2" cx="41.64" cy="41.64" r="37.58"/><g id="volume-off"><path class="cls-3" d="M53.08,42.69a10.93,10.93,0,0,0-6.29-10.07v5.54l6.29,6.29Zm6.29,0a18.9,18.9,0,0,1-1.26,6.54L61.89,53a21.18,21.18,0,0,0,2.52-10.57A22.69,22.69,0,0,0,46.79,20.29v5.28A18.14,18.14,0,0,1,59.37,42.69ZM22.38,20l-3.27,3.27L30.94,35.14H19.11v15.1H29.17L41.76,62.82V46L52.58,56.78a21,21,0,0,1-5.79,3v5.28a21.49,21.49,0,0,0,9.31-4.53l5,5,3.27-3.27L41.76,39.67Zm19.38,2.52-5.28,5.28,5.28,5.28Z"/></g></g></g></g></svg> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <svg xmlns="http://www.w3.org/2000/svg" width="83.27" height="83.27" viewBox="0 0 83.27 83.27"><defs><style>.cls-1{opacity:0.75;}.cls-2{fill:none;stroke:#fff;stroke-miterlimit:10;stroke-width:8.11px;}.cls-3{fill:#fff;}</style></defs><title>pause</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g class="cls-1"><circle class="cls-2" cx="41.64" cy="41.64" r="37.58"/><rect class="cls-3" x="26.26" y="23.5" width="10.32" height="36.42"/><rect class="cls-3" x="46.9" y="23.5" width="10.32" height="36.42"/></g></g></g></svg> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="83.28" height="83.28" viewBox="0 0 83.28 83.28"><defs><style>.cls-1{opacity:0.75;}.cls-2{fill:none;stroke:#fff;stroke-miterlimit:10;stroke-width:8.11px;}.cls-3{fill:#fff;}</style></defs><title>play</title><g class="cls-1"><circle class="cls-2" cx="41.64" cy="41.64" r="37.58"/><polygon class="cls-3" points="33.38 60.14 33.38 23.68 62.26 41.91 33.38 60.14"/></g></svg> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
1.69 KB
2.17 KB
39.5 KB
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
5.02 KB
37.8 KB
37.8 KB
23.2 KB
110 KB
26.2 KB
98.7 KB
17 KB
9.98 KB
11.7 KB
9.99 KB
13.9 KB
1.57 KB
1.77 KB
2.09 KB
2.34 KB
1.15 KB
3.27 KB
2.9 KB
36.9 KB
| 1 | <!DOCTYPE html> | ||
| 2 | <head> | ||
| 3 | |||
| 4 | </script> | ||
| 5 | <meta charset="utf-8"> | ||
| 6 | <title>HTML5 GSAP Ad</title> | ||
| 7 | <meta name="ad.size" content="width=300,height=600"> | ||
| 8 | <script type="text/javascript"> | ||
| 9 | |||
| 10 | /* | ||
| 11 | // IAB source: modified to allow link testing | ||
| 12 | var clickTag = "https://huntsvillehospitalfoundation.ca"; | ||
| 13 | function getParameterByName(name) | ||
| 14 | { | ||
| 15 | var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search); | ||
| 16 | if (match == null || match == ""){ | ||
| 17 | return clickTag; | ||
| 18 | } else{ | ||
| 19 | return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | clickTag = getParameterByName('clickTag'); | ||
| 23 | */ | ||
| 24 | |||
| 25 | </script> | ||
| 26 | <script type="text/javascript" src="https://quickresource.eyereturn.com/eyebuild/eyebuild_1_19.js"></script> | ||
| 27 | <script type="text/javascript"> | ||
| 28 | window.onload = function() { | ||
| 29 | eyeBuild.initialize(); | ||
| 30 | } | ||
| 31 | </script> | ||
| 32 | |||
| 33 | |||
| 34 | <style> | ||
| 35 | |||
| 36 | body{ | ||
| 37 | margin: 0; | ||
| 38 | padding: 0; | ||
| 39 | width: 300px; | ||
| 40 | height: 600px; | ||
| 41 | line-height: 1.2; | ||
| 42 | font-size: 27px; | ||
| 43 | letter-spacing: .4; | ||
| 44 | color: #CD040B; | ||
| 45 | font-family: "Neue Haas Grotesk", Arial, sans-serif; | ||
| 46 | /*font-weight: 800;*/ /*BOLD-800, MEDIUM-600, ROMAN - 400*/ | ||
| 47 | font-style: normal; | ||
| 48 | } | ||
| 49 | |||
| 50 | a{ | ||
| 51 | text-decoration: none; | ||
| 52 | color: inherit; | ||
| 53 | } | ||
| 54 | #border{ | ||
| 55 | position: absolute; | ||
| 56 | width: 300px; | ||
| 57 | height: 600px; | ||
| 58 | border: 1px solid #3191b2; | ||
| 59 | background-color: #0077a0;/* #0077a0 */ | ||
| 60 | overflow: hidden; | ||
| 61 | cursor: pointer; | ||
| 62 | box-sizing: border-box; | ||
| 63 | /* background: url(img-50.jpg); */ | ||
| 64 | /* background: url(guide2@2x.png) no-repeat center center; */ | ||
| 65 | /* background-size: 300px 600px ; */ | ||
| 66 | } | ||
| 67 | img{ | ||
| 68 | position: absolute; | ||
| 69 | } | ||
| 70 | .img{ | ||
| 71 | position: absolute; | ||
| 72 | opacity: 0; | ||
| 73 | width: 300px; | ||
| 74 | height: 600px; | ||
| 75 | } | ||
| 76 | .txt{ | ||
| 77 | position: absolute; | ||
| 78 | left:0; | ||
| 79 | top:40%; | ||
| 80 | opacity: 0; | ||
| 81 | } | ||
| 82 | .txtb{ | ||
| 83 | position: absolute; | ||
| 84 | left:-300px; | ||
| 85 | } | ||
| 86 | |||
| 87 | #img1{ | ||
| 88 | opacity: 1; | ||
| 89 | } | ||
| 90 | #txtb1{ | ||
| 91 | top:47px; | ||
| 92 | } | ||
| 93 | #txtb2{ | ||
| 94 | top:79px; | ||
| 95 | } | ||
| 96 | #txtb3{ | ||
| 97 | top:111px; | ||
| 98 | } | ||
| 99 | #txtb4{ | ||
| 100 | top:143px; | ||
| 101 | } | ||
| 102 | #txtb5{ | ||
| 103 | top:175px; | ||
| 104 | } | ||
| 105 | #txtb6{ | ||
| 106 | top:207px; | ||
| 107 | } | ||
| 108 | #txtb7{ | ||
| 109 | top:239px; | ||
| 110 | } | ||
| 111 | |||
| 112 | #cta{ | ||
| 113 | position: absolute; | ||
| 114 | width: 175px; | ||
| 115 | height: auto; | ||
| 116 | left: 28px; | ||
| 117 | top:272px; | ||
| 118 | opacity: 0; | ||
| 119 | } | ||
| 120 | |||
| 121 | #logo{ | ||
| 122 | position: absolute; | ||
| 123 | width: 200px; | ||
| 124 | height: auto; | ||
| 125 | left: 35px; | ||
| 126 | bottom:40px; | ||
| 127 | opacity: 0; | ||
| 128 | } | ||
| 129 | |||
| 130 | |||
| 131 | </style> | ||
| 132 | </head> | ||
| 133 | |||
| 134 | <body> | ||
| 135 | <a href="javascript:eyeBuild.doClick(0)" class="cta"> | ||
| 136 | <!-- <a href="javascript:window.open(clickTag, '_blank');" class="cta"> --> | ||
| 137 | <div id="border"> | ||
| 138 | |||
| 139 | <img id="img1" class="img" src="assets/img1-re.jpg" alt="img1@60" width="300"> | ||
| 140 | <img id="txt1" class="txt" src="assets/txt1@2x.png" alt="txt1@2x" width="300"> | ||
| 141 | |||
| 142 | <img id="img2" class="img" src="assets/img2.jpg" alt="img2@60" width="300"> | ||
| 143 | <img id="txt2" class="txt" src="assets/txt2@2x.png" alt="txt2@2x" width="300"> | ||
| 144 | |||
| 145 | |||
| 146 | <img id="img3" class="img" src="assets/img3.jpg" alt="img3@60" width="300"> | ||
| 147 | <img id="txt3" class="txt" src="assets/txt3@2x.png" alt="txt3@2x" width="300"> | ||
| 148 | |||
| 149 | <img id="logo" src="assets/logo@2x.png" alt="Huntsville Hospital Foundation logo. Healthcare for Life. Here."> | ||
| 150 | <img id="cta" src="assets/donate@2x.png" alt="Donate Now" width="157"> | ||
| 151 | |||
| 152 | <img id="txtb1" class="txtb" src="assets/txtb1@2x.png" alt="txtb1@2x" width="78"> | ||
| 153 | <img id="txtb2" class="txtb" src="assets/txtb2@2x.png" alt="txtb2@2x" width="82"> | ||
| 154 | <img id="txtb3" class="txtb" src="assets/txtb3@2x.png" alt="txtb3@2x" width="147"> | ||
| 155 | <img id="txtb4" class="txtb" src="assets/txtb4@2x.png" alt="txtb4@2x" width="152"> | ||
| 156 | <img id="txtb5" class="txtb" src="assets/txtb5@2x.png" alt="txtb5@2x" width="63"> | ||
| 157 | <img id="txtb6" class="txtb" src="assets/txtb6@2x.png" alt="txtb6@2x" width="193"> | ||
| 158 | <img id="txtb7" class="txtb" src="assets/txtb7@2x.png" alt="txtb7@2x" width="223"> | ||
| 159 | |||
| 160 | </div> | ||
| 161 | </a> | ||
| 162 | |||
| 163 | <!-- GREENSOCK--> | ||
| 164 | <script src="assets/TweenMax.min.js"></script> | ||
| 165 | |||
| 166 | <script> | ||
| 167 | |||
| 168 | var tl = new TimelineMax({repeat:2, repeatDelay:3.5}); | ||
| 169 | |||
| 170 | function stage1(){ | ||
| 171 | imgtxt("#img1", "#txt1"); | ||
| 172 | imgtxt("#img2", "#txt2"); | ||
| 173 | imgtxt("#img3", "#txt3"); | ||
| 174 | |||
| 175 | // phase 2 | ||
| 176 | |||
| 177 | tl.to("#logo", .5, {opacity:1, delay:-.5 }); | ||
| 178 | tl.to("#txtb1", .5, {left:35, ease:Power1.easeOut, delay:-.3}); | ||
| 179 | tl.to("#txtb2", .5, {left:35, ease:Power1.easeOut, delay:-.3}); | ||
| 180 | tl.to("#txtb3", .5, {left:35, ease:Power1.easeOut, delay:-.3}); | ||
| 181 | tl.to("#txtb4", .5, {left:35, ease:Power1.easeOut, delay:-.3}); | ||
| 182 | tl.to("#txtb5", .5, {left:35, ease:Power1.easeOut, delay:-.3}); | ||
| 183 | tl.to("#txtb6", .5, {left:35, ease:Power1.easeOut, delay:-.3}); | ||
| 184 | tl.to("#txtb7", .5, {left:35, ease:Power1.easeOut, delay:-.3}); | ||
| 185 | tl.to("#cta", .5, {opacity:1, top:282, ease:Power1.easeOut, delay:.2 }); | ||
| 186 | |||
| 187 | |||
| 188 | |||
| 189 | |||
| 190 | console.log( "time: " + tl.totalDuration() ); | ||
| 191 | } | ||
| 192 | |||
| 193 | function imgtxt(imgId, txtId){ | ||
| 194 | console.log( "img: " + imgId ); | ||
| 195 | |||
| 196 | tl.to(imgId, .5, {opacity:1, delay:-.5 }); | ||
| 197 | tl.to(txtId, .7, {opacity:1, delay:0 }); | ||
| 198 | |||
| 199 | |||
| 200 | tl.to(imgId, .5, {opacity:0, delay:.9 }); | ||
| 201 | tl.to(txtId, .5, {opacity:0, delay:-.5 }); | ||
| 202 | |||
| 203 | } | ||
| 204 | |||
| 205 | |||
| 206 | //--------------------- | ||
| 207 | stage1(); | ||
| 208 | |||
| 209 | |||
| 210 | |||
| 211 | </script> | ||
| 212 | |||
| 213 | </body> | ||
| 214 | |||
| 215 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff could not be displayed because it is too large.
6.95 KB
9.98 KB
| 1 | <svg xmlns="http://www.w3.org/2000/svg" width="83.27" height="83.27" viewBox="0 0 83.27 83.27"><defs><style>.cls-1{opacity:0.75;}.cls-2{fill:none;stroke:#fff;stroke-miterlimit:10;stroke-width:8.11px;}.cls-3{fill:#fff;}</style></defs><title>mute-un</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g class="cls-1"><circle class="cls-2" cx="41.64" cy="41.64" r="37.58"/><polygon class="cls-3" points="19.11 35.14 19.11 50.24 29.17 50.24 41.76 62.82 41.76 22.55 29.17 35.14 19.11 35.14"/><path class="cls-3" d="M46.79,59.71a18,18,0,0,0,0-34.24V20.22a23.11,23.11,0,0,1,0,44.86Z"/><path class="cls-3" d="M46.79,46.33a6.69,6.69,0,0,0,0-7.44V32.23a11.79,11.79,0,0,1,0,20.78Z"/></g></g></g></svg> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <svg xmlns="http://www.w3.org/2000/svg" width="83.27" height="83.27" viewBox="0 0 83.27 83.27"><defs><style>.cls-1{opacity:0.75;}.cls-2{fill:none;stroke:#fff;stroke-miterlimit:10;stroke-width:8.11px;}.cls-3{fill:#fff;}</style></defs><title>mute</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g class="cls-1"><circle class="cls-2" cx="41.64" cy="41.64" r="37.58"/><g id="volume-off"><path class="cls-3" d="M53.08,42.69a10.93,10.93,0,0,0-6.29-10.07v5.54l6.29,6.29Zm6.29,0a18.9,18.9,0,0,1-1.26,6.54L61.89,53a21.18,21.18,0,0,0,2.52-10.57A22.69,22.69,0,0,0,46.79,20.29v5.28A18.14,18.14,0,0,1,59.37,42.69ZM22.38,20l-3.27,3.27L30.94,35.14H19.11v15.1H29.17L41.76,62.82V46L52.58,56.78a21,21,0,0,1-5.79,3v5.28a21.49,21.49,0,0,0,9.31-4.53l5,5,3.27-3.27L41.76,39.67Zm19.38,2.52-5.28,5.28,5.28,5.28Z"/></g></g></g></g></svg> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <svg xmlns="http://www.w3.org/2000/svg" width="83.27" height="83.27" viewBox="0 0 83.27 83.27"><defs><style>.cls-1{opacity:0.75;}.cls-2{fill:none;stroke:#fff;stroke-miterlimit:10;stroke-width:8.11px;}.cls-3{fill:#fff;}</style></defs><title>pause</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g class="cls-1"><circle class="cls-2" cx="41.64" cy="41.64" r="37.58"/><rect class="cls-3" x="26.26" y="23.5" width="10.32" height="36.42"/><rect class="cls-3" x="46.9" y="23.5" width="10.32" height="36.42"/></g></g></g></svg> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="83.28" height="83.28" viewBox="0 0 83.28 83.28"><defs><style>.cls-1{opacity:0.75;}.cls-2{fill:none;stroke:#fff;stroke-miterlimit:10;stroke-width:8.11px;}.cls-3{fill:#fff;}</style></defs><title>play</title><g class="cls-1"><circle class="cls-2" cx="41.64" cy="41.64" r="37.58"/><polygon class="cls-3" points="33.38 60.14 33.38 23.68 62.26 41.91 33.38 60.14"/></g></svg> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
1.57 KB
1.77 KB
2.09 KB
2.34 KB
1.15 KB
3.27 KB
2.9 KB
36.9 KB
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
4.54 KB
22.1 KB
24.7 KB
27.5 KB
5.09 KB
11.7 KB
9.99 KB
13.9 KB
2.83 KB
37.6 KB
| 1 | <!DOCTYPE html> | ||
| 2 | <head> | ||
| 3 | |||
| 4 | </script> | ||
| 5 | <meta charset="utf-8"> | ||
| 6 | <title>HTML5 GSAP Ad</title> | ||
| 7 | <meta name="ad.size" content="width=300,height=600"> | ||
| 8 | <script type="text/javascript"> | ||
| 9 | |||
| 10 | /* | ||
| 11 | // IAB source: modified to allow link testing | ||
| 12 | var clickTag = "https://huntsvillehospitalfoundation.ca"; | ||
| 13 | function getParameterByName(name) | ||
| 14 | { | ||
| 15 | var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search); | ||
| 16 | if (match == null || match == ""){ | ||
| 17 | return clickTag; | ||
| 18 | } else{ | ||
| 19 | return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | clickTag = getParameterByName('clickTag'); | ||
| 23 | */ | ||
| 24 | |||
| 25 | </script> | ||
| 26 | <script type="text/javascript" src="https://quickresource.eyereturn.com/eyebuild/eyebuild_1_19.js"></script> | ||
| 27 | <script type="text/javascript"> | ||
| 28 | window.onload = function() { | ||
| 29 | eyeBuild.initialize(); | ||
| 30 | } | ||
| 31 | </script> | ||
| 32 | |||
| 33 | |||
| 34 | <style> | ||
| 35 | |||
| 36 | body{ | ||
| 37 | margin: 0; | ||
| 38 | padding: 0; | ||
| 39 | width: 728px; | ||
| 40 | height: 90px; | ||
| 41 | line-height: 1.2; | ||
| 42 | font-size: 27px; | ||
| 43 | letter-spacing: .4; | ||
| 44 | color: #CD040B; | ||
| 45 | font-family: "Neue Haas Grotesk", Arial, sans-serif; | ||
| 46 | /*font-weight: 800;*/ /*BOLD-800, MEDIUM-600, ROMAN - 400*/ | ||
| 47 | font-style: normal; | ||
| 48 | } | ||
| 49 | |||
| 50 | a{ | ||
| 51 | text-decoration: none; | ||
| 52 | color: inherit; | ||
| 53 | } | ||
| 54 | #border{ | ||
| 55 | position: absolute; | ||
| 56 | width: 728px; | ||
| 57 | height: 90px; | ||
| 58 | border: 1px solid #3191b2; | ||
| 59 | background-color: #0077a0;/* #0077a0 */ | ||
| 60 | overflow: hidden; | ||
| 61 | cursor: pointer; | ||
| 62 | box-sizing: border-box; | ||
| 63 | /* background: url(img-50.jpg); */ | ||
| 64 | /* background: url(guide2@2x.png) no-repeat center center; */ | ||
| 65 | /* background-size: 300px 600px ; */ | ||
| 66 | } | ||
| 67 | img{ | ||
| 68 | position: absolute; | ||
| 69 | } | ||
| 70 | .img{ | ||
| 71 | position: absolute; | ||
| 72 | opacity: 0; | ||
| 73 | width: 728px; | ||
| 74 | height: 90px; | ||
| 75 | } | ||
| 76 | .txt{ | ||
| 77 | position: absolute; | ||
| 78 | right:220px; | ||
| 79 | top:10px; | ||
| 80 | opacity: 0; | ||
| 81 | } | ||
| 82 | .txtb{ | ||
| 83 | position: absolute; | ||
| 84 | } | ||
| 85 | |||
| 86 | #img1{ | ||
| 87 | opacity: 1; | ||
| 88 | background-color: #395252; | ||
| 89 | } | ||
| 90 | #img2{ | ||
| 91 | background-color: #3e403c; | ||
| 92 | } | ||
| 93 | #img3{ | ||
| 94 | background-color: #1e2226; | ||
| 95 | } | ||
| 96 | #txtb1{ | ||
| 97 | left:-400px; | ||
| 98 | top:32px; | ||
| 99 | } | ||
| 100 | |||
| 101 | #cta{ | ||
| 102 | position: absolute; | ||
| 103 | width: 157px; | ||
| 104 | height: auto; | ||
| 105 | left: 238px; | ||
| 106 | top:20px; | ||
| 107 | opacity: 0; | ||
| 108 | } | ||
| 109 | |||
| 110 | #logo{ | ||
| 111 | position: absolute; | ||
| 112 | width: 150px; | ||
| 113 | height: auto; | ||
| 114 | right: 35px; | ||
| 115 | top:23px; | ||
| 116 | opacity: 0; | ||
| 117 | } | ||
| 118 | |||
| 119 | |||
| 120 | </style> | ||
| 121 | </head> | ||
| 122 | |||
| 123 | <body> | ||
| 124 | <a href="javascript:eyeBuild.doClick(0)" class="cta"> | ||
| 125 | <!-- <a href="javascript:window.open(clickTag, '_blank');" class="cta"> --> | ||
| 126 | <div id="border"> | ||
| 127 | |||
| 128 | <div id="img1" class="img"><img src="assets/img1.jpg" alt="img1@60" width="728"></div> | ||
| 129 | <img id="txt1" class="txt" src="assets/txt1@2x.png" alt="txt1@2x" width="250"> | ||
| 130 | |||
| 131 | <div id="img2" class="img"><img src="assets/img2.jpg" alt="img2@60" width="728"></div> | ||
| 132 | <img id="txt2" class="txt" src="assets/txt2@2x.png" alt="txt2@2x" width="250"> | ||
| 133 | |||
| 134 | |||
| 135 | <div id="img3" class="img"><img src="assets/img3.jpg" alt="img3@60" width="728"></div> | ||
| 136 | <img id="txt3" class="txt" src="assets/txt3@2x.png" alt="txt3@2x" width="250"> | ||
| 137 | |||
| 138 | <img id="logo" src="assets/logo@2x.png" alt="Huntsville Hospital Foundation logo. Healthcare for Life. Here."> | ||
| 139 | <img id="cta" src="assets/donate@2x.png" alt="Donate Now" width="157"> | ||
| 140 | <img id="txtb1" class="txtb" src="assets/txtb1@2x.png" alt="txtb1@2x" width="234"> | ||
| 141 | |||
| 142 | |||
| 143 | |||
| 144 | </div> | ||
| 145 | </a> | ||
| 146 | |||
| 147 | <!-- GREENSOCK--> | ||
| 148 | <script src="assets/TweenMax.min.js"></script> | ||
| 149 | |||
| 150 | <script> | ||
| 151 | |||
| 152 | var tl = new TimelineMax({repeat:2, repeatDelay:3.5}); | ||
| 153 | |||
| 154 | function stage1(){ | ||
| 155 | imgtxt("#img1", "#txt1"); | ||
| 156 | imgtxt("#img2", "#txt2"); | ||
| 157 | imgtxt("#img3", "#txt3"); | ||
| 158 | |||
| 159 | // phase 2 | ||
| 160 | |||
| 161 | tl.to("#logo", .5, {opacity:1, delay:-.5 }); | ||
| 162 | tl.to("#txtb1", .5, {left:38, ease:Power1.easeOut, delay:-.5}); | ||
| 163 | tl.to("#cta", .5, {opacity:1, left:268, ease:Power1.easeOut, delay:.2 }); | ||
| 164 | |||
| 165 | console.log( "time: " + tl.totalDuration() ); | ||
| 166 | } | ||
| 167 | |||
| 168 | function imgtxt(imgId, txtId){ | ||
| 169 | console.log( "img: " + imgId ); | ||
| 170 | |||
| 171 | tl.to(imgId, .5, {opacity:1, delay:-.5 }); | ||
| 172 | tl.to(txtId, .7, {opacity:1, delay:0 }); | ||
| 173 | |||
| 174 | |||
| 175 | tl.to(imgId, .5, {opacity:0, delay:.9 }); | ||
| 176 | tl.to(txtId, .5, {opacity:0, delay:-.5 }); | ||
| 177 | |||
| 178 | } | ||
| 179 | |||
| 180 | |||
| 181 | //--------------------- | ||
| 182 | stage1(); | ||
| 183 | |||
| 184 | |||
| 185 | |||
| 186 | </script> | ||
| 187 | |||
| 188 | </body> | ||
| 189 | |||
| 190 | </html> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <!DOCTYPE html> | ||
| 2 | <html> | ||
| 3 | |||
| 4 | <head> | ||
| 5 | <meta charset="utf-8"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
| 7 | <title>HTML5 Online Ads</title> | ||
| 8 | <meta name="description" content="An interactive getting started guide for Brackets."> | ||
| 9 | <link rel="stylesheet" href="main.css"> | ||
| 10 | <script src="main.js"></script> | ||
| 11 | </head> | ||
| 12 | <body> | ||
| 13 | <h3><a href="index.html">Summer 2018 Ads Refresh</a></h3> | ||
| 14 | |||
| 15 | <iframe id='' class="b300x250" scrolling="no" src="300x250/index.html"></iframe> | ||
| 16 | <iframe id='' class="b300x600" scrolling="no" src="300x600/index.html"></iframe> | ||
| 17 | <iframe id='' class="b728x90" scrolling="no" src="728x90/index.html"></iframe> | ||
| 18 | <iframe id='' class="b300x250" scrolling="no" src="300x250vid/index.html"></iframe> | ||
| 19 | <iframe id='' class="b300x600" scrolling="no" src="300x600vid/index.html"></iframe> | ||
| 20 | |||
| 21 | </body> | ||
| 22 | </html> |
| 1 | html { | ||
| 2 | background-color: #d4d4d4; | ||
| 3 | } | ||
| 4 | |||
| 5 | body { | ||
| 6 | margin: 0 auto; | ||
| 7 | padding: 2em 2em 4em; | ||
| 8 | font-family: Helvetica, Arial, sans-serif; | ||
| 9 | font-size: 14px; | ||
| 10 | line-height: 1.5em; | ||
| 11 | color: #8e8e8e; | ||
| 12 | } | ||
| 13 | |||
| 14 | h1, h2, h3, h4, h5, h6 { | ||
| 15 | font-weight: 600; | ||
| 16 | line-height: 1.3em; | ||
| 17 | margin-left: 10px; | ||
| 18 | } | ||
| 19 | a { | ||
| 20 | color: #8e8e8e; | ||
| 21 | } | ||
| 22 | a:hover { | ||
| 23 | color: #FFFFFF; | ||
| 24 | } | ||
| 25 | iframe, img { | ||
| 26 | margin: 10px; | ||
| 27 | border: 1px #d4d4d4 solid; | ||
| 28 | overflow: hidden; | ||
| 29 | iframe::-webkit-scrollbar { | ||
| 30 | display: none; | ||
| 31 | }; | ||
| 32 | } | ||
| 33 | |||
| 34 | .stacked { | ||
| 35 | display: flex; | ||
| 36 | |||
| 37 | } | ||
| 38 | .b300x250 { | ||
| 39 | width: 300px; | ||
| 40 | height: 250px; | ||
| 41 | } | ||
| 42 | .b728x90 { | ||
| 43 | width: 728px; | ||
| 44 | height: 90px; | ||
| 45 | } | ||
| 46 | .b300x600 { | ||
| 47 | width: 300px; | ||
| 48 | height: 600px; | ||
| 49 | } | ||
| 50 | .b600x566 { | ||
| 51 | width: 600px; | ||
| 52 | height: 566px; | ||
| 53 | } |
18-121-117c HHF Summer Ads 3/publish/main.js
0 → 100644
| 1 | //js file | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment