2
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 a modal
, but I’m having problems.
I wish this modal only appeared on the "Buy Single" button (it’s a music sales site).
And also, that had inside this modal a close button, for the user to open and close whenever he wanted.
I looked, but it didn’t 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 out. I really need that effect, thank you in advance.
Where is the example? Show some code to show what you have already achieved.
– Marcus Vinicius
There it is. It’s just Modal. But what I want is to control when it appears and disappears with buttons.
– Hugo Marcelo