Hello,
Have you tried declaring the images when initialising the functions?
What's more, you don't need overall_header_head_append.html, the overall_footer_body_after.html file is all you need:And in the bug.min.js file, you declare empty variables for the options (x2):Perhaps you could also use
Have you tried declaring the images when initialising the functions?
What's more, you don't need overall_header_head_append.html, the overall_footer_body_after.html file is all you need:
Code:
{% if S_INDEX %}{% INCLUDEJS '@hifikabin_aprilfools/bug-min.js' %}<script>// default fruit fly bug:new BugController({'imageSprite': '{{ ROOT_PATH }}ext/hifikabin/aprilfools/styles/prosilver/theme/images/fly-sprite.png'});// default spiders:new SpiderController({'imageSprite': '{{ ROOT_PATH }}ext/hifikabin/aprilfools/styles/prosilver/theme/images/spider-sprite.png'});</script>{% endif %}
Code:
imageSprite: "",
all/
instead of /prosilver
?Statistics: Posted by cabot — Fri Feb 16, 2024 10:28 am