From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
Line 12: Line 12:
:The javascript that unhides the div when it places it in the Toolbox doesn't work when it's set to none. I'm using ''hidden'', a value recognized by IE and Firefox, to perform additional testing so I could still see the result. Also, I didn't know it wasn't valid, I thought the ''visibility'' style name was purely a Javascript convention. --[[User:inarius|inarius]]([[User talk:inarius|T]]) 12:02, 20 October 2006 (CDT)
:The javascript that unhides the div when it places it in the Toolbox doesn't work when it's set to none. I'm using ''hidden'', a value recognized by IE and Firefox, to perform additional testing so I could still see the result. Also, I didn't know it wasn't valid, I thought the ''visibility'' style name was purely a Javascript convention. --[[User:inarius|inarius]]([[User talk:inarius|T]]) 12:02, 20 October 2006 (CDT)
:: element.style.visibility can be set to "hidden" or "visible", and controls the "visibility" CSS property. Things with visibility: hidden will be hidden, but take up the same amount of space as normal. element.style.display controls the "display" CSS property, and (in this case) could be set to "block" or "none". Things with display: none will be hidden and will not take up any space. --[[User:DrBob|DrBob]] ([[User_talk:DrBob|Talk]]) 12:05, 20 October 2006 (CDT)
:: element.style.visibility can be set to "hidden" or "visible", and controls the "visibility" CSS property. Things with visibility: hidden will be hidden, but take up the same amount of space as normal. element.style.display controls the "display" CSS property, and (in this case) could be set to "block" or "none". Things with display: none will be hidden and will not take up any space. --[[User:DrBob|DrBob]] ([[User_talk:DrBob|Talk]]) 12:05, 20 October 2006 (CDT)
::: That I know. I realized hidden isn't the ideal solution, I just needed it to keep testing. --[[User:inarius|inarius]]([[User talk:inarius|T]]) 12:09, 20 October 2006 (CDT)

Revision as of 17:09, 20 October 2006

monobook.js

It works almost as expected. My only problem is that it doesn't work when browsing diffs (which I use for reverting vandalism, though not necessary here :D). The simplepopups variable turns off page previews (as i find that speeds up the loading time). Try copying mine exactly (without the other options) and see if that works first. Also make sure to clear your cache for the page. Oh, and monobook.js if you're using Monobook, BlueCloud.js if you're using BlueCloud. -- Prod 20:58, 18 October 2006 (CDT)

Upon further testing, I saw what you meant. I've updated mine. -- Prod 22:01, 18 October 2006 (CDT)

Sysop privledge

I've made you a Sysop because you've been a diligent editor at StrategyWiki. As we grow we need more contributors like you. I especially like your bold attitude and excellent propositions, and I know you'll bring good things to our project as you continue to contribute. Anyhow, don't look at this as a gift, just additional responsibility. It'll help you take care of any future breakdowns as well as do the tasks that others cannot. echelon 23:59, 18 October 2006 (CDT)

display: hidden

This is a completely incorrect value for a CSS property. I changed it to "none" because that's what I thought was what you meant, so why have you changed it back? --DrBob (Talk) 11:57, 20 October 2006 (CDT)

The javascript that unhides the div when it places it in the Toolbox doesn't work when it's set to none. I'm using hidden, a value recognized by IE and Firefox, to perform additional testing so I could still see the result. Also, I didn't know it wasn't valid, I thought the visibility style name was purely a Javascript convention. --inarius(T) 12:02, 20 October 2006 (CDT)
element.style.visibility can be set to "hidden" or "visible", and controls the "visibility" CSS property. Things with visibility: hidden will be hidden, but take up the same amount of space as normal. element.style.display controls the "display" CSS property, and (in this case) could be set to "block" or "none". Things with display: none will be hidden and will not take up any space. --DrBob (Talk) 12:05, 20 October 2006 (CDT)
That I know. I realized hidden isn't the ideal solution, I just needed it to keep testing. --inarius(T) 12:09, 20 October 2006 (CDT)