Pulled from SS13:
function selectTextField(){
var filter_text = document.getElementById('search');
filter_text.focus();
filter_text.select();
}
<body onkeyup='Search()'>
I'm having fun modifying this up, this is nice and neat stuff.
Administrative Create/Edit - HTML Style |
|
You can SEARCH for what you want! :) [More] |
To download this demo for your Linux/Mac installation, enter this on your command line:
DreamDownload byond://GhostAnime.GA_html2##version=1 Emulator users, in the BYOND pager go to File | Open Location and enter this URL:byond://GhostAnime.GA_html2##version=1 |
Please read the README section in the IMPORTANT.dm first!
Tired of looking through inputs or html for a specific item through a huge list when creating an object or upon editing? This is your typical create/edit system... but different in that you are are able to search for the item/variable you want!! Give credit where due if possible :) You will need to read the IMPORTANT.dm first, this includes changes you must make in order for it to work! ---------------------------------------- What's new in 1.10: - Variables in the list have their values updated in the main page after editing -- The 'forceful' "UPDATE VARIABLES" link only appears in the edit if DEBUG is enabled. - You are now able to change a value in a /list (tested as much as possible but issues may still arrise. Avoid if possible). - Unsavable variables (global, cnst, tmp) are now defined as the class unsavable and, for savable variables, it's savable -- Can be used to differentiate the variables from others (as seen in the default CSS below) - Made it easier to either hide a variable from being displayed or disable the variable while showing its variable. - You can have defined values appearing for specific variables |
Jittai: (Jul 28 2014, 1:02 pm)
Reminded me of SS13's variable verb, but SS13's search bar has onkey filtering which is really nice imo.
Pulled from SS13: function selectTextField(){
<body onkeyup='Search()'>
I'm having fun modifying this up, this is nice and neat stuff. GhostAnime: (Jul 28 2014, 10:43 am)
Will do.
Zagros5000: (Jul 28 2014, 8:54 am)
could you add a way to log which variable has been changed?
I2edSmok3: (Jul 25 2014, 9:57 am)
Sounds Great! Might start using this, on a project I'm making of boxing.
|
Have fun modifying :)