[new free onepage template] fhs-sectionsOP
Moderator: mikey
Re: [new free onepage template] fhs-sectionsOP
I have no problem with Chrome on a smartphone.
z-index = 9999 gives nothing.
I have not tested with other computers.
Console result:
<!-- ************************* OnePage-TopLink ************************* -->
<div>
<a id="onepage_toplink" href="#" class="onepage_hide" style="display: block;"><img src="./plugins/onepage/images/up.png" alt="Nach oben"></a>
</div>
z-index = 9999 gives nothing.
I have not tested with other computers.
Console result:
<!-- ************************* OnePage-TopLink ************************* -->
<div>
<a id="onepage_toplink" href="#" class="onepage_hide" style="display: block;"><img src="./plugins/onepage/images/up.png" alt="Nach oben"></a>
</div>
Last edited by doczimut on Mon Oct 25, 2021 2:45 pm, edited 1 time in total.
Re: [new free onepage template] fhs-sectionsOP
However, by minimizing the Windows 10 window with Firefox, the "back to top" button appears twice!
And with Chrome, it appears all the same, but not in the expected place!
See photos :
Firefox
[ external image ]
Chrome
[ external image ]
And with Chrome, it appears all the same, but not in the expected place!
See photos :
Firefox
[ external image ]
Chrome
[ external image ]
Last edited by doczimut on Mon Oct 25, 2021 2:48 pm, edited 1 time in total.
Re: [new free onepage template] fhs-sectionsOP
Then I guess I won't be able to help you any further.
It looks like something is interfering with your computer or network technology.
You should definitely test with another computer. (friends, colleagues, etc.)
Otherwise you won't believe us
Re: [new free onepage template] fhs-sectionsOP
The second button in the middle has nothing to do with the problem. This is intentional. With a viewport smaller than 801px the second button always appears.
Re: [new free onepage template] fhs-sectionsOP
Yeah.
So on your laptop, when you scroll to the bottom of the page or at least a little bit, the class="onepage_hide" doesn't change to class="onepage_show". Ok.
You could try changing that manually in the broser console to "onepage-show". Then the button should be visible in any case.
I would love to solve the problem or at least know why this is happening.
So let's summarise.
- On other devices it works and the top button is shown.
- You have a normal Windows 10 and no tools, software or filters installed that in any way affect the display of a web page or the browser.
- The antivirus programme doesn't seem to filter anything either, as you have already deactivated it for a short time, deleted the entire browser cache beforehand (Ctrl + Shift + Del) and reloaded the page several times (Ctrl + F5).
Well, if that's the case for everyone, then I don't know what to do.
Of course, you could also replace the onepage.min.js with another vanilla JS script if it doesn't work at all with the original.
The simplest solution, however, would be to remove the top link call in the template.htm and to integrate a minimal JS script instead.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“ Ludwig's XH-Templates for MultiPage & OnePage
Re: [new free onepage template] fhs-sectionsOP
By modifying the attribute, using the console, class = "onepage_hide" in class = "onepage_show" the "back to top" button appears. Scrolling the page returns the class to "onepage_hide".
Re: [new free onepage template] fhs-sectionsOP
Ok, thanks for testing!
Conclusion, something is blocking the execution of java script, that seems safe. If you still feel like it, scroll all the way down and then open the browser console to see if there are any JS errors under "Console". This should actually be the case.
Conclusion, something is blocking the execution of java script, that seems safe. If you still feel like it, scroll all the way down and then open the browser console to see if there are any JS errors under "Console". This should actually be the case.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“ Ludwig's XH-Templates for MultiPage & OnePage
Re: [new free onepage template] fhs-sectionsOP
I downloaded the fhs-sectionsOP template and tested it locally, and there the "back to top" button appears and still not on the online demo!
So I made a transfer to a server and again the button appears.
Probably different PHP versions, but I access the server by https and the demo by http.
I am expecting!
So I made a transfer to a server and again the button appears.
Probably different PHP versions, but I access the server by https and the demo by http.
I am expecting!
Re: [new free onepage template] fhs-sectionsOP
Could it be that you have a firewall active (on the machine or in the router) that prevents javascript from running on "unsafe" pages (http)?
Re: [new free onepage template] fhs-sectionsOP
Console messages for the fhs-sectionsOP template:
Problems:
A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. Starting in Chrome 101, the amount of information available in the User Agent string will be reduced.
To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData.
Note that for performance reasons, only the first access to one of the properties is shown.
(Source: index.php)
Console:
Development Tools failed to load source map: Unable to load content from http://fhseidel.de/cmsxh/fhs-sectionsOP ... min.js.map : Error HTTP : status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Problems:
A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. Starting in Chrome 101, the amount of information available in the User Agent string will be reduced.
To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData.
Note that for performance reasons, only the first access to one of the properties is shown.
(Source: index.php)
Console:
Development Tools failed to load source map: Unable to load content from http://fhseidel.de/cmsxh/fhs-sectionsOP ... min.js.map : Error HTTP : status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE