Find Jobs
Hire Freelancers

Auto-Scroll Script

$30-50 USD

Em Andamento
Publicado há mais de 11 anos

$30-50 USD

Pago na entrega
I'm looking for scripts that is supported cross browsers (Microsoft IE, Google Chrome, Mozilla Firefox) can be placed in the beginning of the php/html page, then another script that can be placed at the end of the bottom/end of the page that will do the desired functions: When the page loads, it will pause for a minimum of 5 seconds, then will start a steady scrolling effect. When the scrolling get's to the bottom of the page, it will stop and pause for a minimum of 5 seconds, then force a page refresh. The page's length is dynamic, so the scrolling effect should not have a timer attached to it. The "pause" in the beginning and the end should be adjustable in the code. The existing code (see below) i'm using works well only with IE only: See examples: 1. [login to view URL] 2. [login to view URL] 3. [login to view URL] These 2 existing scripts are the ones i'm using already, they go in the <head> of the page: <script type="text/javascript"> <!-- Begin /* This script and many more are available free online at The JavaScript Source!! [login to view URL] Created by: Lee Underwood Because this is a true refresh, you might want to put a notice on the page that it refreshes every "X" minutes */ function reFresh() { [login to view URL](true) } /* Set the number below to the amount of delay, in milliseconds, you want between page reloads: 1 minute = 60000 milliseconds. */ [login to view URL]("reFresh()",410000); // End --> </script> <SCRIPT language=JavaScript1.2> //change 1 to another integer to alter the scroll speed. Greater is faster var speed=2 var currentpos=0,alt=1,curpos1=0,curpos2=-1 function initialize(){ setTimeout(startit,1000); } function scrollwindow(){ if ([login to view URL] && ![login to view URL]) temp=[login to view URL] else temp=[login to view URL] if (alt==0) alt=2 else alt=1 if (alt==0) curpos1=temp else curpos2=temp if (curpos1!=curpos2){ if ([login to view URL]) currentpos=document.body.scrollTop+speed else currentpos=window.pageYOffset+speed [login to view URL](0,currentpos) } else{ currentpos=0 [login to view URL](0,currentpos) } } function startit(){ setInterval("scrollwindow()",50) } window.onload=initialize </SCRIPT> This code goes at the bottom of the page above the </body> tag: <script> $(window).scroll(function () { if ($(window).scrollTop() >= $(document).height() - $(window).height() - 10) { //alert('end of page'); setTimeout(function(){ var base_url = "<?php echo get_base_url();?>"; var id = "<?php echo $id;?>"; [login to view URL]("<?php echo get_base_url();?>[login to view URL]<?php echo $id;?>"); }, 2000); } }); </script>
ID do Projeto: 2497048

Sobre o projeto

13 propostas
Projeto remoto
Ativo há 12 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
Kindly Check PMB
$30 USD em 0 dia
5,0 (4 avaliações)
2,9
2,9
13 freelancers estão ofertando em média $34 USD for esse trabalho
Avatar do Usuário
Hi, I can do it and have experiences in the area. Kindly check my reviews. Thanks.
$30 USD em 1 dia
4,9 (70 avaliações)
6,0
6,0
Avatar do Usuário
I can do this right now for you! Please see the message I have sent you.
$30 USD em 1 dia
5,0 (36 avaliações)
5,3
5,3
Avatar do Usuário
hi i can easily do this please check pmb
$30 USD em 1 dia
4,9 (22 avaliações)
5,3
5,3
Avatar do Usuário
I have 6 years of experience in jquery and javascript. I can get the code working for you.
$40 USD em 1 dia
4,9 (51 avaliações)
5,2
5,2
Avatar do Usuário
Hi , I have finished your project , check PM.
$30 USD em 0 dia
4,9 (59 avaliações)
5,2
5,2
Avatar do Usuário
Hello there, thanks for re-posting this opportunity, I am an expert web developer and ready to start it.
$40 USD em 1 dia
5,0 (15 avaliações)
4,5
4,5
Avatar do Usuário
I am willing to sacrifice much time and effort to guarantee your full satisfaction with my work.
$30 USD em 1 dia
5,0 (2 avaliações)
1,0
1,0
Avatar do Usuário
The effect can be achieved fairly easy using jQuery / javascript. If that's what you're looking for, please contact me.
$40 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
I can do it easily.
$30 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Custom software development (<b><i>Removed by Admin</i></b>)
$50 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Hi, I am ready to fix your problem. Please give me the opportunity to do this for you.
$30 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
I can complete this project. I have good amount of experience in HTML, Javascript, jQuery.. Please check your PMB?
$30 USD em 1 dia
0,0 (0 avaliações)
1,7
1,7

Sobre o cliente

Bandeira do(a) UNITED STATES
Pflugerville, United States
5,0
9
Método de pagamento verificado
Membro desde jun. 24, 2006

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.