Find Jobs
Hire Freelancers

Tiny Javascript Task - Help!

$7-12 USD

En curso
Publicado hace más de 17 años

$7-12 USD

Pagado a la entrega
I want a small javascript code to generate a random numbers based on some inputs, and show these numbers on a webpage so that it looks like the number is changing. Basically, these numbers are the value of a jackpot on my website. I want the jackpot value to be increasing so that as the user looks at it, the jackpot increases randomly. What I want to do is give a starting value to the javascript (eg. 100.30) and and then a series of values to randomly add to the value every X seconds. E.G. Starting value: 100.30 Random values: 0.01, 0.02, 0.03 Seconds: 5 In the example above, the javascript would choose one of the 3 values between 0.01 and 0.03 every 5 seconds, and add it to the starting value of 100.30, so that the variable could increase like: 100.30, 100.31, 100.34, 100.37, 100.38, 100.40... and so on. Note, that some of the random values I specify could be negative or 0. What I also want is a maximum value so that once the variable hits a certain value, it resets back to the starting value. For example, let's say the maximum value is 100.40, then the next value in the series above would be 100.30 because it resets. Each random value to add should be given equal weighting, so by including the value 0.01 twice, for instance, it should on average appear twice. I was hoping to use normal text for the changing variable, but I understand from chatting to coders that I may have to use an textbox in a form so that the variable can change? Thanks in advance, David Hammond ## Deliverables As above. Plus, a html page with the javascript in action! 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Javascript HTML output
ID del proyecto: 3944138

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 17 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
See private message.
$5 USD en 2 días
5,0 (18 comentarios)
3,5
3,5
4 freelancers están ofertando un promedio de $7 USD por este trabajo
Avatar del usuario
See private message.
$9,35 USD en 2 días
5,0 (56 comentarios)
5,7
5,7
Avatar del usuario
See private message.
$5,10 USD en 2 días
0,0 (2 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$10,20 USD en 2 días
0,0 (2 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED KINGDOM
United Kingdom
5,0
29
Miembro desde ago 30, 2003

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos 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)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.