[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 » 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.

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

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 5:52 pm

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

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 5:53 pm

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

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

Re: [new free onepage template] fhs-sectionsOP

Post by lck » 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>
Last edited by lck on Thu Oct 28, 2021 6:35 pm, edited 1 time in total.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

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

Re: [new free onepage template] fhs-sectionsOP

Post by lck » Thu Oct 28, 2021 6:34 pm

@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?
Last edited by lck on Fri Oct 29, 2021 10:14 am, edited 1 time in total.
„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 » Fri Oct 29, 2021 4:28 am

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.

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

Re: [new free onepage template] fhs-sectionsOP

Post by doczimut » 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.

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

Re: [new free onepage template] fhs-sectionsOP

Post by frase » Fri Oct 29, 2021 10:00 am

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!

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

Re: [new free onepage template] fhs-sectionsOP

Post by lck » Fri Oct 29, 2021 10:10 am

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

Post Reply