ZAKARI MINDY CROSS
CITIZEN, MOD!
GRAPHICS MOD!
"Reach for the stars; shoot for the moon; be yourself. Do all that shit and make a name."
Posts: 14
|
Post by ZAKARI MINDY CROSS on Jun 24, 2011 9:18:37 GMT 6
Can we get justify tags? I have the code saved and would be more than willing to hand it over. I love having my posts justified. They look so neat and tidy then.
|
|
|
Post by SKIT on Jun 24, 2011 9:48:09 GMT 6
of course! we'd be happy to. would you mind posting the code? i'll go ahead and place it in. :]
|
|
ZAKARI MINDY CROSS
CITIZEN, MOD!
GRAPHICS MOD!
"Reach for the stars; shoot for the moon; be yourself. Do all that shit and make a name."
Posts: 14
|
Post by ZAKARI MINDY CROSS on Jun 24, 2011 9:53:35 GMT 6
Yay! It goes in the global footers.
<script type="text/javascript"> <!-- // Justify text in posts..
var jButton = 'http://i67.photobucket.com/albums/h299/tower58tango/justify.gif';
// Add button to posting page..
if(document.postForm) { var buttons = document.images; for(b=0; b<buttons.length; b++) { if(buttons[b].alt.match(/Align Right/)) { buttons = buttons[b+1].parentNode; break; }} var justifyButton = document.createElement('A'); justifyButton.setAttribute('href','javascript:add("<div align="justify">","</div>")'); justifyButton.innerHTML = '<img src="'+jButton+'" border="0" alt="Justify">'; buttons.parentNode.insertBefore(justifyButton,buttons); }
// Find and justify text in posts...
if(!document.location.href.match(/action=headersfooters/)) { var posts = document.getElementsByTagName('td');
for(p=0; p<posts.length; p++) { if(((posts[p].vAlign == 'top' && posts[p].colSpan == '3') || (document.postForm && posts[p].width == '100%' && posts[p].className == 'windowbg2')) && posts[p].innerHTML.match(/\[justify\]/i)) { posts[p].innerHTML = posts[p].innerHTML.replace(/\[justify\]/ig,'<div align="justify">'); posts[p].innerHTML = posts[p].innerHTML.replace(/\[\/justify\]/ig,'</div>'); }}} // --> </script>
|
|