Difference between revisions of "Template:Sicau-china navigation"

Line 181: Line 181:
 
</div>
 
</div>
 
</div>
 
</div>
 +
 +
 
<script type="text/javascript">
 
<script type="text/javascript">
 
window.onload=
 
window.onload=
Line 187: Line 189:
 
H = 0,
 
H = 0,
 
Y = oDiv
 
Y = oDiv
while (Y) {H += Y.offsetTop; Y = Y.offsetParent}
+
while (Y) {H += Y.offsetbottom; Y = Y.offsetParent}
 
window.onscroll = function()
 
window.onscroll = function()
 
{
 
{

Revision as of 11:22, 1 November 2017