<acidjs-xmeme
src="images/image-01.jpg"
caption-top="I don’t always play the guitar"
caption-bottom="But when I do, I do it when my hoomans are sleeping">
</acidjs-xmeme>
[/sourcecode]
The code above will render:
Attributes of the <acidjs-xmeme></acidjs-xmeme> Tag:
src
– path to the meme image (required).caption-top
– optional top caption.caption-bottom
– optional bottom caption.The current version is using HTML and CSS for rendering, but for the next I’m planning optional canvas rendering. Until then, you may check the demo and eventually download and use it. These days I am particularly interested in HTML5 Web Components, so if you share the same interest you may want to check my other experiments.
© 2006 - 2023 Martin Ivanov