Yes, I have officially released my own HTML library known as "Modular HTML" for any DM programmer to use (with at least HTML experience). It even provides Javascript interfacing for anyone interested in some Javascript convenience.
However, handcrafted Javascript can be done with the advantage of a reduced DMB footprint. This also allows people who prefer handcrafting Javascript over the provided interface (which requires a define).
Feel free to comment on any possible bugs, requests, and even feedback of what needs to be improved. Currently, there are no utility functions per se. Feel free to request for them, however.
Link: http://www.byond.com/developer/Bandock/ModularHTML
ID:115626
Jul 8 2011, 11:30 pm
A simple HTML interfacing library with Javascript interfacing functionality (if one desires).
0 fans
· Created Jul 8 2011
|
|
#2 Jul 9 2011, 1:14 pm
|
|
Yeah, using handcrafted Javascript still provides advantages over the Javascript interfacing (which requires a define for the latter anyway). I might add a define in the near future that reduces the number of quotation marks for the basic arg of the procedure (been thinking about doing the same for operator type functions).
| |
#3 Jul 9 2011, 4:18 pm
|
|
I probably would if I wanted to make a Javascript-themed library (using the same interfaces). However, thought I would merge them together (the HTML object came about when I was working on a level editor).
| |

in your DM code, then you have to have some knowledge of JavaScript. If you know JavaScript, you'd probably prefer to write the JavaScript code yourself instead of using these DM procs to generate it. That way you don't need to worry about the mess of quotation marks and the *s.