diff --git a/Html-Files/Doctor Experience.html b/Html-Files/Doctor Experience.html index 3eff2565..8ecb140a 100644 --- a/Html-Files/Doctor Experience.html +++ b/Html-Files/Doctor Experience.html @@ -130,6 +130,7 @@
  • Service
  • Patient Portal
  • +
  • Appointment
  • Doctor
  • Contact us
  • Sign in/Sign up
  • @@ -516,19 +517,32 @@

    RAPIDOC Newsletter


    const doctorListElement = document.getElementById("doctor-list"); doctorListElement.innerHTML = ""; - doctors.forEach(doctor => { - const doctorItem = document.createElement("li"); - doctorItem.innerHTML = ` -
    -

    ${doctor.name}

    -

    Specialization: ${doctor.specialization}

    -

    Experience: ${doctor.experience} years

    -

    Fee: $${doctor.fee}

    -
    - ${doctor.image ? `${doctor.name}` : ""} - `; - doctorListElement.appendChild(doctorItem); - }); + // Assuming 'doctors' is an array of doctor objects and 'doctorListElement' is the parent UL element + +doctors.forEach(doctor => { + // Create a new li element + const doctorItem = document.createElement("li"); + + // Set the inner HTML of the li element + doctorItem.innerHTML = ` +
    +

    ${doctor.name}

    +

    Specialization: ${doctor.specialization}

    +

    Experience: ${doctor.experience} years

    +

    Fee: $${doctor.fee}

    +
    + ${doctor.image ? `${doctor.name}` : ""} + `; + + // Added a click event listener to the li element to redirect to appointment page + doctorItem.addEventListener('click', () => { + window.location.href = 'appointment.html'; + }); + + // Append the li element to the parent UL element + doctorListElement.appendChild(doctorItem); +}); + } function filterDoctors() { diff --git a/Html-Files/blood.html b/Html-Files/blood.html index 681c3308..c2289762 100644 --- a/Html-Files/blood.html +++ b/Html-Files/blood.html @@ -36,6 +36,7 @@
  • News
  • Service
  • Patient Portal
  • +
  • Appointment
  • Doctor
  • Contact us
  • Rate Us
  • diff --git a/Html-Files/bloodtest.html b/Html-Files/bloodtest.html index 3d9841a8..dfcefa53 100644 --- a/Html-Files/bloodtest.html +++ b/Html-Files/bloodtest.html @@ -49,6 +49,7 @@
  • News
  • Service
  • Patient Portal
  • +
  • Appointment
  • Doctor
  • Contact us
  • diff --git a/Html-Files/cardio.html b/Html-Files/cardio.html index 59c4c381..480a4c6f 100644 --- a/Html-Files/cardio.html +++ b/Html-Files/cardio.html @@ -480,6 +480,7 @@
  • News
  • Service
  • Patient Portal
  • +
  • Appointment
  • Doctor
  • Contact us
  • Rate Us
  • diff --git a/Html-Files/customer_agreement.html b/Html-Files/customer_agreement.html index ad6542d2..aef5ee56 100644 --- a/Html-Files/customer_agreement.html +++ b/Html-Files/customer_agreement.html @@ -840,6 +840,7 @@ > Patient Portal +
  • Appointment
  • Doctor
  • diff --git a/Html-Files/ent.html b/Html-Files/ent.html index 9d4be2b6..bf327749 100644 --- a/Html-Files/ent.html +++ b/Html-Files/ent.html @@ -480,6 +480,7 @@
  • News
  • Service
  • Patient Portal
  • +
  • Appointment
  • Doctor
  • Contact us
  • Rate Us
  • diff --git a/Html-Files/news.html b/Html-Files/news.html index 8c6709e6..f6f69874 100644 --- a/Html-Files/news.html +++ b/Html-Files/news.html @@ -68,6 +68,7 @@
  • News
  • Service
  • Patient Portal
  • +
  • Appointment
  • Doctor
  • Contact us
  • diff --git a/Html-Files/privacy_policy_page.html b/Html-Files/privacy_policy_page.html index 25ef8618..6b325251 100644 --- a/Html-Files/privacy_policy_page.html +++ b/Html-Files/privacy_policy_page.html @@ -846,6 +846,7 @@ > Patient Portal +
  • Appointment
  • Doctor
  • diff --git a/Html-Files/terms_and_conditions.html b/Html-Files/terms_and_conditions.html index e4e3463e..68cd4c0c 100644 --- a/Html-Files/terms_and_conditions.html +++ b/Html-Files/terms_and_conditions.html @@ -1104,6 +1104,7 @@
  • Patient Portal
  • +
  • Appointment
  • Doctor
  • diff --git a/checkup.html b/checkup.html index cb307ed2..82d551d1 100644 --- a/checkup.html +++ b/checkup.html @@ -72,6 +72,7 @@
  • News
  • Service
  • Patient Portal
  • +
  • Appointment
  • Doctor
  • Contact us
  • Rate Us
  • diff --git a/dex.html b/dex.html index 0c66cf46..1450fefc 100644 --- a/dex.html +++ b/dex.html @@ -337,6 +337,7 @@
  • News
  • Service
  • Patient Portal
  • +
  • Appointment
  • Doctor
  • Contact us
  • diff --git a/index.html b/index.html index c0763a26..56d7da5c 100644 --- a/index.html +++ b/index.html @@ -87,6 +87,7 @@
  • News
  • Service
  • Patient Portal
  • +
  • Appointment
  • Doctor
  • Contact us
  • Rate Us
  • diff --git a/medicine.html b/medicine.html index 8da68715..ec66f844 100644 --- a/medicine.html +++ b/medicine.html @@ -247,6 +247,7 @@
  • News
  • Service
  • Patient Portal
  • +
  • Appointment
  • Doctor
  • Contact us
  • diff --git a/news.html b/news.html index f014a977..a6c347c4 100644 --- a/news.html +++ b/news.html @@ -543,6 +543,7 @@
  • News
  • Service
  • Patient Portal
  • +
  • Appointment
  • Doctor
  • Contact us
  • Rate Us