You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So ive spent all day on this already. Im trying to make Marquee 3000 go from right to left. On a section containing icons. The html structure looks like this :
This is my javascript:
`// Enqueue the Marquee3k script
function enqueue_marquee3k_script() {
wp_enqueue_script('marquee3k', get_template_directory_uri() . '/js/marquee3k.min.js', array(), null, true);
}
add_action('wp_enqueue_scripts', 'enqueue_marquee3k_script');
// Add inline script to initialize the Marquee3k library
function add_inline_script_for_marquee() {
echo '
<script>
document.addEventListener("DOMContentLoaded", function() {
Marquee3k.init();
});
</script>
';
}
add_action('wp_footer', 'add_inline_script_for_marquee');`
I am using it in code snippets.
With the following attributes it should go from right to left. I am using marquee3k.min.js and i am using Elementor page builder.
This is the website wita.cfolks.pl , its a purple section, cant miss it, its moving.
I tried adding attributes inside the element which are:
data-speed|1
data-pausable|true
data-reverse|false
Please help
The text was updated successfully, but these errors were encountered:
The website : wita.cfolks.pl
So ive spent all day on this already. Im trying to make Marquee 3000 go from right to left. On a section containing icons. The html structure looks like this :
This is my javascript:
`// Enqueue the Marquee3k script
function enqueue_marquee3k_script() {
wp_enqueue_script('marquee3k', get_template_directory_uri() . '/js/marquee3k.min.js', array(), null, true);
}
add_action('wp_enqueue_scripts', 'enqueue_marquee3k_script');
// Add inline script to initialize the Marquee3k library
function add_inline_script_for_marquee() {
echo '
<script>
document.addEventListener("DOMContentLoaded", function() {
Marquee3k.init();
});
</script>
';
}
add_action('wp_footer', 'add_inline_script_for_marquee');`
I am using it in code snippets.
With the following attributes it should go from right to left. I am using marquee3k.min.js and i am using Elementor page builder.
This is the website wita.cfolks.pl , its a purple section, cant miss it, its moving.
I tried adding attributes inside the element which are:
data-speed|1
data-pausable|true
data-reverse|false
Please help
The text was updated successfully, but these errors were encountered: