Changeset 3269601
- Timestamp:
- 04/09/2025 10:55:22 AM (12 months ago)
- Location:
- topirank-integration
- Files:
-
- 32 added
- 5 edited
-
tags/1.1.5 (added)
-
tags/1.1.5/admin (added)
-
tags/1.1.5/admin/admin-page.php (added)
-
tags/1.1.5/admin/menu.php (added)
-
tags/1.1.5/assets (added)
-
tags/1.1.5/assets/css (added)
-
tags/1.1.5/assets/css/topirank-admin-style.css (added)
-
tags/1.1.5/assets/css/topirank-editor-style.css (added)
-
tags/1.1.5/assets/css/topirank-normalize.css (added)
-
tags/1.1.5/assets/css/topirank-post-admin-style.css (added)
-
tags/1.1.5/assets/js (added)
-
tags/1.1.5/assets/js/topirank-admin-scripts.js (added)
-
tags/1.1.5/assets/js/topirank-normalize.js (added)
-
tags/1.1.5/includes (added)
-
tags/1.1.5/includes/api-integration.php (added)
-
tags/1.1.5/includes/create-template.php (added)
-
tags/1.1.5/includes/extract-and-create.php (added)
-
tags/1.1.5/includes/file-upload.php (added)
-
tags/1.1.5/includes/helpers.php (added)
-
tags/1.1.5/includes/init.php (added)
-
tags/1.1.5/includes/process-folders.php (added)
-
tags/1.1.5/includes/register-files.php (added)
-
tags/1.1.5/includes/resource-cleaner.php (added)
-
tags/1.1.5/includes/topirank-template.php (added)
-
tags/1.1.5/includes/update-content-and-seo.php (added)
-
tags/1.1.5/includes/update-functionality.php (added)
-
tags/1.1.5/languages (added)
-
tags/1.1.5/languages/topirank-integration-fr_FR.mo (added)
-
tags/1.1.5/languages/topirank-integration-fr_FR.po (added)
-
tags/1.1.5/languages/topirank-integration.pot (added)
-
tags/1.1.5/readme.txt (added)
-
tags/1.1.5/topirank-integration.php (added)
-
trunk/assets/css/topirank-normalize.css (modified) (2 diffs)
-
trunk/assets/js/topirank-normalize.js (modified) (2 diffs)
-
trunk/includes/register-files.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/topirank-integration.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
topirank-integration/trunk/assets/css/topirank-normalize.css
r3268778 r3269601 9 9 10 10 #__next { 11 position: absolute;12 11 width: 100%; 13 12 left: 0; … … 107 106 108 107 .topirank-styles table { 109 display: inline-table !important;110 108 border-width: 0; 111 109 } -
topirank-integration/trunk/assets/js/topirank-normalize.js
r3268778 r3269601 1 document.addEventListener("DOMContentLoaded", function () {2 var nextElement = document.getElementById("__next");3 var templateElement = document.querySelector(".optimized-topirank-template");4 5 if (nextElement && templateElement) {6 function updateTemplateHeight() {7 templateElement.style.height = nextElement.offsetHeight + "px";8 }9 10 updateTemplateHeight();11 12 var resizeObserver = new ResizeObserver(function () {13 updateTemplateHeight();14 });15 16 resizeObserver.observe(nextElement);17 }18 19 });20 21 1 document.addEventListener("DOMContentLoaded", function () { 22 2 const progressBar = document.querySelector(".first-progress-bar-default"); … … 29 9 30 10 31 window.addEventListener("load", () => {32 const content = document.querySelector(".optimized-topirank-template");33 if (!content) return;34 35 const headerRoot = document.querySelector("header") || document.querySelector('[data-elementor-type="header"]');36 if (!headerRoot) return;37 38 const allHeaderElements = [headerRoot, ...headerRoot.querySelectorAll("*")];39 const fixedEl = allHeaderElements.find(el => getComputedStyle(el).position === "fixed");40 41 if (!fixedEl) return;42 43 requestAnimationFrame(() => {44 const headerOffsetTop = fixedEl.getBoundingClientRect().top + window.scrollY;45 const headerHeight = fixedEl.offsetHeight;46 const progressBar = document.querySelector(".first-progress-bar-default");47 const progressBarHeight = progressBar ? progressBar.offsetHeight : 0;48 49 const totalOffset = headerOffsetTop + headerHeight - progressBarHeight;50 51 const contentTop = content.getBoundingClientRect().top + window.scrollY;52 53 if (contentTop < totalOffset + 10) {54 content.style.paddingTop = `${totalOffset}px`;55 }56 });57 });58 11 59 12 -
topirank-integration/trunk/includes/register-files.php
r3268778 r3269601 152 152 'topirank-archive-page-js-' . sanitize_title($file_name), 153 153 $js_url . '/page-js/' . basename($js_file), 154 [ ],154 ['set-height-js'], 155 155 time(), 156 156 true -
topirank-integration/trunk/readme.txt
r3268778 r3269601 4 4 Requires at least: 6.0 5 5 Tested up to: 6.7.2 6 Stable tag: 1.1. 46 Stable tag: 1.1.5 7 7 Requires PHP: 7.3 8 8 License: GPLv2 or later … … 57 57 58 58 == Changelog == 59 60 = 1.1.5 = 61 * Bug fixing. 59 62 60 63 = 1.1.4 = -
topirank-integration/trunk/topirank-integration.php
r3268778 r3269601 3 3 Plugin Name: Topirank Integration 4 4 Description: Plugin for parsing pages 5 Version: 1.1. 45 Version: 1.1.5 6 6 Author: Topirank 7 7 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.