Difference between revisions of "Iframe change"

From Level Access Web Labs
Jump to navigation Jump to search
m (Fix previous URL change)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<html>
 
<html>
 +
  <head>
 +
    <style type="text/css">
 +
    </style>
 +
    <script>
 +
        function change() {
 +
            document.getElementById("f").src = "https://www.npr.org/";
 +
        }
 +
    </script>
 +
  </head>
 +
  <body>
 
   <button onclick="change();"> Change </button>
 
   <button onclick="change();"> Change </button>
   <iframe src="http://www.ssbbartgroup.com">
+
   <iframe id="f" src="https://www.levelaccess.com/">
 
   </iframe>
 
   </iframe>
 +
  <iframe id="g" style="height:224px;" src="https://www.bbc.com">
 +
  </iframe>
 +
  </body>
 
</html>
 
</html>

Latest revision as of 17:40, 27 April 2021