rapcriminals
02-12-2005, 02:06 AM
I set up a new code to embed music into the posts. The bb code is [music]. the code i have set up for it is:
<a href="{param}"><b><u>{option}</u></b></a><br>
<embed src="{param}" height="40" autostart="false" loop="false">
This displays a link above the player to the actual track incase the song won't play. I also have a button set up for this. The problem I'm having is 2 fold.
1. When the button is clicked it doesn't ask you what you want as the {option}. I can't find a place to edit this. Also, I can't find a place to edit the generic message displayed in the box that pops up to input the {param}. It just says "Enter text to be formatted" instead of something like "Enter your song URL."
2. when you don't type in an option the code doesn't work at all. i want it to work like the [quote] tag where you don't have to type in an option. The closest I've been able to get to this is creating 2 separate tags, one with the option and one without. But on the FAQ page with the list of Tags it shows the 2 tags separately instead of together like the [quote] and [URL] tags. Heres a link to see what I mean:
http://www.rapbattles.com/forum/misc.php?do=bbcode
Any help with these 2 things would be greatly appreciated.
Thanks
<a href="{param}"><b><u>{option}</u></b></a><br>
<embed src="{param}" height="40" autostart="false" loop="false">
This displays a link above the player to the actual track incase the song won't play. I also have a button set up for this. The problem I'm having is 2 fold.
1. When the button is clicked it doesn't ask you what you want as the {option}. I can't find a place to edit this. Also, I can't find a place to edit the generic message displayed in the box that pops up to input the {param}. It just says "Enter text to be formatted" instead of something like "Enter your song URL."
2. when you don't type in an option the code doesn't work at all. i want it to work like the [quote] tag where you don't have to type in an option. The closest I've been able to get to this is creating 2 separate tags, one with the option and one without. But on the FAQ page with the list of Tags it shows the 2 tags separately instead of together like the [quote] and [URL] tags. Heres a link to see what I mean:
http://www.rapbattles.com/forum/misc.php?do=bbcode
Any help with these 2 things would be greatly appreciated.
Thanks