guide-me / GuideMe

an interactive story viewer
MIT License
4 stars 8 forks source link

Add scriptvar="name=value" to buttons and delays #17

Closed philormand closed 9 years ago

philormand commented 9 years ago

[*]Add scriptvar="name=value" to buttons and delays. This would set scriptVar "name" to the given value creating a simple way to pass arguments to a page. Right now you have to create a javascript function and trigger it in the onclick event. Ideally you could specify multiple name=value pairs. This would make simple variable use more accessible for non-programmers.

philormand commented 9 years ago

implemented in 0.1.4

philormand commented 9 years ago

I don't think this was closed correctly

philormand commented 9 years ago

actually added it now