doesn't work properly. I want it to work as on https://popcat.click site image shoud change when user slik on it and hold and than original image is back when user release the mouse/touchpad button - Follow Up Deployment
Browse files104 unmodified lines105106107108109110111112113200 unmodified lines314315316317318319320321322323104 unmodified lines<img src="https://www.dropbox.com/scl/fi/7hpv2i1v07l4bakd0ozuu/DPTHtoken-logo.png?rlkey=f5yspk8ylxe5p64ntk3ytekfz&st=k2r4hid4&dl=1"alt="Don't Push The Horses Meme"class="w-full max-w-md mx-auto cartoon-border horse-animation cursor-pointer"onmousedown="this.src='https://drive.google.com/uc?export=view&id=1P8C0aqdGmA8Lwk7rkzj3zf-6EC1-Bvo6'"onmouseup="this.src='https://www.dropbox.com/scl/fi/7hpv2i1v07l4bakd0ozuu/DPTHtoken-logo.png?rlkey=f5yspk8ylxe5p64ntk3ytekfz&st=k2r4hid4&dl=1'"onmouseout="this.src='https://www.dropbox.com/scl/fi/7hpv2i1v07l4bakd0ozuu/DPTHtoken-logo.png?rlkey=f5yspk8ylxe5p64ntk3ytekfz&st=k2r4hid4&dl=1'"><div class="absolute -bottom-6 -right-6 bg-amber-200 text-amber-800 font-bold py-2 px-4 rounded-full text-sm md:text-base transform rotate-6">π Push at your own risk! π</div></div></div>200 unmodified lines<!-- Scripts --><script>// Image swap functionfunction swapImage(imgElement, newSrc) {imgElement.src = newSrc;}// Instagram embed script(function() {var instagramScript = document.createElement('script');104 unmodified lines105106107108109110111112113114115200 unmodified lines316317318319320321322323324325326327328329330331332333334104 unmodified lines<img src="https://www.dropbox.com/scl/fi/7hpv2i1v07l4bakd0ozuu/DPTHtoken-logo.png?rlkey=f5yspk8ylxe5p64ntk3ytekfz&st=k2r4hid4&dl=1"alt="Don't Push The Horses Meme"class="w-full max-w-md mx-auto cartoon-border horse-animation cursor-pointer"onmousedown="handleImagePress(this)"onmouseup="handleImageRelease(this)"onmouseleave="handleImageRelease(this)"ontouchstart="handleImagePress(this)"ontouchend="handleImageRelease(this)"><div class="absolute -bottom-6 -right-6 bg-amber-200 text-amber-800 font-bold py-2 px-4 rounded-full text-sm md:text-base transform rotate-6">π Push at your own risk! π</div></div></div>200 unmodified lines<!-- Scripts --><script>// Store original image sourceconst originalImageSrc = 'https://www.dropbox.com/scl/fi/7hpv2i1v07l4bakd0ozuu/DPTHtoken-logo.png?rlkey=f5yspk8ylxe5p64ntk3ytekfz&st=k2r4hid4&dl=1';const pressedImageSrc = 'https://drive.google.com/uc?export=view&id=1P8C0aqdGmA8Lwk7rkzj3zf-6EC1-Bvo6';// Handle image press/releasefunction handleImagePress(img) {img.src = pressedImageSrc;}function handleImageRelease(img) {img.src = originalImageSrc;}// Instagram embed script(function() {var instagramScript = document.createElement('script');
index.html+17-6