You are either not logged in or not registered with our community. Click here to register.
 
December 03, 2016, 12:53:44 AM

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Click here if you are having problems.
Default Wide Screen Beige Lilac Rainbow Black & Blue October Send us your theme!

Hark!  The Herald!
Holiday Issue 2016

Wiki Blogs Dicebot

Author Topic: A way to place multiple spoilers horizontally?  (Read 304 times)

0 Members and 1 Guest are viewing this topic.

Offline kylieTopic starter

  • Bratty Princess of Twisty, Creeping Secrets. Frilly | Fussy | Framed | Dreamy | Glam | Risky | Sporty | Rapt | Tease | Ironic | Shadowed | Struggling | Whispery | Bespelled
  • Liege
  • Enchanter
  • *
  • Join Date: Apr 2005
  • Location: Somewhere in the future.
  • Darkly sweet femme for rich & insidious scenarios.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
A way to place multiple spoilers horizontally?
« on: February 11, 2014, 08:28:45 AM »
         Is there some code that will let you place multiple spoilers spaced horizontally across the same line? 

        I found that making a table squeezes all the spoilers inside down to the width of just the title of the spoiler, which is a nice start...  Now I'd like to put a few of those on one line. 

         I tried grouping them all under TR and making each spoiler and its contents fall under one TD, but they are still all displaying vertically.

         So...  Is there some way to do it?

Offline jouzinka

  • Elf                            Guardian of the Blind Unbowed,Unbent,Unbroken. Law, Hîr nín, ú dollen i Rîw…
  • Lady
  • Addict
  • *
  • Join Date: Nov 2008
  • Location: Surely wielding my mad makeup skillz somewhere
  • Gender: Female
  • The E mantra: Sip, swallow, scroll, sip, swallow..
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: A way to place multiple spoilers horizontally?
« Reply #1 on: February 11, 2014, 08:36:23 AM »
Depending on what you really want to do - putting them in a table actually makes them stretch to the contents of each cell, so if you can put, say, a text or a picture above or below, there may be your solution.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vitae consectetur velit. Donec congue turpis eu elit blandit adipiscing. Sed molestie tempus sapien eget fermentum. In a purus lorem. Donec ut porttitor risus. Morbi ligula tellus, dignissim vestibulum laoreet nec, blandit in turpis. Nunc dolor purus, commodo sit amet libero quis, sollicitudin semper quam. Praesent ac tristique ante, in tristique libero. Proin urna neque, ullamcorper ac hendrerit nec, bibendum in magna. Suspendisse vitae velit turpis. Nam egestas turpis quis nibh ultricies, quis euismod sapien tempor. Duis quis magna pellentesque, congue mi vel, interdum arcu. Vestibulum eleifend lorem nisi, id porta eros sagittis vel. Cras eu tincidunt tellus. Aliquam ligula ligula, auctor id nisi ut, viverra posuere nulla. Duis felis nibh, dapibus at iaculis vitae, mollis vitae lorem. Suspendisse pellentesque, nibh vitae iaculis adipiscing, lectus nunc ultricies tellus, dictum faucibus ipsum erat id nisi. Vivamus a felis eu tortor cursus vulputate. In sed orci vestibulum, ultricies tortor vitae, ornare libero. Etiam eu justo sed leo aliquam faucibus. Etiam ac tortor nec arcu molestie tincidunt. Etiam dapibus vulputate gravida. Nam lacus leo, tincidunt id pretium eget, facilisis eget sem. Nam dictum, neque ut faucibus dignissim, dui odio sodales felis, non placerat massa dolor et enim. Fusce feugiat ullamcorper commodo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Ut quis vehicula nisl. Cras viverra augue id nulla mattis luctus. Etiam at elit ut arcu ornare pellentesque sit amet a orci. Nullam eu risus velit.
Spoiler: Click to Show/Hide
Spoiler: Click to Show/Hide
Spoiler: Click to Show/Hide

Offline kylieTopic starter

  • Bratty Princess of Twisty, Creeping Secrets. Frilly | Fussy | Framed | Dreamy | Glam | Risky | Sporty | Rapt | Tease | Ironic | Shadowed | Struggling | Whispery | Bespelled
  • Liege
  • Enchanter
  • *
  • Join Date: Apr 2005
  • Location: Somewhere in the future.
  • Darkly sweet femme for rich & insidious scenarios.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: A way to place multiple spoilers horizontally?
« Reply #2 on: February 11, 2014, 08:41:30 AM »
       Ooh, I'd be happy putting a picture with most of them anyway so that sounds great.   :-)

Trying to reorganize my Ons so it's a little easier to get at all the sections without scrolling so far.

Offline kylieTopic starter

  • Bratty Princess of Twisty, Creeping Secrets. Frilly | Fussy | Framed | Dreamy | Glam | Risky | Sporty | Rapt | Tease | Ironic | Shadowed | Struggling | Whispery | Bespelled
  • Liege
  • Enchanter
  • *
  • Join Date: Apr 2005
  • Location: Somewhere in the future.
  • Darkly sweet femme for rich & insidious scenarios.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: A way to place multiple spoilers horizontally?
