PDA

View Full Version : Background



Drayu
04-02-2009, 12:34 PM
Is there a way to add a mod that allows you to change the background of the post from white to something else?

I have tried all sorts of codes with no luck.

JustMeBF2
04-02-2009, 01:11 PM
dasfasdfasdfsadfsadfsadfdasfsda

Well that didn't work LOL

Crotch-Rot
04-02-2009, 01:54 PM
HTML code is turned off in posts to prevent security holes.

However, since you're an owner Drayu, you can enable it for the Owners group.

Drayu
04-02-2009, 05:16 PM
:) wonderful idea Crotch :)

DoctorToxn
04-03-2009, 08:16 AM
Looks like this will work. Just replace the "298888" with your post ID and the #000000" with the correct hex color.



<script type="text/javascript">
document.getElementById('td_post_298888').style.ba ckgroundColor = "#000000"
</script>

Drayu
04-03-2009, 08:21 AM
did you try it

DoctorToxn
04-03-2009, 01:26 PM
Yeah. I did it in firebug, but you should be able to do it once you have HTML tags enabled. That is, as long as it does not auto filter out the javascript. :P

Drayu
04-03-2009, 02:50 PM
why not just <background color="orange"> for html

DoctorToxn
04-03-2009, 10:26 PM
For example, type this into the url bar and see what it does to my post up a bit.



javascript: (function(){document.getElementById('td_post_29897 6').style.backgroundColor="#000000";})()