A comprehensive demonstration of HTML content with multiple interactive elements, PDF lightboxes, and custom styling.
// Example JavaScript for PDF Lightbox
function openPDFLightbox(pdfUrl, title = 'Document') {
const overlay = document.createElement('div');
overlay.style.cssText = `
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
`;
const pdfViewer = document.createElement('iframe');
pdfViewer.src = pdfUrl;
pdfViewer.style.cssText = `
width: 90%;
height: 90%;
border: none;
border-radius: 8px;
background-color: white;
`;
overlay.appendChild(pdfViewer);
document.body.appendChild(overlay);
}