💡📝Bob Greenwade wrote on Fri, Oct 13, 2023 06:00 PM UTC:
Now getting a look at the DirList function, and confirming that I understand everything (which is unlikely, as this is my first time working with Javascript).
I started with <script type="text/javascript">, followed by the variable declarations for theme, lDef, dDef, wDef, bDef, and def; then copied the entire DirList function. I changed the root and list variables to /membergraphics/ and MSdealerschess/ respectively, and also changed the graphicsDir reference later in the listing.
I'm not sure what to do with the if(type == lines near the end: edit, remove, or leave alone? (Right now it's the last.)
It's not in the dialog yet; for now, I just have it in a word processing file.
I'm also still a bit unsure about the Berserker move; I may delete it from the "established" list.
Now getting a look at the DirList function, and confirming that I understand everything (which is unlikely, as this is my first time working with Javascript).
I started with
<script type="text/javascript">
, followed by the variable declarations fortheme, lDef, dDef, wDef, bDef
, anddef
; then copied the entire DirList function. I changed theroot
andlist
variables to/membergraphics/
andMSdealerschess/
respectively, and also changed the graphicsDir reference later in the listing.I'm not sure what to do with the
if(type ==
lines near the end: edit, remove, or leave alone? (Right now it's the last.)It's not in the dialog yet; for now, I just have it in a word processing file.
I'm also still a bit unsure about the Berserker move; I may delete it from the "established" list.