I'm a beginner, and I'm creating a personal website.
In it, I want to put a style of modal
with a product to buy.
I was able to find something that at least looks like modal
, but I'm having problems.
I wanted this mode to appear only on the "Buy Single" button.
And also, that you had a close button inside this mode, for the user to open and close whenever he wanted.
I've tried, but it did not work.
This is an example of modal
(I put a video inside, that's where the content will be.):
<table width="280" cellspacing="1" cellpadding="3" border="0" bgcolor="#1E679A">
<tr>
<div id="1"><td bgcolor="#fff" style="padding: 25px 50px; border-radius: 5px; position: fixed;
right: 300px;
bottom: 50px;
z-index:10;"><iframe width="560" height="315" src="https://www.youtube.com/embed/fdiJ2y7m2tY"frameborder="0" allowfullscreen></iframe>
</td></div>
</tr>
</table>
Please help me. I really need this effect, thank you right away.