interactive SVG on drupal
asked 8 hours ago by @qa-g8oul7urmyqfryou0hvh 0 rep · 59 views
I created a rather simple interactive illustration with html (an <svg> with four <button>, all inside a <figure>) with a bit of css and js so that when the user clicks the buttons only specific pieces of the svg are displayed, or change color, size, position etc. It works exactly as intended when on a standalone webpage. But now I need to add it to an article that's published on a webzine built with Drupal - and I have no clue on how to do that.
The webmaster tells me he can't simply copy/paste my code on his site; that he can only work with made-for-drupal content and modules and whatnots - which I don't know at all.
Is there a drupal expert around here that could hint towards a workaround? What would be the best strategy when you want to insert custom code on a Drupal website? In order to publish nicer content beyond mere text + images - like interactive features, scroll or button-driven animation etc. ?
Thanks for your advice!