Editing Doom Wiki talk:Gadget (section) From DoomWiki.org Warning: You are not logged in. Your IP address will be recorded in this page's edit history. Anti-spam check. Do not fill this in! ==Lightbox Gadget== I have coded up a gadget that replaces the default behavior of the "Enlarge" button (which you may note is now visible in Monaco - I wasn't including the proper styles for it previously even though it was there in the markup already) with a modal lightbox. I am going to be testing this; note that it will be, like all gadgets, strictly optional, as they can be turned off in user preferences. This also has a real advantage over the php-based extension that WikiMedia developers have forced onto all the WM wikis - it does ''not'' change the behavior of clicking on an image, which is what really annoys most people about that extension. Feel free to discuss here. --[[User:Quasar|Quasar]] ([[User talk:Quasar|talk]]) 01:59, 11 November 2018 (CST) : I like it, I like that you are not overriding clicking on image links (I agree with you). When the image caption has a wikilink in it, the wikilink is a little hard to read on-black in the lightbox. Not sure how that could be improved though. -- [[User:Shambler|Shambler]] ([[User talk:Shambler|talk]]) 06:10, 13 November 2018 (CST) :: I brightened the hyperlinks a bit last night, you might need to do a full reload (shift+reload in Firefox, at least) to purge the CSS in your browser cache in order to see the change. --[[User:Quasar|Quasar]] ([[User talk:Quasar|talk]]) 07:07, 13 November 2018 (CST) : Would it be possible to make pressing Esc close the modal? --[[User:Xymph|Xymph]] ([[User talk:Xymph|talk]]) 07:19, 13 November 2018 (CST) :: Yep, done. --[[User:Quasar|Quasar]] ([[User talk:Quasar|talk]]) 09:49, 13 November 2018 (CST) : This is still in the header at #doomwiki, so I loaded it up. I really like it — the emphasis against the article is high, but you can still see where you came from, even scroll it. As others have said, it's also vital that the existing link remains (some users are in fact seeking the metadata or description text). I've seen large commercial sites half-ass this, but we have it right. <small>''Caveat: my browsers are friggin old and I use 99.9% Monobook.''</small> HTH, [[User talk:Ryan W|Ryan W]] ''([[User:Ryan W|living fossil]])'' 05:28, 12 March 2019 (CDT) Summary: All contributions to DoomWiki.org are considered to be released under the CC BY-SA 4.0 International (see Doom Wiki:Copyrights for details). By contributing, you agree to be bound by the Terms of Use. Your changes will be visible immediately. Please enter a summary of your changes above. Do not submit copyrighted images or text without permission! This includes text taken from in-game codices or logbooks, or from official instruction manuals, strategy guides, and other such books. This project is not affiliated with id Software, Raven Software, ZeniMax Media, Bethesda SoftWorks, or any other commercial software developer or publisher. Use of trademarked logos and other protected intellectual property is solely for the purpose of analysis and critical commentary on the identified products and associated fan community activity, and does not imply any endorsement by any of these organizations or their employees, past or present. Upload images to the wiki. Don't forget to categorize pages! For testing, please use a sandbox. View this template Cancel | Editing help (opens in new window)