It is currently Fri Apr 26, 2024 11:26 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
Offline
 Post subject: Request: Inline hide tag
Post #1 Posted: Mon Jun 13, 2011 9:24 am 
Lives in gote
User avatar

Posts: 505
Location: Montana
Liked others: 80
Was liked: 62
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 [?].


This post by schultz was liked by: Joaz Banbeck
Top
 Profile  
 
Offline
 Post subject: Re: Request: Inline hide tag
Post #2 Posted: Mon Jun 13, 2011 12:08 pm 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
KGS: Kirby
Tygem: 커비라고해
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


This post by Kirby was liked by 4 people: Chew Terr, daniel_the_smith, Joaz Banbeck, Redundant
Top
 Profile  
 
Offline
 Post subject: Re: Request: Inline hide tag
Post #3 Posted: Mon Jun 13, 2011 2:13 pm 
Lives in sente
User avatar

Posts: 761
Liked others: 152
Was liked: 204
Rank: the k-word
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.

Top
 Profile  
 
Offline
 Post subject: Re: Request: Inline hide tag
Post #4 Posted: Mon Jun 13, 2011 2:20 pm 
Tengen

Posts: 4380
Location: North Carolina
Liked others: 499
Was liked: 733
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
Works for me in Chrome and in IE 7 or 8.

_________________
Occupy Babel!

Top
 Profile  
 
Offline
 Post subject: Re: Request: Inline hide tag
Post #5 Posted: Mon Jun 13, 2011 2:46 pm 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
KGS: Kirby
Tygem: 커비라고해
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

Top
 Profile  
 
Offline
 Post subject: Re: Request: Inline hide tag
Post #6 Posted: Mon Jun 13, 2011 3:09 pm 
Judan
User avatar

Posts: 5539
Location: Banbeck Vale
Liked others: 1103
Was liked: 1456
Rank: 1D AGA
GD Posts: 1512
Kaya handle: Test
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

Top
 Profile  
 
Offline
 Post subject: Re: Request: Inline hide tag
Post #7 Posted: Mon Jun 13, 2011 4:33 pm 
Lives in gote
User avatar

Posts: 505
Location: Montana
Liked others: 80
Was liked: 62
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 [?].

Top
 Profile  
 
Offline
 Post subject: Re: Request: Inline hide tag
Post #8 Posted: Mon Jun 13, 2011 4:36 pm 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
KGS: Kirby
Tygem: 커비라고해
Looks like innerText is not W3C compliant.

Does it work for you, now?

_________________
be immersed


This post by Kirby was liked by: schultz
Top
 Profile  
 
Offline
 Post subject: Re: Request: Inline hide tag
Post #9 Posted: Mon Jun 13, 2011 4:50 pm 
Lives in gote
User avatar

Posts: 505
Location: Montana
Liked others: 80
Was liked: 62
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 [?].

Top
 Profile  
 
Offline
 Post subject: Re: Request: Inline hide tag
Post #10 Posted: Mon Jun 13, 2011 9:46 pm 
Lives in sente
User avatar

Posts: 761
Liked others: 152
Was liked: 204
Rank: the k-word
Works!

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group