Ser Archer (Talk | contribs) |
Ser Archer (Talk | contribs) |
||
Line 150: | Line 150: | ||
$(".mw-content-ltr").css("width",$(window).width()+"px"); | $(".mw-content-ltr").css("width",$(window).width()+"px"); | ||
$(".mw-content-ltr").css("height",document.body.scrollHeight+"px"); | $(".mw-content-ltr").css("height",document.body.scrollHeight+"px"); | ||
− | |||
− | |||
}) | }) | ||
Line 164: | Line 162: | ||
} | } | ||
− | /**************************** | + | /****************************填充照片********************************/ |
− | function | + | function setPhoto(){ |
$("#photo1").css("height",$(window).height()*0.7+"px"); | $("#photo1").css("height",$(window).height()*0.7+"px"); | ||
$("#photo1").css("width",$(window).width()*0.9+"px"); | $("#photo1").css("width",$(window).width()*0.9+"px"); | ||
var parent=document.getElementById("mw-content-text"); | var parent=document.getElementById("mw-content-text"); | ||
− | var child=document.getElementById(" | + | var child=document.getElementById("photo1"); |
parent.appendChild(child); | parent.appendChild(child); |
Revision as of 06:52, 24 August 2018