Choose Gender body { font-family: Arial, sans-serif; text-align: center; margin-top: 50px; } .choice { display: inline-block; margin: 20px; cursor: pointer; } .choice img { width: 100px; height: 100px; border-radius: 50%; border: 2px solid #444; transition: transform 0.2s; } .choice img:hover { transform: scale(1.1); border-color: #007BFF; } .label { margin-top: 10px; font-size: 18px; font-weight: bold; } function redirect(gender) { const params = new URLSearchParams(window.location.search); const file = params.get("file"); if (file) { // Build the PDF link dynamically const pdfLink = `/pdfs/${file}_${gender}.pdf`; window.location.href = pdfLink; } else { alert("No file specified in the URL!"); } }

Izberite vaš spol:

Male
Moški
Female
Ženska