Life In 19x19 http://www.lifein19x19.com/ |
|
Request: Inline hide tag http://www.lifein19x19.com/viewtopic.php?f=14&t=4034 |
Page 1 of 1 |
Author: | schultz [ Mon Jun 13, 2011 9:24 am ] |
Post subject: | Request: Inline hide tag |
I'm doing some updates on the OBITS thread (Malkovich game results) and Chew had the good suggestion to hide the game results so people don't have to be spoiled if they don't want to. Right now there isn't a way to cleanly hide the results (besides changing the font color - but that is still kind of clunky). I'm wondering if it would be possible to add an inline hide tag - some piece of text (maybe "Click to See") that would display the text when clicked on without adding any extra lines. I'm thinking some thing along the lines of the "Show Diagram Code" associated with the go tags. Looking for something like this: #22 - zinger vs Araban; H: 2; Komi: 0.5; Result: [inline_hide]W+R[/inline_hide]; # of posts: 92 Resulting in this: #22 - zinger vs Araban; H: 2; Komi: 0.5; Result: Click to Show; # of posts: 92 When clicked: #22 - zinger vs Araban; H: 2; Komi: 0.5; Result: W+R Click to Hide; # of posts: 92 Just brainstorming ideas - always looking for suggestions. ![]() Hopefully that makes sense, and hopefully it is possible. |
Author: | Kirby [ Mon Jun 13, 2011 12:08 pm ] |
Post subject: | Re: Request: Inline hide tag |
Is this what you were looking for? #22 - zinger vs Araban; H: 2; Komi: 0.5; Result: Click to show I didn't do the "click to hide" part, because it seemed redundant. If this seems OK to you, please feel free to use the new "inline-hide" tag. |
Author: | palapiku [ Mon Jun 13, 2011 2:13 pm ] |
Post subject: | Re: Request: Inline hide tag |
Kirby wrote: Is this what you were looking for? #22 - zinger vs Araban; H: 2; Komi: 0.5; Result: Click to show I didn't do the "click to hide" part, because it seemed redundant. If this seems OK to you, please feel free to use the new "inline-hide" tag. Does not work for me. Nothing happens when I click. Firefox 4.0.1 on OS X. |
Author: | hyperpape [ Mon Jun 13, 2011 2:20 pm ] |
Post subject: | Re: Request: Inline hide tag |
Works for me in Chrome and in IE 7 or 8. |
Author: | Kirby [ Mon Jun 13, 2011 2:46 pm ] |
Post subject: | Re: Request: Inline hide tag |
palapiku wrote: Kirby wrote: Is this what you were looking for? #22 - zinger vs Araban; H: 2; Komi: 0.5; Result: Click to show I didn't do the "click to hide" part, because it seemed redundant. If this seems OK to you, please feel free to use the new "inline-hide" tag. Does not work for me. Nothing happens when I click. Firefox 4.0.1 on OS X. Thanks, palapiku. I'll take a look at it when I get home today. |
Author: | Joaz Banbeck [ Mon Jun 13, 2011 3:09 pm ] |
Post subject: | Re: Request: Inline hide tag |
Doesn't work with Firefox 3.3.6 on Ubuntu Hardy Heron. But thanks for trying, Kirby. |
Author: | schultz [ Mon Jun 13, 2011 4:33 pm ] |
Post subject: | Re: Request: Inline hide tag |
Thanks for the work so far Kirby! But yeah, it's not working for me in Firefox, either. It works in IE Tab (IE 8), like hyperpape is seeing. |
Author: | Kirby [ Mon Jun 13, 2011 4:36 pm ] |
Post subject: | Re: Request: Inline hide tag |
Looks like innerText is not W3C compliant. Does it work for you, now? |
Author: | schultz [ Mon Jun 13, 2011 4:50 pm ] |
Post subject: | Re: Request: Inline hide tag |
Kirby wrote: Looks like innerText is not W3C compliant. Does it work for you, now? Roger. That is working now. Thanks for the work Kirby! |
Author: | palapiku [ Mon Jun 13, 2011 9:46 pm ] |
Post subject: | Re: Request: Inline hide tag |
Works! |
Page 1 of 1 | All times are UTC - 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |