Jeremy
in memoriam 1991-2020
You, my friend, have apparently never seen my CSS skills.Wait a minute, I know how ta make it!Just hide a text and make a blurry shadow of him. Here is the solution!
![]()
You, my friend, have apparently never seen my CSS skills.Wait a minute, I know how ta make it!Just hide a text and make a blurry shadow of him. Here is the solution!
![]()
public static function parseTagSpoiler(array $tag, array $rendererStates, &$parentClass)
{
if($tag['option'] != NULL)
{
$buttonText = $tag['option'];
}
else
{
$buttonText = 'Show Spoiler';
}
$content = $parentClass->renderSubTree($tag['children'], $rendererStates);
$output = '<div class="spoiler">
<div class="quotetitle">
<input type="button" value="' . $buttonText . '" style="font-size:11px;margin:0px;padding:0px;" onclick="
if (this.parentNode.parentNode.getElementsByTagName(\'div\')[1].getElementsByTagName(\'div\')[0].style.display != \'\')
{
this.parentNode.parentNode.getElementsByTagName(\'div\')[1].getElementsByTagName(\'div\')[0].style.display = \'\';
this.innerText = \'\'; this.value = \'Hide\';
}
else
{
this.parentNode.parentNode.getElementsByTagName(\'div\')[1].getElementsByTagName(\'div\')[0].style.display = \'none\';
this.innerText = \'\'; this.value = \'' . addslashes($buttonText) . '\';
}" />
</div>
<div class="quotecontent">
<div style="display: none;">' . $content . '</div>
</div>
</div>';
return $output;
}
onmouseover='this.style.Color = "black";this.style.textShadow = "0"' onmouseout='this.style.Color = "transparent";this.style.textShadow = "0 0 10px black"'
Same problem. Removing clearfix makes image to run into other stuff (like spoilers).The float code isn't working for me.
I can't get text to wrap around embedded images - it just inserts the image above or below the text depending on whether the float comes before or after the text.
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="39" colspan="3">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="113" background="images/misc/down1.gif" height="39">
</td>
<td background="images/misc/down2.gif"> </td>
<td width="48" background="images/misc/down3.gif" height="39">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#C0DDFF" width="10"> </td>
<td bgcolor="#C0DDFF">
<table border="1" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: 1px solid #007FD8" bgcolor="#FFFFFF">
<tr>
<td style="font-family: Arial; font-size: 12px; color: #707070; text-align: center">
<p style="margin: 5px">{param}</td>
</tr>
</table>
</td>
<td bgcolor="#C0DDFF" width="10"> </td>
</tr>
<tr>
<td colspan="3">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td background="images/misc/down4.gif" height="11" width="11">
<img border="0" src="images/misc/space.gif" width="1" height="1"></td>
<td bgcolor="#C0DDFF" height="11">
<img border="0" src="images/misc/space.gif" width="1" height="1"></td>
<td background="images/misc/down5.gif" height="11" width="11">
<img border="0" src="images/misc/space.gif" width="1" height="1"></td>
</tr>
</table>
</td>
</tr>
</table>
<object width="608" height="383"><param name="movie" value="http://www.traileraddict.com/emb/{param}"></param><param name="wmode" value="transparent"></param><param name="allowfullscreen" value="true"></param><embed src="http://www.traileraddict.com/emb/{param}" type="application/x-shockwave-flash" width="608" height="383" allowfullscreen="true"></embed></object>
Is there any reason why the spoiler button text is in quotes?
Can't it just be like this?Content
I'll see about adding that.Example of [blur] tag.
Replacement string: <div style="color: transparent; text-shadow: 0 0 10px black;">your content</div>
I'm not very familiar with java script but the concept is:
It works only in Chrome (ugly shadow), Safari and FireFox.Code:onmouseover='this.style.Color = "black";this.style.textShadow = "0"' onmouseout='this.style.Color = "transparent";this.style.textShadow = "0 0 10px black"'
Make sure you are using [float="right"][/float]. Or post an image.The float code isn't working for me.
I can't get text to wrap around embedded images - it just inserts the image above or below the text depending on whether the float comes before or after the text.
Hello Guys, I just moved my board to XenForo and there are some important BBCodes missing. I'm no coder and have no experience (obviously) I would really appreciate it if these BBcodes could made avaliable for XenForo
For the download box I use this code:
HTML:<table border="0" cellspacing="0" cellpadding="0"> <tr> <td height="39" colspan="3"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="113" background="images/misc/down1.gif" height="39"> </td> <td background="images/misc/down2.gif"> </td> <td width="48" background="images/misc/down3.gif" height="39"> </td> </tr> </table> </td> </tr> <tr> <td bgcolor="#C0DDFF" width="10"> </td> <td bgcolor="#C0DDFF"> <table border="1" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: 1px solid #007FD8" bgcolor="#FFFFFF"> <tr> <td style="font-family: Arial; font-size: 12px; color: #707070; text-align: center"> <p style="margin: 5px">{param}</td> </tr> </table> </td> <td bgcolor="#C0DDFF" width="10"> </td> </tr> <tr> <td colspan="3"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td background="images/misc/down4.gif" height="11" width="11"> <img border="0" src="images/misc/space.gif" width="1" height="1"></td> <td bgcolor="#C0DDFF" height="11"> <img border="0" src="images/misc/space.gif" width="1" height="1"></td> <td background="images/misc/down5.gif" height="11" width="11"> <img border="0" src="images/misc/space.gif" width="1" height="1"></td> </tr> </table> </td> </tr> </table>
Sample: [down]http://www.your-link.com[/down]
And for traileraddict this:
HTML:<object width="608" height="383"><param name="movie" value="http://www.traileraddict.com/emb/{param}"></param><param name="wmode" value="transparent"></param><param name="allowfullscreen" value="true"></param><embed src="http://www.traileraddict.com/emb/{param}" type="application/x-shockwave-flash" width="608" height="383" allowfullscreen="true"></embed></object>
Sample: [trailer]9319[/trailer]
Thanks.
<object width="608" height="383"><param name="movie" value="http://www.traileraddict.com/emb/
{param}"></param><param name="wmode" value="transparent"></param><param name="allowfullscreen" value="true"></param><embed src="http://www.traileraddict.com/emb/{param}" type="application/x-shockwave-flash" width="608" height="383" allowfullscreen="true"></embed></object>
The steps were for both. And Simple Replacement End shouldn't have {param}.Thank you for the answer King Kovifor
I'm not quite sure If I did it right, I did what you said like this:
Simple Replacement Start:
Code:<object width="608" height="383"><param name="movie" value="http://www.traileraddict.com/emb/
Simple Replacement End:
Code:{param}"></param><param name="wmode" value="transparent"></param><param name="allowfullscreen" value="true"></param><embed src="http://www.traileraddict.com/emb/{param}" type="application/x-shockwave-flash" width="608" height="383" allowfullscreen="true"></embed></object>
It didn't worked. Also, how I'm going to do it for the download box, your steps don't apply for it ?
Thanks.
The float code isn't working for me.
I can't get text to wrap around embedded images - it just inserts the image above or below the text depending on whether the float comes before or after the text.
The steps were for both. And Simple Replacement End shouldn't have {param}.
Thank you for the answer King Kovifor
I'm not quite sure If I did it right, I did what you said like this:
Simple Replacement Start:
Code:<object width="608" height="383"><param name="movie" value="http://www.traileraddict.com/emb/
Simple Replacement End:
Code:"></param><param name="wmode" value="transparent"></param><param name="allowfullscreen" value="true"></param><embed src="http://www.traileraddict.com/emb/{param}" type="application/x-shockwave-flash" width="608" height="383" allowfullscreen="true"></embed></object>
It didn't worked. Also, how I'm going to do it for the download box, your steps don't apply for it ?
Thanks.
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="39" colspan="3">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="113" background="images/misc/down1.gif" height="39">
</td>
<td background="images/misc/down2.gif"> </td>
<td width="48" background="images/misc/down3.gif" height="39">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#C0DDFF" width="10"> </td>
<td bgcolor="#C0DDFF">
<table border="1" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: 1px solid #007FD8" bgcolor="#FFFFFF">
<tr>
<td style="font-family: Arial; font-size: 12px; color: #707070; text-align: center">
<p style="margin: 5px">
</td>
</tr>
</table>
</td>
<td bgcolor="#C0DDFF" width="10"> </td>
</tr>
<tr>
<td colspan="3">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td background="images/misc/down4.gif" height="11" width="11">
<img border="0" src="images/misc/space.gif" width="1" height="1"></td>
<td bgcolor="#C0DDFF" height="11">
<img border="0" src="images/misc/space.gif" width="1" height="1"></td>
<td background="images/misc/down5.gif" height="11" width="11">
<img border="0" src="images/misc/space.gif" width="1" height="1"></td>
</tr>
</table>
</td>
</tr>
</table>
We use essential cookies to make this site work, and optional cookies to enhance your experience.