MediaWiki:Common.js: Unterschied zwischen den Versionen
Aus Prepaid-Wiki
Zur Navigation springenZur Suche springen
imported>Admin Keine Bearbeitungszusammenfassung |
imported>Admin Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
$( document ).ready(function() { | $( document ).ready(function() { | ||
$( | $("#toc").wrap("<div id=\"outer-toc\" class=\"outer-toc\"></div>"); | ||
$( | $("#toc").after("<div id=\"image-banner\"><a href=\"http://www.communicationads.net/tc.php?t=10652C17525122B\" target=\"_blank\"><img src=\"http://www.communicationads.net/tb.php?t=10652V17525122B\" border=\"0\" title=\"Die besten Deals und Angebote.\" alt=\"Startseite 300x250\" width=\"300\" height=\"250\" /></a></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) ) { | 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").hide(); | ||
$(".outer-toc #image-banner").remove(); | $(".outer-toc #image-banner").remove(); | ||
} | } | ||
}); | }); |
Version vom 4. November 2017, 11:11 Uhr
$( document ).ready(function() { $("#toc").wrap("<div id=\"outer-toc\" class=\"outer-toc\"></div>"); $("#toc").after("<div id=\"image-banner\"><a href=\"http://www.communicationads.net/tc.php?t=10652C17525122B\" target=\"_blank\"><img src=\"http://www.communicationads.net/tb.php?t=10652V17525122B\" border=\"0\" title=\"Die besten Deals und Angebote.\" alt=\"Startseite 300x250\" width=\"300\" height=\"250\" /></a></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(); } });