Richie
Not New Member
^ Yes, That's My Fugly Face!
Posts: 35
Richie said 2 great things
|
Post by Richie on Aug 3, 2010 16:22:57 GMT -8
Location: Main Footer CB?: Yes
<script type="text/javascript"> <!-- /* Rename/Remove New Fader Title Bar - Open Source - By Son Of Exodia */
var newstitle=""+document.title.split(/\s-/i)[0]+" News"; // "News" title replacement, or leave blank to remove the "News" title cell.
if(document.getElementById("fscroller")){ document.getElementById("fscroller").parentNode.className="newsbg"; var td=document.getElementsByTagName('td'); for(var d=0;d<td.length;d++){if(td[d].className=="newstitlebg"){ if(newstitle=="") td[d].style.display="none"; else td[d].innerHTML=newstitle; }}} //--> </script>
|
|
|
Post by Wormopolis on Jan 1, 2011 23:28:06 GMT -8
if you already have the "fscroller" element, why scan all the cells for the title?
|
|
mikel
Not New Member
Posts: 2
mikel said 0 great things
|
Post by mikel on Jun 1, 2011 6:53:27 GMT -8
|
|
|
Post by Wormopolis on Jun 1, 2011 8:26:42 GMT -8
recopy.
|
|
Meme
Not New Member
Posts: 24
Meme said 0 great things
|
Post by Meme on Mar 16, 2012 7:51:06 GMT -8
I don't mean to bring up an old post, but I have added this code to my forum so I could change the name/title of the news fader, but I'm not familiar enough with codes to know where to add a size change, and if I don't want it to say the title of my board first how do I remove that?
Any assistance on this matter would be appreciated.
Thank you
|
|
|
Post by Wormopolis on Mar 16, 2012 10:31:21 GMT -8
var newstitle=""+document.title.split(/\s-/i)[0]+" News";
change to
var newstitle="<font size='4'>PANDAMUFFINS!</font>";
and dont worry about bumping threads in here. thats actually how I would like it. all posts pertaining to a code are in the same thread as the code.
|
|