gloomAI
Member
I am trying to use BBcode to create an interest check sheet, and I keep running into trouble with the accordions. How do you color the accordion to blend into the background?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
[border=0]
[accordion=50%|bcenter]
{slide=[bg=#eee]Click Me![/bg]}[bg=white]Text goes in here[/bg]{/slide}
{slide=[bg=#eee]Click Me![/bg]}[bg=white]Text goes in here[/bg]{/slide}
{slide=[bg=#eee]Click Me![/bg]}[bg=white]Text goes in here[/bg]{/slide}
[/accordion]
[/border]
Honestly, I don't think it's possible. I could be wrong, though. SorryBlueLikeATardis said:Hey @Mifuyne, is there any way to color the tab options or no?
BlueLikeATardis said:Hey @Mifuyne, is there any way to color the tab options or no?
Do you mean the part of the accordion you click to open it, @BlueLikeATardis ?Mifuyne said:Honestly, I don't think it's possible. I could be wrong, though. Sorry
[border=0]
[accordion=50%|bcenter]
{slide=[bg=#eee]Click Me![/bg]}[bg=white]Text goes in here[/bg]{/slide}
{slide=[bg=#eee]Click Me![/bg]}[bg=white]Text goes in here[/bg]{/slide}
{slide=[bg=#eee]Click Me![/bg]}[bg=white]Text goes in here[/bg]{/slide}
[/accordion]
[/border]
They can be placed next to eachother like this, but will leave a gap.BlueLikeATardis said:Mifuyne I have a quick question about bb coding again. Do you know how to make two separate backgrounds appear side by side with each other?
[row]
[column=span4][bg=green]text1[/bg][/column]
[column=span4][bg=blue]text2[/bg][/column]
[/row]
[bg=red][row]
[column=span4][bg=green]text1[/bg][/column]
[column=span4][bg=blue]text2[/bg][/column]
[/row][/bg]
I was talking about these tabs.TheDox said:Do you mean the part of the accordion you click to open it, @BlueLikeATardis ?
Assuming you mean what I think you do;
In the code @Mifuyne gave us,
Code:[border=0] [accordion=50%|bcenter] {slide=[bg=#eee]Click Me![/bg]}[bg=white]Text goes in here[/bg]{/slide} {slide=[bg=#eee]Click Me![/bg]}[bg=white]Text goes in here[/bg]{/slide} {slide=[bg=#eee]Click Me![/bg]}[bg=white]Text goes in here[/bg]{/slide} [/accordion] [/border]
[bg=#eee] sets that value. The #eee is a hexcode and, as you may know, can be replaced with either another hexcode or a colour name.
//here's hoping you weren't referring to [tab]
Thanks so much for the help on the coding!TheDox said:They can be placed next to eachother like this, but will leave a gap.
Code:[row] [column=span4][bg=green]text1[/bg][/column] [column=span4][bg=blue]text2[/bg][/column] [/row]
If you place another [bg] tag around the columns like this though, it fills that space with another background, which could of course match one of the two.
Code:[bg=red][row] [column=span4][bg=green]text1[/bg][/column] [column=span4][bg=blue]text2[/bg][/column] [/row][/bg]
Also, you have the option to simply [bg=colour1]text1[/bg][bg=colour2]text2[/bg] but although the backgrounds touch this time, one is on top of the other.
Anyway, hope I've been helpful, and if you have any more questions let me know.
If I'm not mistaken, this seems to be the best that can be done, and it doesn't go too well as you can see in the spoiler.BlueLikeATardis said:@TheDox Do you know how to put borders around accordion slides?
[border=2px solid blue]
[accordion=50%]
{slide=Tab 1}Text{/slide}
[/accordion]
[/border]
[accordion=50%]
{slide=Tab 2}Text{/slide}
{slide=Tab 3}Text{/slide}
[/accordion]
TheDox said:If I'm not mistaken, this seems to be the best that can be done, and it doesn't go too well as you can see in the spoiler.
- Tab 1
- Text
- Tab 2
- Text
- Tab 3
- Text
Code:[border=2px solid blue] [accordion=50%] {slide=Tab 1}Text{/slide} [/accordion] [/border] [accordion=50%] {slide=Tab 2}Text{/slide} {slide=Tab 3}Text{/slide} [/accordion]
like this?
code inside
Code:[accordion]{slide=[bg=whatever][border=follow the standard border rules][color=whatever]title[/color][/border][/bg][bg=whatever][/bg]}
Code:[accordion]{slide=[bg=black][border=1px solid white][color=white]this is exactly what i put[/color][/border][/bg][bg=black][/bg]}
I honestly have no idea why I didn't think of this, beyond having stayed up for.. way too long. Nice one, though!Eunoia said:like this?
code inside
Code:[accordion]{slide=[bg=whatever][border=follow the standard border rules][color=whatever]title[/color][/border][/bg][bg=whatever][/bg]}
Code:[accordion]{slide=[bg=black][border=1px solid white][color=white]this is exactly what i put[/color][/border][/bg][bg=black][/bg]}
TheDox said:If I'm not mistaken, this seems to be the best that can be done, and it doesn't go too well as you can see in the spoiler.
- Tab 1
- Text
- Tab 2
- Text
- Tab 3
- Text
Code:[border=2px solid blue] [accordion=50%] {slide=Tab 1}Text{/slide} [/accordion] [/border] [accordion=50%] {slide=Tab 2}Text{/slide} {slide=Tab 3}Text{/slide} [/accordion]
Not exactly what I was talking about, but thanks for your help.
Yeah, that's what I have been trying to do. Thanks for your help.Eunoia said:like this?
code inside
Code:[accordion]{slide=[bg=whatever][border=follow the standard border rules][color=whatever]title[/color][/border][/bg][bg=whatever][/bg]}
Code:[accordion]{slide=[bg=black][border=1px solid white][color=white]this is exactly what i put[/color][/border][/bg][bg=black][/bg]}
Do you mean a border around the entire post/background?BlueLikeATardis said:@Eunoia @TheDox You know how some bbcoders have those 2 thin borders that are close on each other? I am trying to do that for my bb code, but I keep getting this huge gap in between. How do I fix that?
[border=3px double darkblue]
You can easily remove the gray border around an accordion if you just put a border code around the entire coding.Eunoia said:don't ask me why the gray border is there, sometimes it just happens. >.>
[border=1px solid white]
[accordion]
{slide=blah}blah{/slide}
[/accordion]
[/border]
oh I actually figured this out like two days after making this post! you can use a 0px border as well. v helpful friend.CloudyBlueDay said:You can easily remove the gray border around an accordion if you just put a border code around the entire coding.
Like so.
Code:[border=1px solid white] [accordion] {slide=blah}blah{/slide} [/accordion] [/border]
That'll get rid of it.