PDA

View Full Version : New BB Code tags!


Dave
14-02-2009, 05:37 PM
Added spoiler and youtube BB code.
But that's a secret! :p
Don't abuse them, especially of youtube tag.
Enjoy and have a nice day. :)


P.s. for a list of current BB code tags check here:
http://www.abandonia.com/vbullet/misc.php?do=bbcode

Capo
16-02-2009, 04:36 PM
Wow, nice add!

EDIT: Looks like that the spoiler tag dont work for me :\

Dave
16-02-2009, 04:45 PM
You probably used it manually, it needs the caption. :)
Post again here using this button: http://img25.imageshack.us/img25/3118/spoilericonbt9.png

The Fifth Horseman
16-02-2009, 04:46 PM
text
Won't work.
What you need is
text
to get:
text

Paco
16-02-2009, 04:51 PM
text
Won't work.
What you need is
text
to get:
text

I want the other Spoiler that i posted in General Staff and not this one. :suspicious:

The Fifth Horseman
16-02-2009, 05:00 PM
Difference between them being?

Paco
16-02-2009, 05:06 PM
Difference:


text

[*spoiler=title]text[*/spoiler]


http://www.multimediaxis.de/showpost.php?p=2204657&postcount=227

[*spoiler=WTF]blabla[*/spoiler]

_r.u.s.s.
17-02-2009, 08:37 AM
there you go, all nicely in a button


<div class="spoiler">

<input type="button" class="button" onclick='
if(this.nextSibling.nextSibling.style.display =="none"){
this.nextSibling.nextSibling.style.display="block";
this.value="Hide "+this.nextSibling.nextSibling.nextSibling.firstChi ld.nodeValue;;
}else{
this.nextSibling.nextSibling.style.display="none";
this.value="Show "+this.nextSibling.nextSibling.nextSibling.firstChi ld.nodeValue;
}
' value="Show potatoes"/>



<span style="display:none;" class="content">{param}</span><div style="display:none;">{option}</div>
</div>
^ NO WHITESPACE HERE!: {param}</span><div style="dis..

example (https://davinci.fmph.uniba.sk/~janajev1/abExample.html) (accept university certificate)

also, i cannot see the condition you are using in case of empty bbtag attribute so figure yourself. you add it only to one place where {option} is

The Fifth Horseman
17-02-2009, 03:15 PM
Let's see...
yeah, you! yeah, you!
:OK:

Capo
17-02-2009, 03:57 PM
text
Won't work.
What you need is
text
to get:
text


mmmmmmeek

Now i get it: Title ? wtf ? :weird:

Tulac
17-02-2009, 05:33 PM
http://www.youtube.com/watch?v=OGcybZgljfE

Testing the youtube button.

Dave
17-02-2009, 05:47 PM
You have to add the id of your video: OGcybZgljfE

This is the result:
OGcybZgljfE

P.s. don't do this at home children :p

Tulac
17-02-2009, 06:43 PM
Add the ID where?

The Fifth Horseman
17-02-2009, 07:03 PM
As the option, I guess?

Tulac
17-02-2009, 07:28 PM
What?

When I do:
[*youtube]youtube full link[/youtube*] I get a blank screen as in the upper post, David said to add the ID, but where do I add it?

EDIT: Got it now. :)

P4TbrgIdm0E