CSS Marquee and Jekyll&Hyde issue

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

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

Re: CSS Marquee and Jekyll&Hyde issue

Post by lck » Mon Oct 21, 2024 5:37 pm

Tata wrote:
Mon Oct 21, 2024 3:10 pm
This won't help either. The shown sentence will be e.g. 3x60 characters, so the restat-gap will be the same.
It is only a possible workaround. For long texts, three or five times in a row may be enough. The average time a user spends on a page is 10 to 40 seconds. I don't see any other option for the plugin at the moment.
As I said, there may be a JS script or other CSS marquee that can do this. But you can't do it without tricks.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

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

Re: CSS Marquee and Jekyll&Hyde issue

Post by lck » Tue Oct 22, 2024 12:52 pm

lck wrote:
Mon Oct 21, 2024 5:37 pm
As I said, there may be a JS script or other CSS marquee that can do this. But you can't do it without tricks.
That would be what we are looking for. JavaScript Marquee/Scrollable Text #4
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

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

Re: CSS Marquee and Jekyll&Hyde issue

Post by lck » Wed Oct 23, 2024 5:57 pm

lck wrote:
Tue Oct 22, 2024 12:52 pm
lck wrote:
Mon Oct 21, 2024 5:37 pm
As I said, there may be a JS script or other CSS marquee that can do this. But you can't do it without tricks.
That would be what we are looking for. JavaScript Marquee/Scrollable Text #4
[en]
I have used it to create a customized addon. The zip file contains installation instructions and all the necessary files, including a sample text for the Marquee.
You also need Olaf's plugin SINC_XH (*a great plugin, simplifies a lot).

[de]
Ich habe damit mal ein angepasstes Addon erstellt. In der Zip-Datei sind eine Installationsanleitung und alle benötigten Dateien, auch ein Beispiel-Text für das Marquee ist dabei.
Benötigt wird hierzu auch Olaf's Plugin SINC_XH (*ein tolles Plugin, vereinfacht vieles).
 
lck_jsMarquee_files.zip
You do not have the required permissions to view the files attached to this post.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Korvell
Posts: 98
Joined: Thu May 22, 2008 10:33 pm

Re: CSS Marquee and Jekyll&Hyde issue

Post by Korvell » Sat Oct 26, 2024 3:22 pm

Wow - so cool that "new plugin" :) - working just fine.
One question though - how to only show it on first page? I think to recall I have used a way to check for a variable in one of my older site's template, but can't find it now... Never mind - found it :)
Last edited by Korvell on Sat Oct 26, 2024 5:49 pm, edited 1 time in total.

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

Re: CSS Marquee and Jekyll&Hyde issue

Post by lck » Sat Oct 26, 2024 5:47 pm

Korvell wrote:
Sat Oct 26, 2024 3:22 pm
Wow - so cool that "new plugin" - working just fine.
Thanks a lot!
Korvell wrote:
Sat Oct 26, 2024 3:22 pm
One question though - how to only show it on first page?
The easiest way is probably via CSS.
Add to stylesheet.css at the end

Code: Select all

#lck_jsMarquee {
    display: none;
}
and to startpage.css at the end

Code: Select all

#lck_jsMarquee {
    display: flex;
}
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Korvell
Posts: 98
Joined: Thu May 22, 2008 10:33 pm

Re: CSS Marquee and Jekyll&Hyde issue

Post by Korvell » Sat Oct 26, 2024 5:51 pm

Thanks Ludwig - I found a solution before I read your answer ;) - but still lots of thanks for the help :)

Post Reply