{"id":221,"date":"2025-06-03T10:31:34","date_gmt":"2025-06-03T10:31:34","guid":{"rendered":"https:\/\/christianorgaz.eu\/?p=221"},"modified":"2025-06-03T10:31:34","modified_gmt":"2025-06-03T10:31:34","slug":"prueba","status":"publish","type":"post","link":"https:\/\/christianorgaz.eu\/index.php\/2025\/06\/03\/prueba\/","title":{"rendered":"Prueba"},"content":{"rendered":"\n<style>\n  table {\n    width: 100%;\n    border-collapse: collapse;\n    margin-top: 1em;\n  }\n  th, td {\n    border: 1px solid #ccc;\n    padding: 8px;\n    text-align: left;\n  }\n  th {\n    background-color: #f4f4f4;\n  }\n  input, select {\n    margin: 0.5em 0;\n    padding: 0.4em;\n  }\n<\/style>\n\n<input type=\"text\" id=\"searchInput\" placeholder=\"Buscar...\">\n<select id=\"temaFilter\">\n  <option value=\"\">Todos<\/option>\n  <option value=\"Did\u00e1ctica\">Did\u00e1ctica<\/option>\n  <option value=\"Educaci\u00f3n emocional\">Educaci\u00f3n emocional<\/option>\n  <option value=\"Filosof\u00eda de la educaci\u00f3n\">Filosof\u00eda de la educaci\u00f3n<\/option>\n  <option value=\"Infantil\">Infantil<\/option>\n  <option value=\"Pol\u00edtica educativa\">Pol\u00edtica educativa<\/option>\n  <option value=\"Sociolog\u00eda de la educaci\u00f3n\">Sociolog\u00eda de la educaci\u00f3n<\/option>\n<\/select>\n\n<table id=\"librosTable\">\n  <thead>\n    <tr>\n      <th>Autor<\/th>\n      <th>T\u00edtulo<\/th>\n      <th>Tema<\/th>\n    <\/tr>\n  <\/thead>\n  <tbody>\n    <tr data-tema=\"Sociolog\u00eda de la educaci\u00f3n\">\n        <td>De Miguel, Mario<\/td>\n        <td><a href=\"https:\/\/drive.google.com\/file\/d\/1XnBL97h4e6KxFkZXN_YMoLMUzz-r7rGk\/view?usp=sharing\" target=\"_blank\">Metodolog\u00eda de la investigaci\u00f3n educativa<\/a><\/td>\n        <td>Sociolog\u00eda de la educaci\u00f3n<\/td>\n    <\/tr>\n    <tr data-tema=\"Infantil\">\n        <td>Piaget, Jean<\/td>\n        <td><a href=\"https:\/\/drive.google.com\/file\/d\/1FjB2iS6XZUV_ZcRZX5KcHEk4Z1xPHNwr\/view?usp=sharing\" target=\"_blank\">El juicio moral en el ni\u00f1o<\/a><\/td>\n        <td>Infantil<\/td>\n    <\/tr>\n    <tr data-tema=\"Educaci\u00f3n emocional\">\n        <td>Bisquerra, Rafael<\/td>\n        <td><a href=\"https:\/\/drive.google.com\/file\/d\/1LBJt4LEer2tW7qWzqDDZlAodcwrVUg7B\/view?usp=sharing\" target=\"_blank\">Educaci\u00f3n emocional y bienestar<\/a><\/td>\n        <td>Educaci\u00f3n emocional<\/td>\n    <\/tr>\n    <tr data-tema=\"Filosof\u00eda de la educaci\u00f3n\">\n        <td>Freire, Paulo<\/td>\n        <td><a href=\"https:\/\/drive.google.com\/file\/d\/1XX3FdFqrdpsr1ED3RCFlbfC1hG9Fni8-\/view?usp=sharing\" target=\"_blank\">Pedagog\u00eda del oprimido<\/a><\/td>\n        <td>Filosof\u00eda de la educaci\u00f3n<\/td>\n    <\/tr>\n    <tr data-tema=\"Pol\u00edtica educativa\">\n        <td>Fern\u00e1ndez Enguita, Mariano<\/td>\n        <td><a href=\"https:\/\/drive.google.com\/file\/d\/1jpxvOY2oT13ucdGCOx9csVcdDUj7zXSu\/view?usp=sharing\" target=\"_blank\">La educaci\u00f3n en la encrucijada<\/a><\/td>\n        <td>Pol\u00edtica educativa<\/td>\n    <\/tr>\n    <tr data-tema=\"Did\u00e1ctica\">\n        <td>Coll, C\u00e9sar<\/td>\n        <td><a href=\"https:\/\/drive.google.com\/file\/d\/1M1qgVryBrXRYCNm_zLZRC5YElZmbkT1K\/view?usp=sharing\" target=\"_blank\">Psicolog\u00eda de la educaci\u00f3n y pr\u00e1ctica educativa<\/a><\/td>\n        <td>Did\u00e1ctica<\/td>\n    <\/tr>\n  <\/tbody>\n<\/table>\n\n<script>\n  const searchInput = document.getElementById('searchInput');\n  const temaFilter = document.getElementById('temaFilter');\n  const table = document.getElementById('librosTable');\n  const rows = table.getElementsByTagName('tbody')[0].getElementsByTagName('tr');\n\n  function filtrarTabla() {\n    const texto = searchInput.value.toLowerCase();\n    const tema = temaFilter.value;\n    for (let row of rows) {\n      const autor = row.cells[0].textContent.toLowerCase();\n      const titulo = row.cells[1].textContent.toLowerCase();\n      const rowTema = row.getAttribute('data-tema');\n      const coincideTexto = autor.includes(texto) || titulo.includes(texto);\n      const coincideTema = !tema || rowTema === tema;\n      row.style.display = (coincideTexto && coincideTema) ? '' : 'none';\n    }\n  }\n\n  searchInput.addEventListener('input', filtrarTabla);\n  temaFilter.addEventListener('change', filtrarTabla);\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>TodosDid\u00e1cticaEducaci\u00f3n emocionalFilosof\u00eda de la educaci\u00f3nInfantilPol\u00edtica educativaSociolog\u00eda de la educaci\u00f3n Autor T\u00edtulo Tema De Miguel, Mario Metodolog\u00eda de la investigaci\u00f3n educativa Sociolog\u00eda de la educaci\u00f3n Piaget, Jean El juicio moral en el ni\u00f1o Infantil Bisquerra, Rafael Educaci\u00f3n emocional y bienestar Educaci\u00f3n emocional Freire, Paulo Pedagog\u00eda del oprimido Filosof\u00eda de la educaci\u00f3n Fern\u00e1ndez Enguita, Mariano La educaci\u00f3n&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-221","post","type-post","status-publish","format-standard","hentry","category-sin-categoria"],"_links":{"self":[{"href":"https:\/\/christianorgaz.eu\/index.php\/wp-json\/wp\/v2\/posts\/221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/christianorgaz.eu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/christianorgaz.eu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/christianorgaz.eu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/christianorgaz.eu\/index.php\/wp-json\/wp\/v2\/comments?post=221"}],"version-history":[{"count":1,"href":"https:\/\/christianorgaz.eu\/index.php\/wp-json\/wp\/v2\/posts\/221\/revisions"}],"predecessor-version":[{"id":222,"href":"https:\/\/christianorgaz.eu\/index.php\/wp-json\/wp\/v2\/posts\/221\/revisions\/222"}],"wp:attachment":[{"href":"https:\/\/christianorgaz.eu\/index.php\/wp-json\/wp\/v2\/media?parent=221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/christianorgaz.eu\/index.php\/wp-json\/wp\/v2\/categories?post=221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/christianorgaz.eu\/index.php\/wp-json\/wp\/v2\/tags?post=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}