« Reply #3 on: February 11, 2014, 08:49:27 AM »
        Just to be clear, you did actually make a table right? 

I'm struggling a little to find it in all the source code...  And while it's cool someone knows it, I don't read Latin.   :P

Offline jouzinka

  • Elf                            Guardian of the Blind Unbowed,Unbent,Unbroken. Law, Hîr nín, ú dollen i Rîw…
  • Lady
  • Addict
  • *
  • Join Date: Nov 2008
  • Location: Surely wielding my mad makeup skillz somewhere
  • Gender: Female
  • The E mantra: Sip, swallow, scroll, sip, swallow..
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: A way to place multiple spoilers horizontally?
« Reply #4 on: February 11, 2014, 08:52:26 AM »
LOL, Kylie. :D Yes, it is a table. ;)

Code: [Select]
[table]
[tr]
[td]Put your text/image here [/td]
[td]Put your text/image here [/td]
[td]Put your text/image here [/td]
[/tr]

[tr]
[td][spoiler][/spoiler][/td]
[td][spoiler][/spoiler][/td]
[td][spoiler][/spoiler][/td]
[/tr]
[/table]

Put your text/image here Put your text/image here Put your text/image here
Spoiler: Click to Show/Hide
Spoiler: Click to Show/Hide
Spoiler: Click to Show/Hide

Offline kylieTopic starter

  • Bratty Princess of Twisty, Creeping Secrets. Frilly | Fussy | Framed | Dreamy | Glam | Risky | Sporty | Rapt | Tease | Ironic | Shadowed | Struggling | Whispery | Bespelled
  • Liege
  • Enchanter
  • *
  • Join Date: Apr 2005
  • Location: Somewhere in the future.
  • Darkly sweet femme for rich & insidious scenarios.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: A way to place multiple spoilers horizontally?
« Reply #5 on: February 11, 2014, 08:58:09 AM »
         Sorry it just boggled my mind a little that it would work when you have pictures inside, but it wouldn't when you don't.  And I tried to do it as a table without pictures, but nothing worked.  So it was a little hard to believe.  I'm working on it, but it's less clean a picture when all the text is actually sitting inside the little window with everything too.  Maybe if you program all the time, it's much easier.

Offline kylieTopic starter

  • Bratty Princess of Twisty, Creeping Secrets. Frilly | Fussy | Framed | Dreamy | Glam | Risky | Sporty | Rapt | Tease | Ironic | Shadowed | Struggling | Whispery | Bespelled
  • Liege
  • Enchanter
  • *
  • Join Date: Apr 2005
  • Location: Somewhere in the future.
  • Darkly sweet femme for rich & insidious scenarios.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: A way to place multiple spoilers horizontally?
« Reply #6 on: February 11, 2014, 09:14:18 AM »
          Anyway, thanks for the code!

          I wonder if there's something that could be put in rather than an image that would work just as well to force open those spaces.  An "empty" image?  I have about twenty slots, and on second thought I'm not sure I have a good image for all of them.  Hmm.

Offline jouzinka

  • Elf                            Guardian of the Blind Unbowed,Unbent,Unbroken. Law, Hîr nín, ú dollen i Rîw…
  • Lady
  • Addict
  • *
  • Join Date: Nov 2008
  • Location: Surely wielding my mad makeup skillz somewhere
  • Gender: Female
  • The E mantra: Sip, swallow, scroll, sip, swallow..
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: A way to place multiple spoilers horizontally?
« Reply #7 on: February 11, 2014, 09:17:38 AM »
I used to write web code straight from my head, so yes, the logic of it is easier for me.

Basically, you will be best served by images of the same size.

You can also do three columns and three rows - for image, text and spoiler.


The elaborate effort of her mother to make Elanor’s appearance look as effortless as possible and Sarah’s frantic repetition of the facts of the Earl’s life spoke about her parents’ desire to marry her off more than their previous offer to accompany her hand in marriage with half of their family’s wealth. So did the seriousness in Sarah’s voice as she informed Elanor that if the Lord failed to find interest in her, she was to compromise him! To her objection that if she compromised the Earl, Elanor herself would be equally compromised and therefore unfit for marriage altogether, Sarah replied that the nunnery would always remain an option. Tears well in Elanor’s eyes even now at the thought. For all her love for God, she does not want to go to a convent and lead a constrained and joyless life of a nun, nor does she want to deceive a Lord - or anyone else, for that matter - into a marriage. In her heart she desperately hopes that he would turn her down and send her home without seeing her, even though it’s not a very close possibility.The liquid is not hot anymore and it is actually very rich in scent and taste. Quite spicy, but muted by the general sweetness of the beverage, and it immediately spreads warmth throughout her, quite strong a drink for daily consumption… yet all Elanor can do is look over the rim of the cup at her host. Oh, how she’d like to know his thoughts! At the moment she cannot decipher what it is that he is thinking; maybe in time she may learn to read him better, but for the time being, she must rely on his words only and her eyes drop to the cup. Straightening in her chair, Elanor lets the Earl finish, using the time to gauge what it might be to secure her welcome for another visit. The Chase? The Victory? Would he even extend the invitation if she dealt him a defeat? So far he has graciously met her challenges with eagerness of someone who has been long deprived of any. Perhaps such was the key to the Lord’s attention – giving a good chase, but yielding the victory to him.

