Share your libraries with other users (Animated text - changing words)
Replied by ced1870 on topic Share your libraries with other users (Animated text - changing words)
Posted 7 months 1 week ago #69480the first one works but the words are not changing , only beautiful is blinking
the second one has js errors, even ater fixing them it does not work
tested on localhost, with joomla 4 and PBCK 3.0.0
but the idea is great !
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Share your libraries with other users (Animated text - changing words)
Posted 7 months 1 week ago #69481- needed to add <span class="word">text</span> in the text area
(I think that it was empty and then cleared by the editor)
- needed to replace $ with jQuery
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Replied by Heino on topic Share your libraries with other users (Animated text - changing words)
Posted 7 months 6 days ago #69574thank you for your sympathy!
As a programmer, I obviously fall out.
Maybe not, I love such little specials, but the many stumbling blocks....
In this case, the user's JCE editor could already unintentionally change the HTML part when opening or saving, that's all awkward. You don't want to have anything to do with that
Regards,
Heino
Page Builder CK Pro v3 +++ Template Creator Pro v5 +++ Tiny MCE +++ JCE
Browser: Iridium (Chrome) +++ Waterfox (Mozilla)
Joomla! v5 +++ php v8.2.12 +++ mysql v8.0.35
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Share your libraries with other users (Animated text - changing words)
Posted 7 months 2 days ago #69628this one works for me
www.dropbox.com/scl/fi/59yjgfuyaikjnkkf3...kzlscl7fpl3sxwy&dl=0
thank you for your time
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Replied by Heino on topic Share your libraries with other users (Animated text - changing words)
Posted 7 months 2 days ago #69630the Element from you is working well on my 2 test servers!
If I export and import my originals it works for me too.
I have seen your little changes,
but who or what is interpret my little javascript, that it works for me and not for you?
Then you changed it and now it works for both of us...
Is there a newer or older version of something?
...so, the small script is finished and can be put to "the files".
Or someone uses it
PS: I like more the fading/bluring of 1. Element,
here is the original code that I used.
[url] github.com/30-seconds/30-seconds-of-code.../alternating-text.md [/url]
Have a nice evening!
Regards,
Heino
Page Builder CK Pro v3 +++ Template Creator Pro v5 +++ Tiny MCE +++ JCE
Browser: Iridium (Chrome) +++ Waterfox (Mozilla)
Joomla! v5 +++ php v8.2.12 +++ mysql v8.0.35
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Share your libraries with other users (Animated text - changing words)
Posted 7 months 2 days ago #69631from my experience of developer, I can tell you that there are many many variations of environments (server, site, extensions) and you can never be sure that something works in all casesbut who or what is interpret my little javascript, that it works for me and not for you?
in your case, something has already declared the variable $ as a shortcut of jQuery (a script for another extension may be), that is why it works
if you want you can replace your effect 2 with my files, so that your message contains the 2 working solutions
have a nice evening too !
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.