- <?php
-
- # @name: compare.php
- # @version: 0.1
- # @creation_date: 2021-09-30
- # @license: The MIT License <https://opensource.org/licenses/MIT>
- # @author: Simon Bowie <ad7588@coventry.ac.uk>
- # @purpose: Displays two random records from the Solr index
-
- ?>
-
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <link rel="stylesheet" type="text/css" href="css/style.css">
- <script>
- function resizeIframe(obj) {
- obj.style.height = obj.contentWindow.document.documentElement.scrollHeight + 'px';
- }
- </script>
- </head>
- <body>
- <div class="box">
- <iframe src="./random.php" frameborder="0" scrolling="no" onload="resizeIframe(this)" align="left"> </iframe>
- </div>
-
- <div class="box">
- <iframe src="./random.php" frameborder="0" scrolling="no" onload="resizeIframe(this)" align="right"></iframe>
- </div>
- </body>
- </html>
|