# Wanted: textHTML links that trigger function instead of call URL

**URL:** <https://forum.kirupa.com/t/wanted-texthtml-links-that-trigger-function-instead-of-call-url/318338>\
**Category:** Uncategorized\
**Created:** [January 17, 2011, 4:43pm UTC](https://forum.kirupa.com/t/wanted-texthtml-links-that-trigger-function-instead-of-call-url/318338 "2011-01-17T16:43:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![screeg](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@screeg](https://forum.kirupa.com/u/screeg)\
**Post date:** [January 17, 2011, 4:43pm UTC](https://forum.kirupa.com/t/wanted-texthtml-links-that-trigger-function-instead-of-call-url/318338/1 "2011-01-17T16:43:11Z")

</div>

I’m working on a game with text adventure-style navigation, and I’d like to be able to add links to text which would trigger a function (moving the player to a new location) instead of calling a URL. Is there a way to do this without getting into callURL, loaders and XML?

If you can help me, or point to a thread where this has been done, [COLOR=Red]Thanks much![/COLOR]

I always try searching first, but in this case most people are trying much more ambitious methods.