What would he ask?
DON'T CLICK. SERIOUSLY. DO. NOT. CLICK.
Ha! Made you look!
Spoiler: Click to Show/Hide
Spoiler: Click to Show/Hide

Code: [Select]
[table]
[tr]
[td]The elaborate effort of her mother to make Elanor’s appearance look as effortless as possible and Sarah’s frantic repetition of the facts of the Earl’s life spoke about her parents’ desire to marry her off more than their previous offer to accompany her hand in marriage with half of their family’s wealth. So did the seriousness in Sarah’s voice as she informed Elanor that if the Lord failed to find interest in her, she was to compromise him! To her objection that if she compromised the Earl, Elanor herself would be equally compromised and therefore unfit for marriage altogether, Sarah replied that the nunnery would always remain an option. Tears well in Elanor’s eyes even now at the thought. For all her love for God, she does not want to go to a convent and lead a constrained and joyless life of a nun, nor does she want to deceive a Lord - or anyone else, for that matter - into a marriage. In her heart she desperately hopes that he would turn her down and send her home without seeing her, even though it’s not a very close possibility.[/td]
[td]The liquid is not hot anymore and it is actually very rich in scent and taste. Quite spicy, but muted by the general sweetness of the beverage, and it immediately spreads warmth throughout her, quite strong a drink for daily consumption… yet all Elanor can do is look over the rim of the cup at her host. Oh, how she’d like to know his thoughts! At the moment she cannot decipher what it is that he is thinking; maybe in time she may learn to read him better, but for the time being, she must rely on his words only and her eyes drop to the cup. [/td]
[td]Straightening in her chair, Elanor lets the Earl finish, using the time to gauge what it might be to secure her welcome for another visit. The Chase? The Victory? Would he even extend the invitation if she dealt him a defeat? So far he has graciously met her challenges with eagerness of someone who has been long deprived of any. Perhaps such was the key to the Lord’s attention – giving a good chase, but yielding the victory to him.

What would he ask?
[/td]
[/tr]

[tr]
[td][IMG]http://i57.tinypic.com/21m535s.jpg[/IMG][/td]
[td][IMG]http://i57.tinypic.com/2vlmuyp.jpg[/IMG][/td]
[td][IMG]http://i60.tinypic.com/t5g17b.jpg[/IMG][/td]
[/tr]

[tr]
[td][spoiler=DON'T CLICK. SERIOUSLY. DO. NOT. CLICK.]Ha! Made you look![/spoiler][/td]
[td][spoiler][/spoiler][/td]
[td][spoiler][/spoiler][/td]
[/tr]
[/table]

The problem is that the cells shrink according to the content and there's no way to force a fix width on the cell. :-\ Yes, you can put in a blank image.

Offline kylieTopic starter

  • Bratty Princess of Twisty, Creeping Secrets. Frilly | Fussy | Framed | Dreamy | Glam | Risky | Sporty | Rapt | Tease | Ironic | Shadowed | Struggling | Whispery | Bespelled
  • Liege
  • Enchanter
  • *
  • Join Date: Apr 2005
  • Location: Somewhere in the future.
  • Darkly sweet femme for rich & insidious scenarios.
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: A way to place multiple spoilers horizontally?
« Reply #8 on: February 11, 2014, 09:23:54 AM »
         Wish they'd just made spoilers fit into a table like text.  They save space -- but there is so much you can't easily do with them, it's a huge trade-off...  It'll take me a while to rearrange everything. 

          I used to do programming and HTML when I was much younger and the Internet was a baby...  But it's been a long time, I've been doing other things for years since, and I think I'm just getting tired today.

But thank you for the help!
« Last Edit: February 11, 2014, 09:26:36 AM by kylie »

Offline jouzinka

  • Elf                            Guardian of the Blind Unbowed,Unbent,Unbroken. Law, Hîr nín, ú dollen i Rîw…
  • Lady
  • Addict
  • *
  • Join Date: Nov 2008
  • Location: Surely wielding my mad makeup skillz somewhere
  • Gender: Female
  • The E mantra: Sip, swallow, scroll, sip, swallow..
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Re: A way to place multiple spoilers horizontally?
« Reply #9 on: February 11, 2014, 09:27:14 AM »
No worries! You're welcome.