"SamplePageDownload" பக்கத்தின் திருத்தங்களுக்கிடையேயான வேறுபாடு

நூலகம் இல் இருந்து
தாவிச் செல்ல:வழிசெலுத்தல், தேடுக
வரிசை 1: வரிசை 1:
 +
 
<!DOCTYPE html>
 
<!DOCTYPE html>
 
<html>
 
<html>
வரிசை 13: வரிசை 14:
 
     <script>
 
     <script>
 
         function openPDF(pdfUrl) {
 
         function openPDF(pdfUrl) {
             // Update the src attribute of the iframe to the PDF URL
+
             // Set the PDF URL as the source of the iframe
             document.getElementById("pdfIframe").src = pdfUrl;
+
             var iframe = document.getElementById("pdfIframe");
 +
            iframe.src = pdfUrl;
 +
            iframe.style.display = "block"; // Show the iframe
 
         }
 
         }
 
     </script>
 
     </script>
வரிசை 24: வரிசை 27:
 
    
 
    
 
     <!-- Replace "example.pdf" with the actual path to your PDF file -->
 
     <!-- Replace "example.pdf" with the actual path to your PDF file -->
     <a href="#" onclick="openPDF('http://www.noolaham.net/project/01/13/13.htm'); return false;">காகம் கலைத்த கனவு (194 KB)</a>
+
     <a href="#" onclick="openPDF('http://www.noolaham.net/project/01/13/13.htm'); return false;">Open PDF</a>
 
    
 
    
 
     <!-- The iframe for displaying the PDF -->
 
     <!-- The iframe for displaying the PDF -->
     <iframe id="pdfIframe" src="" frameborder="0"></iframe>
+
     <iframe id="pdfIframe" src="" frameborder="0" style="display: none;"></iframe>
 
</body>
 
</body>
 
</html>
 
</html>

23:47, 27 ஆகத்து 2023 இல் நிலவும் திருத்தம்

<!DOCTYPE html> PDF Viewer Example

PDF Viewer Example

Click the link below to open the PDF in the embedded viewer:

Open PDF

"https://noolaham.org/wiki/index.php?title=SamplePageDownload&oldid=570680" இருந்து மீள்விக்கப்பட்டது