Russian  English  All projects

Delayed download of an image on the site



On the pages of the site there are images, under each of them there is a link "Download". Clicking under the image opens an advertisement. You need to postpone the download.

https://rupix.ru/ website

By clicking on the "Download" link, you need to:
- under the "Download" link, a block appeared with the text "Download of the image will occur in 5 seconds". The number of seconds with a countdown. When you reach 0, the download should take place, and the text should also change to "If not downloaded, click here." "Here" is a link to instant download.
- The screen moved to a block of text.

Wish: the code should not have large chunks of js in each image.
I cant provide access to the site. Ill implement it myself.

An example of how it works can be seen here https://otkritkiok.ru/ejednevnie/dobroe-utro/28416...
The exception is that in the example there is only one picture on the page, and we have many. Advertising is displayed immediately when the page loads, and we click on "download".

Offer a quote.
11.12.2022 16:29



 Answers freelancers