Showing website in iframe with shortcode
-
Hi, I'm trying to show a website I designed on my portfolio in a iframe adding on shortcode. But I add the code and I see my website, not the link I put on.
<iframe name=”web_plamobilitat” src=”http://www.lalcudia.com/WEBMOBILITAT” frameborder=”1″></iframe>
Anyone knows what happens?
Thank you
Carles -
Dear @caromo
if I have a look at your sourcecode I cannot see any iframe:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <style type="text/css"> html, body, #partner, iframe { height:100%; width:100%; margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent; } body { overflow:hidden; } </style> <meta content="NOW" name="expires"> <meta content="index, follow, all" name="GOOGLEBOT"> <meta content="index, follow, all" name="robots"> <!-- Following Meta-Tag fixes scaling-issues on mobile devices --> <meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport"> </head> <body> <div id="partner"></div> <script type="text/javascript"> document.write( '<script type="text/javascript" language="JavaScript"' + 'src="//sedoparking.com/frmpark/' + window.location.host + '/' + '1und1parking7' + '/park.js">' + '<\/script>' ); </script> </body> </html>Are you sure it is in?
Best!
Marius
-
Hi Marius, I don't have knowledge to do this but I found on internet, and tried to insert in sortcode in one test page.
Look the link and picture... maybe it's in wrong place.
https://carlesrodrigo.es/home-2
thank you

-
Dear @caromo
I can see that the frame works.But why do you use an iframe? You can achieve the same result without. I strongly recommend not to use an iframe.
Have a look here: https://www.ostraining.com/blog/webdesign/against-using-iframes/Best!
Marius
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login