Podświetlanie tekstu z notatkami
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
.highlight {
background-color: #cce7ff; /* Highlight color without notes */
position: relative;
display: inline;
}
.highlight.with-note {
background-color: #ffeb3b; /* Highlight color with notes */
}
.note-box {
position: absolute;
background-color: #f9f9f9;
color: #333;
font-size: 14px;
line-height: 1.6;
padding: 10px 15px;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
max-width: 250px;
z-index: 1000;
white-space: normal;
text-align: left;
display: none; /* Hidden by default */
}
.note-controls {
position: absolute;
top: -30px;
right: -30px;
display: flex;
gap: 10px;
z-index: 10;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s;
}
.note-controls.visible {
opacity: 1;
pointer-events: all;
}
.note-controls span {
cursor: pointer;
background-color: gray;
color: white;
padding: 5px 10px;
border-radius: 5px;
font-size: 16px;
font-weight: bold;
}
.note-controls span:hover {
background-color: darkgray;
}
document.addEventListener(“DOMContentLoaded”, () => {
/**
* Checks if an element is a header.
*/
const isHeaderElement = (node) => {
while (node) {
if (node.nodeType === 1 && node.tagName.match(/^H[1-5]$/)) {
return true;
}
node = node.parentNode;
}
return false;
};
/**
* Checks if an element is inside a table cell.
*/
const isInsideTable = (node) => {
while (node) {
if (node.tagName === “TD” || node.tagName === “TH”) {
return node;
}
node = node.parentNode;
}
return null;
};
/**
* Checks if an element belongs to the same list item.
*/
const isWithinSameListItem = (selection) => {
if (selection.rangeCount === 0) return false;
const range = selection.getRangeAt(0);
const startContainer = range.startContainer;
const endContainer = range.endContainer;
const getClosestListItem = (node) => {
while (node) {
if (node.nodeType === 1 && node.tagName === “LI”) {
return node;
}
node = node.parentNode;
}
return null;
};
const startListItem = getClosestListItem(startContainer);
const endListItem = getClosestListItem(endContainer);
// Ensure selection is within the same list item
return startListItem === endListItem;
};
/**
* Validates the selection.
* Ensures the selection is within a single header, table cell, or list item.
*/
const isSelectionValid = (selection) => {
if (selection.rangeCount === 0) return false;
const range = selection.getRangeAt(0);
const startContainer = range.startContainer;
const endContainer = range.endContainer;
const startInHeader = isHeaderElement(startContainer);
const endInHeader = isHeaderElement(endContainer);
// Block selection spanning headers
if (startInHeader !== endInHeader) {
return false;
}
const startCell = isInsideTable(startContainer);
const endCell = isInsideTable(endContainer);
// Block selection spanning table cells
if (startCell && endCell && startCell !== endCell) {
return false;
}
// Block selection spanning multiple list items
if (!isWithinSameListItem(selection)) {
return false;
}
return true;
};
/**
* Highlights the selected text.
*/
const wrapTextWithHighlight = (range) => {
const fragment = range.extractContents();
const highlight = document.createElement(“span”);
highlight.className = “highlight”;
highlight.appendChild(fragment);
range.insertNode(highlight);
const noteControls = document.createElement(“div”);
noteControls.className = “note-controls visible”;
const editNote = document.createElement(“span”);
editNote.textContent = “✎”;
editNote.title = “Edit note”;
noteControls.appendChild(editNote);
const removeHighlight = document.createElement(“span”);
removeHighlight.textContent = “x”;
removeHighlight.title = “Remove highlight”;
noteControls.appendChild(removeHighlight);
highlight.style.position = “relative”;
highlight.appendChild(noteControls);
let noteBox = null;
const updateNotePosition = () => {
const rect = highlight.getBoundingClientRect();
if (noteBox) {
noteBox.style.top = `${rect.height}px`;
noteBox.style.left = `${rect.width / 2}px`;
}
};
const hideControlsAndNoteAfterDelay = () => {
setTimeout(() => {
noteControls.classList.remove(“visible”);
if (noteBox) noteBox.style.display = “none”;
}, 3000);
};
// Show controls for 3 seconds after highlighting
hideControlsAndNoteAfterDelay();
highlight.addEventListener(“click”, () => {
noteControls.classList.add(“visible”);
if (noteBox) noteBox.style.display = “block”;
hideControlsAndNoteAfterDelay();
});
editNote.addEventListener(“click”, () => {
const noteText = prompt(“Add or edit a note:”, noteBox?.textContent || “”);
if (noteText) {
if (!noteBox) {
noteBox = document.createElement(“div”);
noteBox.className = “note-box”;
highlight.appendChild(noteBox);
}
noteBox.textContent = noteText;
noteBox.style.display = “block”;
highlight.classList.add(“with-note”);
updateNotePosition();
hideControlsAndNoteAfterDelay();
}
});
removeHighlight.addEventListener(“click”, () => {
const parent = highlight.parentNode;
while (highlight.firstChild) {
parent.insertBefore(highlight.firstChild, highlight);
}
parent.removeChild(highlight);
if (noteBox) noteBox.remove();
});
};
/**
* Handles the mouseup event to validate and apply highlighting.
*/
document.body.addEventListener(“mouseup”, () => {
const selection = window.getSelection();
if (selection.rangeCount > 0 && selection.toString().trim()) {
if (!isSelectionValid(selection)) {
alert(“Zaznaczenie musi być w obrębie jednego akapitu, komórki tabeli lub punktu listy!”);
selection.removeAllRanges();
return;
}
const range = selection.getRangeAt(0);
wrapTextWithHighlight(range);
selection.removeAllRanges();
}
});
});
Szacowany czas lekcji:
25 minut
.lesson-duration-container {
background-color: #f0f4f8; /* Szarawe tło dopasowane do reszty strony */
padding: 8px 15px; /* Wewnętrzny odstęp */
border-radius: 8px; /* Zaokrąglone rogi */
font-family: ‘Roboto’, Arial, sans-serif; /* Czcionka Roboto, jeśli dostępna */
font-size: 16px; /* Rozmiar tekstu */
color: #6c757d; /* Ciemny szary kolor tekstu */
display: inline-block; /* Wyświetlanie jako element blokowy */
margin-bottom: 20px; /* Odstęp na dole */
border: none; /* Bez obramowania */
}
.lesson-duration-label {
font-weight: 700; /* Pogrubienie dla etykiety */
color: #6c757d; /* Ciemny szary kolor dla etykiety */
margin-right: 5px; /* Odstęp od wartości */
}
.lesson-duration-value {
color: #6c757d; /* Ciemny szary kolor dla wartości */
font-weight: 700; /* Pogrubienie dla wartości */
}
Podstawowe terminy medyczne dotyczące męskiego układu rozrodczego
Polish | English |
---|
Układ rozrodczy męski | Male reproductive system |
Jądra | Testicles (Testes) |
Najądrza | Epididymis |
Nasieniowód | Vas deferens |
Gruczoł krokowy (Prostata) | Prostate gland |
Penis | Penis |
Napletek | Foreskin |
Cewka moczowa | Urethra |
Sperma (Nasienie) | Semen |
Plemnik | Sperm |
Erekcja | Erection |
Ejakulacja | Ejaculation |
Impotencja (Zaburzenia erekcji) | Impotence (Erectile dysfunction) |
Przedwczesny wytrysk | Premature ejaculation |
Gruczoły Cowpera | Cowper’s glands (Bulbourethral glands) |
Węzełek | Nodule |
Rak prostaty | Prostate cancer |
Rak jądra | Testicular cancer |
Łagodny przerost prostaty | Benign prostatic hyperplasia (BPH) |
Infekcja dróg moczowych | Urinary tract infection (UTI) |
Infekcja przenoszona drogą płciową | Sexually transmitted infection (STI) |
Stulejka | Phimosis |
Zwapnienia prostaty | Prostatic calcifications |
Żylaki powrózka nasiennego | Varicocele |
Kluczowe objawy i schorzenia układu rozrodczego
Polish | English |
---|
Ból jąder | Testicular pain |
Obrzęk jąder | Testicular swelling |
Zgrubienia lub guzki w mosznie | Lumps or nodules in the scrotum |
Zaburzenia erekcji | Erectile dysfunction |
Przedwczesny wytrysk | Premature ejaculation |
Trudności w oddawaniu moczu | Difficulty urinating |
Ból podczas oddawania moczu | Painful urination |
Krew w spermie | Blood in semen (Hematospermia) |
Ból krocza | Perineal pain |
Zmniejszony popęd płciowy | Decreased libido |
Ból podczas wytrysku | Painful ejaculation |
Częste oddawanie moczu | Frequent urination |
Niepłodność | Infertility |
Nawracające infekcje dróg moczowych | Recurrent urinary tract infections |
Wydzielina z cewki moczowej | Discharge from the urethra |
Powiększona prostata | Enlarged prostate |
Rak prostaty | Prostate cancer |
Rak jądra | Testicular cancer |
Torbiele najądrzy | Epididymal cysts |
Stulejka | Phimosis |
Choroba Peyroniego | Peyronie’s disease |
Żylaki powrózka nasiennego | Varicocele |
Narzędzia diagnostyczne i procedury dotyczące męskiego układu rozrodczego
Polish | English |
---|
Badanie per rectum (DRE) | Digital rectal examination (DRE) |
USG jąder | Testicular ultrasound |
USG przezodbytnicze prostaty | Transrectal ultrasound (TRUS) |
PSA (antygen swoisty dla prostaty) | Prostate-specific antigen (PSA) test |
Badanie nasienia | Semen analysis (spermiogram) |
Biopsja prostaty | Prostate biopsy |
Biopsja jądra | Testicular biopsy |
Uroflowmetria | Uroflowmetry |
Badanie poziomu testosteronu | Testosterone level test |
Badanie hormonalne (FSH, LH) | Hormonal test (FSH, LH) |
Cystoskopia | Cystoscopy |
MRI prostaty | Prostate MRI |
Badanie płynów nasiennych | Seminal fluid analysis |
Test na infekcje przenoszone drogą płciową | Sexually transmitted infection (STI) test |
Badanie urodynamiczne | Urodynamic testing |
Badanie na płodność | Fertility test |
Czynniki ryzyka i styl życia związane z męskim układem rozrodczym
Polish | English |
---|
Palenie tytoniu | Smoking |
Nadużywanie alkoholu | Alcohol abuse |
Niska aktywność fizyczna | Low physical activity |
Stres | Stress |
Historia nowotworów w rodzinie | Family history of cancer |
Siedzący tryb życia | Sedentary lifestyle |
Otyłość | Obesity |
Dieta uboga w składniki odżywcze | Poor diet |
Brak regularnych badań profilaktycznych | Lack of regular check-ups |
Wiek | Age |
Narażenie na chemikalia i toksyny | Exposure to chemicals and toxins |
Narażenie na ciepło (np. sauna, gorące kąpiele) | Heat exposure (e.g., saunas, hot baths) |
Stosowanie sterydów anabolicznych | Use of anabolic steroids |
Brak odpowiedniej higieny intymnej | Poor genital hygiene |
Częste infekcje przenoszone drogą płciową | Frequent sexually transmitted infections |
Sposoby leczenia i postępowanie w chorobach męskiego układu rozrodczego
Polish | English |
---|
Leki na zaburzenia erekcji (np. Viagra) | Medications for erectile dysfunction (e.g., Viagra) |
Terapia hormonalna | Hormone therapy |
Operacja prostaty | Prostate surgery |
Prostatektomia | Prostatectomy |
Chirurgia jądra | Testicular surgery |
Radioterapia prostaty | Prostate radiotherapy |
Leczenie chemioterapią | Chemotherapy |
Leki przeciwzapalne | Anti-inflammatory drugs |
Antybiotyki (na infekcje) | Antibiotics (for infections) |
Terapia falami uderzeniowymi na chorobę Peyroniego | Shockwave therapy for Peyronie’s disease |
Leczenie hormonalne (np. na niski poziom testosteronu) | Hormone replacement therapy (for low testosterone) |
Usunięcie torbieli | Cyst removal |
Leczenie żylaków powrózka nasiennego | Varicocele treatment |
Zabiegi laserowe | Laser treatments |
Psychoterapia (np. przy problemach z impotencją) | Psychotherapy (e.g., for erectile dysfunction) |
Rozbudowane Pytania o objawy pacjenta, które każdy lekarz powinien umieć zadać
Polish | English |
---|
Czy odczuwa Pan ból jąder lub obrzęk moszny? | Do you feel testicular pain or scrotal swelling? |
Jak długo odczuwa Pan ból lub obrzęk? | How long have you been experiencing the pain or swelling? |
Czy zauważył Pan guzki lub zgrubienia w mosznie? | Have you noticed lumps or nodules in the scrotum? |
Czy guzki są bolesne lub powiększają się z czasem? | Are the lumps painful or have they been growing over time? |
Czy ma Pan trudności w osiągnięciu lub utrzymaniu erekcji? | Do you have difficulty achieving or maintaining an erection? |
Czy erekcje są słabsze niż wcześniej? | Are your erections weaker than they used to be? |
Czy odczuwa Pan ból podczas oddawania moczu? | Do you feel pain during urination? |
Czy odczuwa Pan pieczenie lub kłucie podczas oddawania moczu? | Do you feel burning or stinging while urinating? |
Czy oddaje Pan mocz częściej niż zwykle? | Are you urinating more frequently than usual? |
Czy odczuwa Pan potrzebę częstego oddawania moczu, szczególnie w nocy? | Do you feel the need to urinate frequently, especially at night? |
Czy odczuwa Pan ból podczas ejakulacji? | Do you feel pain during ejaculation? |
Czy zauważył Pan zmiany w ilości lub konsystencji spermy? | Have you noticed any changes in the amount or consistency of your semen? |
Czy zauważył Pan krew w spermie lub moczu? | Have you noticed blood in your semen or urine? |
Czy ma Pan zmniejszone libido lub trudności z odczuwaniem satysfakcji seksualnej? | Do you have a decreased libido or difficulty experiencing sexual satisfaction? |
Czy odczuwa Pan zmęczenie lub osłabienie, szczególnie po aktywności fizycznej? | Do you feel fatigued or weak, especially after physical activity? |
Czy odczuwa Pan ból w dolnej części pleców, biodrach lub pachwinie? | Do you feel pain in your lower back, hips, or groin? |
Czy odczuwa Pan uczucie pełności w pęcherzu, nawet po oddaniu moczu? | Do you feel a sense of fullness in your bladder even after urinating? |
Czy zauważył Pan zmniejszenie siły strumienia moczu? | Have you noticed a decrease in the strength of your urinary stream? |
Czy odczuwa Pan ból lub dyskomfort podczas siedzenia (np. na twardych powierzchniach)? | Do you experience pain or discomfort while sitting (e.g., on hard surfaces)? |
Rozbudowane Pytania o historię medyczną pacjenta, które każdy lekarz powinien umieć zadać
Polish | English |
---|
Czy w rodzinie występowały przypadki raka prostaty lub jądra? | Is there a family history of prostate or testicular cancer? |
Czy kiedykolwiek zdiagnozowano u Pana infekcję przenoszoną drogą płciową, np. chlamydię, rzeżączkę? | Have you ever been diagnosed with a sexually transmitted infection, such as chlamydia or gonorrhea? |
Czy miał Pan wcześniej zaburzenia erekcji lub problemy z przedwczesnym wytryskiem? | Have you previously had erectile dysfunction or issues with premature ejaculation? |
Czy cierpi Pan na nawracające infekcje dróg moczowych lub inne infekcje układu rozrodczego? | Do you suffer from recurrent urinary tract infections or other infections of the reproductive system? |
Czy przyjmuje Pan leki na nadciśnienie, cukrzycę, choroby serca lub inne przewlekłe schorzenia? | Are you taking any medications for high blood pressure, diabetes, heart disease, or other chronic conditions? |
Czy kiedykolwiek zdiagnozowano u Pana łagodny przerost prostaty (BPH) lub inne schorzenia prostaty? | Have you ever been diagnosed with benign prostatic hyperplasia (BPH) or other prostate conditions? |
Czy przechodził Pan operację prostaty, jąder lub innych narządów płciowych? | Have you undergone surgery on the prostate, testicles, or other reproductive organs? |
Czy w przeszłości miał Pan problemy z płodnością, takie jak niska liczba plemników lub problemy z jakością nasienia? | Have you had fertility issues in the past, such as low sperm count or issues with semen quality? |
Czy stosował Pan sterydy anaboliczne lub inne substancje wpływające na układ hormonalny? | Have you ever used anabolic steroids or other substances that affect the hormonal system? |
Czy był Pan leczony z powodu nowotworów układu rozrodczego lub przechodził radioterapię w okolicy miednicy? | Have you been treated for reproductive system cancers or undergone radiotherapy in the pelvic area? |
Rozbudowane Pytania o diagnozę, które pacjenci często zadają
Polish | English |
---|
Co może być przyczyną moich problemów z erekcją? | What could be causing my erectile dysfunction? |
Czy moje objawy mogą być związane z powiększeniem prostaty lub innymi schorzeniami prostaty? | Could my symptoms be related to an enlarged prostate or other prostate conditions? |
Jakie badania muszę wykonać, aby potwierdzić diagnozę? | What tests do I need to confirm the diagnosis? |
Czy moje zaburzenia erekcji są odwracalne, czy będą trwały? | Is my erectile dysfunction reversible, or will it be permanent? |
Czy guzki, które wyczułem w mosznie, mogą być nowotworem lub innym poważnym schorzeniem? | Could the lumps I feel in my scrotum be cancerous or another serious condition? |
Jakie są możliwe powikłania związane z moją chorobą, np. niepłodność, zaburzenia seksualne? | What are the possible complications of my condition, such as infertility or sexual dysfunction? |
Czy powiększona prostata może być przyczyną moich problemów z oddawaniem moczu, np. częstomoczu, słabego strumienia moczu? | Could my enlarged prostate be causing my urinary problems, such as frequent urination or weak urinary stream? |
Czy istnieje ryzyko, że moja niepłodność jest trwała? Jakie są moje szanse na poczęcie dziecka? | Is there a risk that my infertility is permanent? What are my chances of conceiving a child? |
Jakie są czynniki ryzyka raka prostaty lub jądra, i czy mogę zmniejszyć to ryzyko? | What are the risk factors for prostate or testicular cancer, and can I reduce this risk? |
Czy muszę regularnie poddawać się badaniom przesiewowym w kierunku raka prostaty lub jądra? | Do I need regular screening for prostate or testicular cancer? |
Rozbudowane Pytania o leczenie, które pacjenci często zadają
Polish | English |
---|
Jakie są moje opcje leczenia zaburzeń erekcji, czy muszę brać leki, czy istnieją inne metody? | What are my treatment options for erectile dysfunction? Do I need to take medications, or are there other methods? |
Czy leczenie może przywrócić moją płodność, np. terapia hormonalna, procedury chirurgiczne? | Can treatment restore my fertility, such as hormone therapy or surgical procedures? |
Jakie są skutki uboczne leków na zaburzenia erekcji, np. Viagra? Czy są inne bezpieczne opcje? | What are the side effects of medications for erectile dysfunction, such as Viagra? Are there other safer options? |
Czy operacja prostaty wpłynie na moją zdolność do współżycia, np. na zdolność do erekcji lub wytrysku? | Will prostate surgery affect my sexual function, such as the ability to have erections or ejaculate? |
Czy mogę kontynuować aktywność fizyczną, np. uprawiać sport, po leczeniu raka jądra? | Can I continue physical activity, such as playing sports, after testicular cancer treatment? |
Jak długo będę musiał stosować leczenie hormonalne, jeśli mam niski poziom testosteronu? | How long will I need to undergo hormone therapy if I have low testosterone levels? |
Czy istnieją alternatywne metody leczenia powiększonej prostaty, np. terapie farmakologiczne, zabiegi laserowe? | Are there alternatives to surgery for treating an enlarged prostate, such as medication or laser treatments? |
Czy mogę prowadzić normalne życie z łagodnym przerostem prostaty (BPH), czy będą konieczne dalsze leczenia? | Can I lead a normal life with benign prostatic hyperplasia (BPH), or will I need further treatments? |
Jakie są szanse na pełne wyleczenie raka prostaty lub jądra, i czy istnieje ryzyko nawrotu? | What are the chances of a full recovery from prostate or testicular cancer, and is there a risk of recurrence? |
Czy muszę przestrzegać specjalnej diety lub wprowadzać zmiany w stylu życia po leczeniu raka prostaty? | Do I need to follow a special diet or make lifestyle changes after prostate cancer treatment? |