Difference between revisions of "Sandbox"
From energypedia
***** (***** | *****) m Tag: 2017 source edit |
***** (***** | *****) m Tag: 2017 source edit |
||
Line 12: | Line 12: | ||
}} | }} | ||
--> | --> | ||
− | < | + | <html> |
+ | |||
+ | <head> | ||
+ | |||
+ | <script src="jquery.js"/></script> | ||
+ | |||
+ | |||
+ | |||
+ | <script> | ||
+ | |||
+ | $(document).ready(function() { | ||
+ | |||
+ | |||
+ | |||
+ | $('#show').click(function() { | ||
+ | |||
+ | $('#wiki').fadeIn(); | ||
+ | |||
+ | }) | ||
+ | |||
+ | |||
+ | |||
+ | }); | ||
+ | |||
+ | |||
+ | |||
+ | </script> | ||
+ | |||
+ | |||
+ | |||
+ | <style> | ||
+ | |||
+ | iframe { | ||
+ | |||
+ | border: none; | ||
+ | |||
+ | width: 600px; | ||
+ | |||
+ | height: 1200px; | ||
+ | |||
+ | display: none; | ||
+ | |||
+ | } | ||
+ | |||
+ | #show { | ||
+ | |||
+ | background: pink; | ||
+ | |||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | </style> | ||
+ | |||
+ | |||
+ | |||
+ | </head> | ||
+ | |||
+ | |||
+ | |||
+ | <body> | ||
+ | |||
+ | <div id="show">hi there</div> | ||
+ | |||
+ | <iframe id="wiki" src="http://en.wikipedia.org/w/index.php?title=Gamergate_controversy&diff=650003294&oldid=649972067"></iframe> | ||
+ | |||
+ | some more | ||
+ | |||
+ | </body> | ||
+ | |||
+ | </html> |
Revision as of 08:24, 8 October 2024
<html>
<head>
<script src="jquery.js"/></script>
<script>
$(document).ready(function() {
$('#show').click(function() {
$('#wiki').fadeIn();
})
});
</script>
<style>
iframe {
border: none;
width: 600px;
height: 1200px;
display: none;
}
- show {
background: pink;
}
</style>
</head>
<body>
<div id="show">hi there</div>
<iframe id="wiki" src="http://en.wikipedia.org/w/index.php?title=Gamergate_controversy&diff=650003294&oldid=649972067"></iframe>
some more
</body>
</html>