Page 6 of 8

Re: [new free onepage template] fhs-sectionsOP

Posted: Wed Oct 27, 2021 5:48 pm
by doczimut
I put jquery.onepage.js back as originally. Enabled Migrate and Autoload, I no longer see the cited error messages in the Chrome console.

Re: [new free onepage template] fhs-sectionsOP

Posted: Wed Oct 27, 2021 5:51 pm
by frase
lck wrote:
Wed Oct 27, 2021 5:46 pm
Ist das so in Ordnung, dass der Funktionsaufruf außerhalb von html steht?
Ja, das ist so gewollt (Olaf: cnc-Patch).
Wird allerdings nur für CnC benötigt. Schadet aber in keinem Fall.

Re: [new free onepage template] fhs-sectionsOP

Posted: Wed Oct 27, 2021 5:52 pm
by lck
doczimut wrote:
Wed Oct 27, 2021 5:48 pm
I put jquery.onepage.js back as originally. Enabled Migrate and Autoload, I no longer see the cited error messages in the Chrome console.
👍🏻 All seems well then, doesn't it?
We were not able to solve the actual problem with Christoph's onepage.js version (cmb), but an alternative is not bad either!

Re: [new free onepage template] fhs-sectionsOP

Posted: Wed Oct 27, 2021 5:53 pm
by lck
frase wrote:
Wed Oct 27, 2021 5:51 pm
lck wrote:
Wed Oct 27, 2021 5:46 pm
Ist das so in Ordnung, dass der Funktionsaufruf außerhalb von html steht?
Ja, das ist so gewollt (Olaf: cnc-Patch).
Wird allerdings nur für CnC benötigt. Schadet aber in keinem Fall.
Ok, alles klar.

Re: [new free onepage template] fhs-sectionsOP

Posted: Thu Oct 28, 2021 6:30 pm
by lck
@Frank: Warum wird beim Webseitenlogo auf ./index.php verlinkt? Hat das einen Hintergrund?

Code: Select all

<a href="./index.php" class="homeLink"><img src="<?=$pth['folder']['templateimages'] . $headerLogo?>" alt="<?=$headerLogoAltText?>"></a>

Re: [new free onepage template] fhs-sectionsOP

Posted: Thu Oct 28, 2021 6:34 pm
by lck
@doczimut
Please try this demo. This is with the original onepage.min.js from Onepage_XH only with an extension of the function masterElement.scrollTop. Does the scroll-to-top button appear here?

Re: [new free onepage template] fhs-sectionsOP

Posted: Fri Oct 29, 2021 4:28 am
by doczimut
Yes, the button appears for Chrome, Opera Edge. In the Chrome console: class = "onepage_show".
But for these 3 browsers, 1 click on the button does not go up.
So the button appears fine, but the click is inoperative!

Button and click ok for Firefox.

Re: [new free onepage template] fhs-sectionsOP

Posted: Fri Oct 29, 2021 9:16 am
by doczimut
In the Chrome console:
If I change the attribute href="#" to href="#TOP", it works, but only once and after button inoperative.
Then if I change the attribute href="#TOP" by href="#", it works, but only once and after button inoperative.

Re: [new free onepage template] fhs-sectionsOP

Posted: Fri Oct 29, 2021 10:00 am
by frase
lck wrote:
Thu Oct 28, 2021 6:30 pm
@Frank: Warum wird beim Webseitenlogo auf ./index.php verlinkt? Hat das einen Hintergrund?

Code: Select all

<a href="./index.php" class="homeLink"><img src="<?=$pth['folder']['templateimages'] . $headerLogo?>" alt="<?=$headerLogoAltText?>"></a>
Ja, damit wollte ich prüfen ob das Licht wirklich ausgeht, wenn ich die Kühlschranktür schließe - ähm, ob das Plugin "Adc" index.php wirklich entfernt ;-)
Tatsächlich verlinke ich sonst dort immer auf "./".
Aber, vielleicht macht das ja den Einen oder Anderen darauf aufmerksam, dass er etwas gegen DC tun muss!

Re: [new free onepage template] fhs-sectionsOP

Posted: Fri Oct 29, 2021 10:10 am
by lck
doczimut wrote:
Fri Oct 29, 2021 9:16 am
In the Chrome console:
If I change the attribute href="#" to href="#TOP", it works, but only once and after button inoperative.
Then if I change the attribute href="#TOP" by href="#", it works, but only once and after button inoperative.
Good. Last test, changed something again. Then I can't think of anything else.