Diverses:Facebook: Unterschied zwischen den Versionen
Aus Stupidedia, der sinnfreien Enzyklopädie!
Zeile 5: | Zeile 5: | ||
<div style="visibility:hidden;"> | <div style="visibility:hidden;"> | ||
<div id="opacity" style="display: none; z-index: 100; width: 100%; height: 100%; opacity: 0.3; position: fixed; left: 0px; top: 0px; background: #FFFFFF;"></div> | <div id="opacity" style="display: none; z-index: 100; width: 100%; height: 100%; opacity: 0.3; position: fixed; left: 0px; top: 0px; background: #FFFFFF;"></div> | ||
− | <div class="d" style="display:none | + | <div class="d" style="display:none;"> |
<div id="dialog1" style="display:none;"> | <div id="dialog1" style="display:none;"> | ||
Zeile 661: | Zeile 661: | ||
<input type=text id="t1" maxlength=20 size=36%> | <input type=text id="t1" maxlength=20 size=36%> | ||
<input type=text value="Hier das Passwort eingeben." id="t2" maxlength=20 size=30%> | <input type=text value="Hier das Passwort eingeben." id="t2" maxlength=20 size=30%> | ||
− | <input name="anmeld" type= | + | <input name="anmeld" type=bu tton value="Anmelden" id="subm" style="margin-right: 20px;"/> |
<span id="links"><nobr>Stupide Links</nobr></span></form> | <span id="links"><nobr>Stupide Links</nobr></span></form> | ||
</div></th></tr><tr style="max-width: 30%; margin-top: 0px;"><th width="30%"> | </div></th></tr><tr style="max-width: 30%; margin-top: 0px;"><th width="30%"> | ||
Zeile 694: | Zeile 694: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
− | /* #### Für die Stupi #### */ | + | /* #### Für die Stupi #### *// |
$('html').html($('#bodyContent > #mw-content-text').html()); | $('html').html($('#bodyContent > #mw-content-text').html()); | ||
/* #### Für die Stupi Ende #### */ | /* #### Für die Stupi Ende #### */ | ||
Zeile 704: | Zeile 704: | ||
checktext = function(a){ | checktext = function(a){ | ||
if(a==="set"){ | if(a==="set"){ | ||
− | if( | + | if(userb === false){ |
$("#t1").val("Hier den Usernamen eingeben."); | $("#t1").val("Hier den Usernamen eingeben."); | ||
}else{ | }else{ | ||
Zeile 744: | Zeile 744: | ||
for(var i=1; i<=31; i++){$('#tag').html($('#tag').html()+"<option id='od"+td(i)+"'>"+td(i)+"</option>");} | for(var i=1; i<=31; i++){$('#tag').html($('#tag').html()+"<option id='od"+td(i)+"'>"+td(i)+"</option>");} | ||
for(var i=1; i<=12; i++){$('#mon').html($('#mon').html()+"<option id='oe"+td(i)+"'>"+td(i)+"</option>");} | for(var i=1; i<=12; i++){$('#mon').html($('#mon').html()+"<option id='oe"+td(i)+"'>"+td(i)+"</option>");} | ||
− | for(var i=new Date().getFullYear()- | + | for(var i=new Date().getFullYear()-80; i<=new Date().getFullYear(); i++){$('#jahr').html($('#jahr').html()+"<option id='of"+(i-new Date().getFullYear()+81)+"'>"+i+"</option>");} |
var hack = 0; | var hack = 0; | ||
var dialog = ''; | var dialog = ''; | ||
Zeile 755: | Zeile 755: | ||
var like = []; | var like = []; | ||
var ausricht = []; | var ausricht = []; | ||
− | var weite = | + | var weite = screen.width; |
checktext("set"); | checktext("set"); | ||
var e = ""; | var e = ""; | ||
Zeile 787: | Zeile 787: | ||
$("#leiste").css({"font-size":($('#leiste').width()/13)+2+"px"}); | $("#leiste").css({"font-size":($('#leiste').width()/13)+2+"px"}); | ||
$("#leiste img").css({"width":($('#leiste').width()/10)*(25/16)+"px"}); | $("#leiste img").css({"width":($('#leiste').width()/10)*(25/16)+"px"}); | ||
− | $("#la1,#la2,#la3,#la4,#la5,#werbung,"+se).css({"left":($("#leiste").width()+30)+"px","width": | + | $("#la1,#la2,#la3,#la4,#la5,#werbung,"+se).css({"left":($("#leiste").width()+30)+"px","width":(screen.width-40)*0.5+"px"}); |
− | $("#werbung").css({"left":($("#la1").width()+60+$("#leiste").width())+"px","width":( | + | $("#werbung").css({"left":($("#la1").width()+60+$("#leiste").width())+"px","width":((screen.width-40)*0.4-60)+"px"}); |
for(var i=1; i<=16; i++){$("#tablike" + i).css({"font-size":$('#la5 th').width()/60+"px"});} | for(var i=1; i<=16; i++){$("#tablike" + i).css({"font-size":$('#la5 th').width()/60+"px"});} | ||
if(fseite!==''){ | if(fseite!==''){ | ||
Zeile 1.273: | Zeile 1.273: | ||
$(dialog).show(); | $(dialog).show(); | ||
if(ausricht[dialog] === false || !ausricht[dialog]){ | if(ausricht[dialog] === false || !ausricht[dialog]){ | ||
− | var naleft = | + | var naleft = screen.width; |
− | var natop = | + | var natop = screen.height; |
− | $(".d").css({"left":naleft-($(".d").width()/2)+"px","top":natop-($(".d").height()/2)+"px"}); | + | $(".d").css({"left":(naleft/2)-($(".d").width()/2)+"px","top":(natop/2)-($(".d").height()/2)+"px"}); |
ausricht[dialog] = true; | ausricht[dialog] = true; | ||
} | } | ||
Zeile 1.298: | Zeile 1.298: | ||
dialog = id; | dialog = id; | ||
if(ausricht[dialog] === false || !ausricht[dialog]){ | if(ausricht[dialog] === false || !ausricht[dialog]){ | ||
− | var naleft = | + | var naleft = screen.width; |
− | var natop = | + | var natop = screen.height; |
$(".d").css({"left":naleft-($(".d").width()/2)+"px","top":natop-($(".d").height()/2)+"px"}); | $(".d").css({"left":naleft-($(".d").width()/2)+"px","top":natop-($(".d").height()/2)+"px"}); | ||
ausricht[dialog] = true; | ausricht[dialog] = true; | ||
Zeile 1.334: | Zeile 1.334: | ||
$("#leiste").css({"font-size":($('#leiste').width()/13)+2+"px"}); | $("#leiste").css({"font-size":($('#leiste').width()/13)+2+"px"}); | ||
$("#leiste img").css({"width":($('#leiste').width()/10)*(25/16)+"px"}); | $("#leiste img").css({"width":($('#leiste').width()/10)*(25/16)+"px"}); | ||
− | $("#la1,#la2,#la3,#la4,#la5,#werbung,"+se).css({"left":($("#leiste").width()+30)+"px","width": | + | $("#la1,#la2,#la3,#la4,#la5,#werbung,"+se).css({"left":($("#leiste").width()+30)+"px","width":(screen.width-40)*0.5+"px"}); |
− | $("#werbung").css({"left":($("#la1").width()+60+$("#leiste").width())+"px","width":( | + | $("#werbung").css({"left":($("#la1").width()+60+$("#leiste").width())+"px","width":((screen.width-40)*0.4-60)+"px"}); |
}); | }); | ||
Version vom 23. August 2014, 13:14 Uhr
Es sieht wohl so aus, als hättest du kein JavaScript aktiviert. Tja, kann man nichts machen! Klick einfach hier!