User talk:Ngng: Difference between revisions

Line 271: Line 271:
::Yeah, I see what you mean. I'm looking into it as well atm. [http://wiki.pcsx2.net/index.php/User:Ryudo#Sandbox:_Collapsed_Text See here on my user page for some experiments]. Didn't wanna clutter up your page so I did it on mine instead. :P
::Yeah, I see what you mean. I'm looking into it as well atm. [http://wiki.pcsx2.net/index.php/User:Ryudo#Sandbox:_Collapsed_Text See here on my user page for some experiments]. Didn't wanna clutter up your page so I did it on mine instead. :P
::[[User:Ryudo|Ryudo]] ([[User talk:Ryudo|talk]]) 11:52, 4 November 2014 (UTC)
::[[User:Ryudo|Ryudo]] ([[User talk:Ryudo|talk]]) 11:52, 4 November 2014 (UTC)
:Unfortunately, built-in Wikimedia class mw-collapsible is far from ideal (and it doesn't work with bullets and numbers). The end user will only provide the text, he will not specify the point where this text should collapse. The script then should determine this point and I can't find the solution to this using the tools I know (whether it's the solid text block or the text contains many lines). Heck, I can't even remove 0xA 0xD symbols from the line to make it a solid block! I can't even find the position of those line-breaks in the text!
:There is another solution, though. If the text is big enough we can just hide it altogether like this:
<div class="mw-collapsible mw-collapsed">Comments (expand to see):<div class="mw-collapsible-content">
BIOS: USA v02.30.
Runs great, even at 2560x1440 resolution. (Constant 60 FPS) I've had no issues playing this game. The only problematic area was only due to a controller issue, which is the Barr Mountains area where you had to play the Dragon Flute. This was already a horrendous area even on the actual PS2. But using the workaround I was able to pass this area just fine. </div></div>
:But I do not know if it will be any better than cutting the sentence in half in some random place. --[[User:Ngng|Ngng]] ([[User talk:Ngng|talk]]) 12:15, 4 November 2014 (UTC)
67,565

edits