Share your libraries with other users (Animated text - changing words)

I have tested your elements,
the 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

by ced1870

Please Log in or Create an account to join the conversation.

PS : I managed to make the 2nd effect to work :
- 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

by ced1870

Please Log in or Create an account to join the conversation.

Hi Ced,
thank 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

by Heino

Please Log in or Create an account to join the conversation.

I give you the updated element (effect 2) that you can test on your side too
this one works for me :)
www.dropbox.com/scl/fi/59yjgfuyaikjnkkf3...kzlscl7fpl3sxwy&dl=0

thank you for your time

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Hi Ced,
the 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

by Heino

Please Log in or Create an account to join the conversation.

but who or what is interpret my little javascript, that it works for me and not for you?

from 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 cases
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

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.659 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1056 guests and one member online