Search results

  1. coderanger

    Scripts with user interfaces

    Also if you add class='button' to your Save button it will get the normal KoL button style.
  2. coderanger

    Scripts with user interfaces

    Try this on for size void write_option(string label, string value, string current) { write("<option value='" + value + "'"); if(value == current) write(" selected"); writeln(">" + entity_encode(label) + "</option>"); } void numeric_dropdown(string pref, string fail, string message...
  3. coderanger

    Scripts with user interfaces

    Between jason's examples and mine, I would be interested to know if any of the various HTML output helpers were useful to you. Might be worth pulling some of them into an include.
  4. coderanger

    Scripts with user interfaces

    Made a little zlib settings manager as a test.
  5. coderanger

    Scripts with user interfaces

    General web programming style would be to only apply changes on POST, not GET. Currently the best you can do is check for the URL argument of the submit button.
  6. coderanger

    Scripts with user interfaces

    It would be handy if there was an ASH function to query the request method. You would have to expose it on the RelayBrowser I think (from HttpURLConnection.getRequestMethod).
Back
Top