Mabinogi World Wiki is brought to you by Coty C., 808idiotz, our other patrons, and contributors like you!!
Want to make the wiki better? Contribute towards getting larger projects done on our Patreon!

Mouseover box inline behavior

Fragment of a discussion from User talk:Kadalyn
Jump to: navigation, search

OTL the more I look into just how many places used mouseoverbox, the less sure I am of whether that edit in that template just created even more tech debt :'(... Something seems to behave a bit poorly in the abbr template as well, I first noticed it in the image policy section Mabinogi_World_Wiki:Policy#Images where there's a multi-line value being passed in for the contents. The contents (with the exception of the first line, which seems to have just disappeared) are just appearing on the page without hovering over the trigger, and the rest of the paragraph looks a bit off.

I noticed that the abbr template was wrapping the mouseoverbox template in some span elements, just like the daily sm template did, but I'm stumped on if the behavior can be fixed by similarly editing abbr, because just switching those elements from spans to divs (and then maybe styling it with display:inline or something so it's not a big ol' wide block) comes with its own set of issues. The trigger shows up in the html dom so hypothetically, it should be somewhere on the page, but it doesn't actually seem to be displaying anywhere :s I'm not too familiar with what else is going on with mouseoverbox's logic, I'm assuming there's some javascript magic somewhere that I don't know about, but I figured I'd just share yet another finding I stumbled upon 😢

Starshine321 (talk)14:51, 11 January 2021