[new free onepage template] fhs-sectionsOP

Please post the URLs to pages, where you've made a CMSimple template available for download

Moderator: mikey

doczimut
Posts: 126
Joined: Thu Dec 25, 2008 1:10 pm
Location: Normandy (France)

Re: [new free onepage template] fhs-sectionsOP

Post by doczimut » Mon Oct 25, 2021 2:30 pm

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>
Last edited by doczimut on Mon Oct 25, 2021 2:45 pm, edited 1 time in total.

doczimut
Posts: 126
Joined: Thu Dec 25, 2008 1:10 pm
Location: Normandy (France)

Re: [new free onepage template] fhs-sectionsOP

Post by doczimut » Mon Oct 25, 2021 2:39 pm

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 ]
Last edited by doczimut on Mon Oct 25, 2021 2:48 pm, edited 1 time in total.

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: [new free onepage template] fhs-sectionsOP

Post by frase » Mon Oct 25, 2021 2:44 pm

doczimut wrote:
Mon Oct 25, 2021 2:28 pm
Persistent concern with test-op.
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.
doczimut wrote:
Mon Oct 25, 2021 2:30 pm
I have not tested with other computers.
You should definitely test with another computer. (friends, colleagues, etc.)
Otherwise you won't believe us ;-)

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: [new free onepage template] fhs-sectionsOP

Post by frase » Mon Oct 25, 2021 2:56 pm

doczimut wrote:
Mon Oct 25, 2021 2:39 pm
However, by minimizing the Windows 10 window with Firefox, the "back to top" button appears twice!
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.

lck
Posts: 2963
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: [new free onepage template] fhs-sectionsOP

Post by lck » Tue Oct 26, 2021 5:26 pm

frase wrote:
Mon Oct 25, 2021 2:44 pm
It looks like something is interfering with your computer or network technology.
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

doczimut
Posts: 126
Joined: Thu Dec 25, 2008 1:10 pm
Location: Normandy (France)

Re: [new free onepage template] fhs-sectionsOP

Post by doczimut » Wed Oct 27, 2021 9:42 am

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".

lck
Posts: 2963
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: [new free onepage template] fhs-sectionsOP

Post by lck » Wed Oct 27, 2021 10:19 am

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.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

doczimut
Posts: 126
Joined: Thu Dec 25, 2008 1:10 pm
Location: Normandy (France)

Re: [new free onepage template] fhs-sectionsOP

Post by doczimut » Wed Oct 27, 2021 10:26 am

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!

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: [new free onepage template] fhs-sectionsOP

Post by frase » Wed Oct 27, 2021 10:33 am

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)?

doczimut
Posts: 126
Joined: Thu Dec 25, 2008 1:10 pm
Location: Normandy (France)

Re: [new free onepage template] fhs-sectionsOP

Post by doczimut » Wed Oct 27, 2021 10:40 am

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

Post Reply