Guest - tito - Posted August 10, 2004 Report Share Posted August 10, 2004 como faço para que quando minha página seja carregada ela vá até o fim da página, sem ser utilizando ancora. Quote Link to comment Share on other sites More sharing options...
0 Crystal Posted August 12, 2004 Report Share Posted August 12, 2004 Olá !Uma vez eu precisei de um código assim e ainda mantenho ele guardado:function scrollToBottom() { document.body.scrollTop = document.body.offsetHeight; } function checkIfScrollToBottomIsNeeded() { scrollToBottomIsNeeded = ( document.body.scrollTop >= ( document.body.offsetHeight - ( window.innerHeight * 1.2 ) ) ); } function scrollToBottomIfNeeded() { if( scrollToBottomIsNeeded ) document.body.scrollTop = document.body.offsetHeight; } Espero que lhe ajude! Quote Link to comment Share on other sites More sharing options...
0 Lucinari Posted August 12, 2004 Report Share Posted August 12, 2004 movido para js Quote Link to comment Share on other sites More sharing options...
Question
Guest - tito -
como faço para que quando minha página seja carregada ela vá até o fim da página, sem ser utilizando ancora.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.