Request: Inline hide tag

Is something wrong? Do you have any suggestions? Let us know.
Post Reply
User avatar
schultz
Lives in gote
Posts: 505
Joined: Tue Apr 20, 2010 5:31 pm
GD Posts: 0
Location: Montana
Has thanked: 80 times
Been thanked: 62 times

Request: Inline hide tag

Post by schultz »

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.
KGS: schultz [?].
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: Request: Inline hide tag

Post by Kirby »

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.
be immersed
User avatar
palapiku
Lives in sente
Posts: 761
Joined: Sun Apr 25, 2010 11:25 pm
Rank: the k-word
GD Posts: 0
Has thanked: 152 times
Been thanked: 204 times

Re: Request: Inline hide tag

Post by palapiku »

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.
hyperpape
Tengen
Posts: 4382
Joined: Thu May 06, 2010 3:24 pm
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
Location: Caldas da Rainha, Portugal
Has thanked: 499 times
Been thanked: 727 times

Re: Request: Inline hide tag

Post by hyperpape »

Works for me in Chrome and in IE 7 or 8.
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: Request: Inline hide tag

Post by Kirby »

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.
be immersed
User avatar
Joaz Banbeck
Judan
Posts: 5546
Joined: Sun Dec 06, 2009 11:30 am
Rank: 1D AGA
GD Posts: 1512
Kaya handle: Test
Location: Banbeck Vale
Has thanked: 1080 times
Been thanked: 1434 times

Re: Request: Inline hide tag

Post by Joaz Banbeck »

Doesn't work with Firefox 3.3.6 on Ubuntu Hardy Heron. But thanks for trying, Kirby.
Help make L19 more organized. Make an index: https://lifein19x19.com/viewtopic.php?f=14&t=5207
User avatar
schultz
Lives in gote
Posts: 505
Joined: Tue Apr 20, 2010 5:31 pm
GD Posts: 0
Location: Montana
Has thanked: 80 times
Been thanked: 62 times

Re: Request: Inline hide tag

Post by schultz »

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.
KGS: schultz [?].
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: Request: Inline hide tag

Post by Kirby »

Looks like innerText is not W3C compliant.

Does it work for you, now?
be immersed
User avatar
schultz
Lives in gote
Posts: 505
Joined: Tue Apr 20, 2010 5:31 pm
GD Posts: 0
Location: Montana
Has thanked: 80 times
Been thanked: 62 times

Re: Request: Inline hide tag

Post by schultz »

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!
KGS: schultz [?].
User avatar
palapiku
Lives in sente
Posts: 761
Joined: Sun Apr 25, 2010 11:25 pm
Rank: the k-word
GD Posts: 0
Has thanked: 152 times
Been thanked: 204 times

Re: Request: Inline hide tag

Post by palapiku »

Works!
Post Reply