Muitos sites têm a função de retornar ao topo para julgar a exibição dinâmica e o esconderijo dos parâmetros de rolagem, o que é mais adequado para iniciantes.
<! xmlns = "http://www.w3.org/1999/xhtml"> <head> <meta http-equiv = "content-type" content = "text/html; charset = utf-8"/> <title> implementar a exibição dinâmica de volta ao topo ou não </stynes> <ystle> <ysty> <yster = utf-8 "/> <title> implementar a exibição dinâmica de volta ao topo ou não </stynes> <ysty> <ystle> <yster = utf-8"/> <título> implementar o Topic Display para topo. {largura: 45px; altura: 45px; fundo: url (back_top_new.png) 0; posição: corrigido; esquerda: 50%; margem-left: 500px; inferior: 105px; exibição: nenhum;}. -46px;} </style> </head> <body> <a href = "javascript: void (0)"> </a> <script src = "js/jQuery -1.11.0.min.js"> </script> varshusewerethevt = (/? "DommouSescroll": "Rouse Wheel"; // FF não reconhece o Mouse Wheel a partir do FF3.xif (document.attachevent) // se ie (e ópera dependendo da configuração do usuário) document.attachevent ("on"+mousewheelevt, function (e) {var t = document.body.Scrolltop+document.documentElement.Scrolltop; if (t == 0) {$ (". BrowSerdocument.addeventListener (mousewheelevt, function (e) {var t = document.body.scrolltop+document.documentElement.Scrolltop; if (t == 0) {$ ("