MediaWiki:Common.js: Unterschied zwischen den Versionen
Aus Prepaid-Wiki
Zur Navigation springenZur Suche springen
imported>Admin (Änderung 71699 von Admin (Diskussion) rückgängig gemacht.) |
imported>Admin Keine Bearbeitungszusammenfassung |
||
Zeile 3: | Zeile 3: | ||
$("#toc").wrap("<div id=\"outer-toc\" class=\"outer-toc\"></div>"); | $("#toc").wrap("<div id=\"outer-toc\" class=\"outer-toc\"></div>"); | ||
$("#toc").after("<div id=\"image-banner\"><a href=\"https://partners.webmasterplan.com/click.asp?ref=464670&site= | $("#toc").after("<div id=\"image-banner\"><a href=\"https://partners.webmasterplan.com/click.asp?ref=464670&site=9192&type=b1&bnb=1\" target=\"_blank\"><img src=\"http://banners.webmasterplan.com/view.asp?ref=464670&site=9192&b=1\" border=\"0\" title=\"Handytick.de - Genial günstig!\" alt=\"Square Banner\" width=\"250\" height=\"250\" /></a></div>"); | ||
$("#image-banner").after("<div class=\"clearfix\"></div>"); | $("#image-banner").after("<div class=\"clearfix\"></div>"); |
Version vom 18. Februar 2017, 21:24 Uhr
$( document ).ready(function() { $("#toc").wrap("<div id=\"outer-toc\" class=\"outer-toc\"></div>"); $("#toc").after("<div id=\"image-banner\"><a href=\"https://partners.webmasterplan.com/click.asp?ref=464670&site=9192&type=b1&bnb=1\" target=\"_blank\"><img src=\"http://banners.webmasterplan.com/view.asp?ref=464670&site=9192&b=1\" border=\"0\" title=\"Handytick.de - Genial günstig!\" alt=\"Square Banner\" width=\"250\" height=\"250\" /></a></div>"); $("#image-banner").after("<div class=\"clearfix\"></div>"); if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i) || navigator.userAgent.match(/IEMobile/i) ) { $(".outer-toc #image-banner").hide(); $(".outer-toc #image-banner").remove(); } });