Radio Buttons

Next
 From:  bemfarmer
10656.1 
Is it possible to do Radio Buttons? (In a script?)
Buttons that look like a group of (round) checkboxes, but only one selection is active.
Would these be essentially like the Build Menu, as in LineWeb? But all selections showing at once? (Of which only one is active.)
Maybe just modify Build menu a little?

https://www.javascripttutorial.net/javascript-dom/javascript-radio-button/

- Brian

Maybe the build menu satisfies the needs as is.

EDITED: 15 Apr 2022 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
10656.2 In reply to 10656.1 
Hi Brian, MoI's regular UI doesn't happen to use a radio button anywhere so there isn't a predefined control for it.

The reason it's not been used is that it tends to take up a lot of space. What is used instead is a drop-down control which also allows for one active option showing out of a set.

The drop-down is a <select> control, and yes the Build option in LineWeb.htm is one example.

But it is certainly possible to cook up a radio button using some HTML and script, let me know if you want me to make an example for that.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  bemfarmer
10656.3 In reply to 10656.2 
Hi Michael,
Thank you for responding.

Space is a premium, so a Build dropdown menu will work fine, for selecting the type of Braid weave to create.
(The CheckBox method is not appropriate for the script modification.)

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All