Left: | ||
Right: |
OLD | NEW |
---|---|
1 <link rel="canonical" href="http://acceptableads.org/"/> | 1 <link rel="canonical" href="http://acceptableads.org/"/> |
2 <meta property="og:type" content="website"/> | 2 <meta property="og:type" content="website"/> |
3 <meta property="og:image" content="http://acceptableads.org/images/manifesto/acc eptable-ads-manifesto-share.png?a=show"/> | 3 <meta property="og:image" content="http://acceptableads.org/images/manifesto/acc eptable-ads-manifesto-share.png?a=show"/> |
4 <meta property="og:url" content="http://acceptableads.org"/> | 4 <meta property="og:url" content="http://acceptableads.org"/> |
5 <meta name="google-site-verification" content="3deBAaPY4M2OuOe576R36TC28S5svlfRR sdaGS6WCXg"/> | 5 <meta name="google-site-verification" content="3deBAaPY4M2OuOe576R36TC28S5svlfRR sdaGS6WCXg"/> |
6 <meta charset="utf-8"/> | 6 <meta charset="utf-8"/> |
7 <meta name="viewport" content="width=device-width, initial-scale=1"/> | 7 <meta name="viewport" content="width=device-width, initial-scale=1"/> |
8 <style type="text/css"> | 8 <style type="text/css"> |
9 @font-face | 9 @font-face |
10 { | 10 { |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
212 margin: 0px; | 212 margin: 0px; |
213 } | 213 } |
214 | 214 |
215 #join-org img | 215 #join-org img |
216 { | 216 { |
217 width: 19px; | 217 width: 19px; |
218 height: 19px; | 218 height: 19px; |
219 margin-top: 6px; | 219 margin-top: 6px; |
220 } | 220 } |
221 | 221 |
222 #join-org strong | 222 #join-org strong, |
223 #supporters-more-link | |
223 { | 224 { |
224 font-weight: normal; | 225 font-weight: normal; |
225 font-size: 15px; | 226 font-size: 15px; |
226 color: #78b364; | 227 color: #78b364; |
227 text-decoration: underline; | 228 text-decoration: underline; |
228 } | 229 } |
229 | 230 |
231 #supporters-more | |
232 { | |
233 margin-bottom: 20px; | |
234 } | |
235 | |
230 #social button | 236 #social button |
231 { | 237 { |
232 width: 100%; | 238 width: 100%; |
233 margin: 0px; | 239 margin: 0px; |
234 margin-bottom: 10px; | 240 margin-bottom: 10px; |
235 } | 241 } |
236 | 242 |
237 #facebook button | 243 #facebook button |
238 { | 244 { |
239 background-color: #45658a; | 245 background-color: #45658a; |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
497 obj.attachEvent("on" + type, function() | 503 obj.attachEvent("on" + type, function() |
498 { | 504 { |
499 listener(event); | 505 listener(event); |
500 }); | 506 }); |
501 } | 507 } |
502 } | 508 } |
503 | 509 |
504 addListener(window, "DOMContentLoaded", function(ev) | 510 addListener(window, "DOMContentLoaded", function(ev) |
505 { | 511 { |
506 fetchNumberOfSignees(); | 512 fetchNumberOfSignees(); |
513 | |
514 var moreSupporters = document.getElementById("supporters-more-link"); | |
515 addListener(moreSupporters, "click", function(ev) | |
516 { | |
517 var overflow = document.getElementById("supporters-overflow"); | |
518 overflow.removeAttribute("hidden"); | |
519 moreSupporters.parentNode.removeChild(moreSupporters); | |
520 ev.preventDefault(); | |
Wladimir Palant
2014/08/13 20:44:47
Had to look up - this is only implemented starting
Thomas Greiner
2014/08/16 08:59:30
We already consider IE8 with the addListener() fun
| |
521 }, false); | |
507 | 522 |
508 var readmore = document.getElementById("readmore"); | 523 var readmore = document.getElementById("readmore"); |
509 addListener(readmore, "click", function(ev) | 524 addListener(readmore, "click", function(ev) |
510 { | 525 { |
511 var fulltext = document.getElementById("fulltext"); | 526 var fulltext = document.getElementById("fulltext"); |
512 if (fulltext.hasAttribute("hidden")) | 527 if (fulltext.hasAttribute("hidden")) |
513 fulltext.removeAttribute("hidden"); | 528 fulltext.removeAttribute("hidden"); |
514 else | 529 else |
515 fulltext.hidden = "hidden"; | 530 fulltext.hidden = "hidden"; |
516 | 531 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
558 { | 573 { |
559 classes.splice(classes.indexOf("collapsed"), 1); | 574 classes.splice(classes.indexOf("collapsed"), 1); |
560 placeholder.style.height = "0px"; | 575 placeholder.style.height = "0px"; |
561 social.className = classes.join(" "); | 576 social.className = classes.join(" "); |
562 } | 577 } |
563 } | 578 } |
564 | 579 |
565 addListener(window, "scroll", checkCollapse); | 580 addListener(window, "scroll", checkCollapse); |
566 addListener(window, "resize", checkCollapse); | 581 addListener(window, "resize", checkCollapse); |
567 --></script> | 582 --></script> |
OLD | NEW |