Completed

Scale on scroll: Javascript modifications

I have the following script for scalling an inside a div on scroll:

const zoomElement = [login to view URL](".zoom");

let zoom = 0.5;

const ZOOM_SPEED = 0.01;

[login to view URL]("wheel", function(e) {

if([login to view URL] > 0){

[login to view URL] = `scale(${zoom -= ZOOM_SPEED})`;

}else{

[login to view URL] = `scale(${zoom += ZOOM_SPEED})`; }

});

On full scroll the image scales to zero. I require the script to only scale from 100% and stop scaling at 50%.

Please state "I can help" in your reply if you can help.

Skills: JavaScript, jQuery / Prototype, CSS, HTML

About the Client:
( 10 reviews ) Birmingham, United Kingdom

Project ID: #31170215

Awarded to:

(52 Reviews)
5.8

17 freelancers are bidding on average £16 for this job

irishapovarova

❤️Warm greeting❤️ I will complete this work in an hour I read your job posting. This is no problem for me. I can start work right now. This work can be done in a quick time because I am a full time developer. Let's dis More

£20 GBP in 1 day
(24 Reviews)
5.6
(30 Reviews)
5.2
(27 Reviews)
5.0
muhammasahmed

Hello sir PHP ,Laravel, Shopify and Wordpres Website development Expert here, I have read your description about I am ready to start working with you on this project, I have done these projects. link: https://fotisto. More

£10 GBP in 1 day
(18 Reviews)
4.6
dmanio78914

I can help. within an hour. Dear client. Hope you are fine. I’ve checked your requirement and understood what you want. I have enough experience in Javascript and javascript libraries like jQuery. I have strongly skill More

£20 GBP in 1 day
(1 Review)
2.3
kirillgolubevde6

Hello there! As a JavaScript expert, I can absolutely complete this in a thirty minutes. Contact me for further details on your task, and I am always ready for your satisfaction. Accomodating with clients is my prefere More

£20 GBP in 1 day
(3 Reviews)
2.3
eranga119

I can help i am expert in php my sql ajax html and css. right now i am working with large scale web design [login to view URL] part time i will work as freelance just for fun and make extra [login to view URL] you have any work for me i a More

£10 GBP in 7 days
(2 Reviews)
2.3
jakerpro

I can help Hi sir! My name is Jaker, I am web developer with more than 5 years of experience. I reviewed your project description, and I would like to work on modifying your code and make it work. Please contact me to More

£10 GBP in 1 day
(5 Reviews)
2.0
ilyabelintsev84

I can help. I read your job description very carefully and I am sure I will help you. I am available now . If you send me message, I can start work now. Thank you.

£20 GBP in 1 day
(1 Review)
2.0
clarawebsuceful

Hello, dear client. Nice to meet you. "I can help" I looked at your project's requirement carefully. I have an experience in doing one similar with your project. I will complete your project perfectly and I will offer More

£15 GBP in 7 days
(0 Reviews)
0.0
mariamlancer

"I can help" Dear client I am glad to bid on your project. I am Maria from Russia, a professional developer who has good experience of 6 years in Web development. I have just gone through your post more carefully and I More

£15 GBP in 1 day
(0 Reviews)
0.0
cuito007

I can help Hi I am a senior javascript expert with strong experience for over 3 years. I can modify your code in 10 min. Best Regards

£15 GBP in 7 days
(0 Reviews)
0.0
Kinoprogrammer

I can help Hi, bro! I have read your requirement and I noticed that I am appropriate to this project. I have rich experiences with website development using HTML, Javascript, Jquery, DOM Operation I promise I can fini More

£15 GBP in 1 day
(0 Reviews)
0.0
PhpDevShawon

Hello I have carefully reviewed your project description and I can design anything as per your requirements I have more than 5 years of experience working as a Graphics designer.I am proficient in Photoshop Design. Cre More

£15 GBP in 7 days
(0 Reviews)
0.0
maximbannikov1

I can help. Hi, how are you? Very interested!!! I am a senior frontend developer with strong Javascript skills. This project is very easy. I will complete this project perfectly as you want. Let's discuss in detail via More

£15 GBP in 7 days
(0 Reviews)
0.0
adilalishah

I have an experience of working as a web developer and made several websites usnig javasvcript jquery. I know how to ad eventlistener using js.

£15 GBP in 2 days
(0 Reviews)
0.0