imported>Admin |
imported>Admin |
Zeile 1: |
Zeile 1: |
| /* Das folgende JavaScript wird für alle Benutzer geladen. */
| | |
| $( document ).ready(function() {
| |
|
| |
| $("#toc").wrap("<div id=\"outer-toc\" class=\"outer-toc\"></div>");
| |
|
| |
| $("#toc").after("<div id=\"image-banner\"><img src=\"https://www.prepaid-wiki.de/wiki/images/Prepaidwiki.jpg\"></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();
| |
| }
| |
| });
| |