Miscellaneous > The Sallyport

Feature request - automatic "info window" for common terms

<< < (2/3) > >>

Sir Edward:
Since that jQuery part looks pretty easy to implement to make the actual pop-ups, I'm now looking into the code to see what it would take to automatically add them for a variety of words. The path of least resistance might be to just hard-code an array that contains the words and definitions.

Maybe we should start coming up with a specific list of words to have definitions for?

Some examples:

Swordsmanship groups or genres:  VAF, NYHFA, MEMAG, MASHS, ARMA, SCA, WMA/HEMA, JSA

Sword moves:  swerchau, oberhau, zornhau, unterhau

Renfaires:  MDRF, VARF, CRF, NCRF, PARF

Perhaps even some types of swords, sword parts, armor terms like tassets, coif, and gorget.

KC

Sir Edward:

Cool, I think that's working.

Sir William:
It IS working...I was like wth is going on lol

Sir James A:
Ah, fantastic Sir Edward! Exactly what I had in mind. We could add "SCA" and "HEMA" to the list, I can't think of any others off the top of my head. Thanks!

Sir Edward:

--- Quote from: James Anderson III on 2011-03-23, 17:59:43 ---Ah, fantastic Sir Edward! Exactly what I had in mind. We could add "SCA" and "HEMA" to the list, I can't think of any others off the top of my head. Thanks!

--- End quote ---

They were some of the first ones I added. :)

This worked out pretty well. I borrowed a little of the substitution code from the mod for the forum's 2.0 release (we'll be able to use the real mod once 2.0 goes stable), but otherwise it's some simplistic custom stuff. It worked better than I thought it would.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version