0

Creating a popup for my website HELP!

I want to create an ad that pops in on user interface whenever they enter my website. I want the popup to contain a link on the image or gif that links to my Spotify playlist. How do I make this popup? If you can, can you provide a easy answer? Thanks!

17th Dec 2016, 2:13 AM
Jesse
Jesse - avatar
2 ответов
+ 4
create an element with position : absolute; to exclude it from main flow and keep it hidden on background with display : none; and show it whenever you want with display : block; (CSS)
18th Dec 2016, 3:26 PM
Valen.H. ~
Valen.H. ~ - avatar
0
If you want a popup in JavaScript use alert("");
1st Oct 2020, 1:35 PM
Cleen
Cleen - avatar