<iframe src="https://www.noashabtai.com" height="700" width="390" frameBorder="0" ></iframe>
with no frame border
iFrame Width & Hight setup
iframe with no border code
Default iframe
*Thanks to Eliran Medina for the code
$w.onReady(function () {
$w("copyButton2").onClick( (event) => {
let $item = $w.at(event.context);
wixWindow.copyToClipboard($item('#codeText2').text) //element id with $item
.then( () => {
console.log("copied");
})
.catch( (err) => {
console.log("not copied");
});
});
});
Copy Text Button from a text box
Hello world now you can copy my text!!
Copied from velo wix forum View Link
<html>
<head>
<style>
.iframe
{
border: 7px solid black;
border-radius: 20px;
-webkit-border-radius: 20px;
-o-border-radius: 20px;
position: relative;
overflow: hidden;
width: 390px;
height: 700px;
}
.iframe iframe
{
width: 100%;
height: 100%;
}
</style>
<div class="iframe">
<iframe content="width=device-width, initial-scale=1"
src="https://www.noashabtai.com" frameborder="0">
</iframe>
</div>
</head>
</html>