feat: Update composeMail function

- Move function to hippie functions
- Use vanilla instead of jQuery
- Add examples to introduction page
- Reindent
This commit is contained in:
sthag 2025-05-18 13:02:30 +02:00
parent 9fbc19388f
commit 875041bacf
3 changed files with 213 additions and 213 deletions

View file

@ -26,6 +26,8 @@ tags:
</header>
<article>
<p>&hellip;</p>
<p>Contact: <a id="special" href=""></a></p>
<p>More: <a class="general" href=""></a>, <a class="general" href=""></a></p>
</article>
</section>
{% endblock %}
@ -43,6 +45,8 @@ tags:
$(document).ready(function () {
logPerf('JQ document ready event fired.');
composeMail('special', 'me', 'domain', 'tld', 'Me', 'HIPPIE')
composeMail('.general', 'name', 'domain', 'tld', '', '')
});
$(document).scroll(function () {