R/E/T/N
Full Member
PM me to be a coding mod and work with some of the best designers on a great forum.
Posts: 245
|
Post by R/E/T/N on Feb 3, 2006 22:29:01 GMT
Description: Switches the words Info Center on your IC with an image. Cross Browser, Main Footers
Thanks Major Topio for helping me learn JS.
<script type="text/javascript"> //Info Center Title To Image //Created By Technical, Aka Eramus, Eramus X Or Reverendium //Do Not Repost without permission of the author
var tD = document.getElementsByTagName('TD'); var infoCenter ="<img src=IMG URL>";
for(t=0;t<td.length;t++){ if(td[t].width == 1% && td[t].align == 'centre' && td[t].className == "titlebg" && td[t].innerHTML.match(/Info Centre/i)){
td[t].innerHTML = infoCenter'
}}
</script>
|
|
|
Post by Majortopio on Feb 3, 2006 22:46:21 GMT
<script type="text/javascript"> //Info Center Title To Image //Created By Technical, Aka Eramus, Eramus X Or Reverendium //Do Not Repost without permission of the author
var td = document.getElementsByTagName('TD'); var infoCenter = "<img src='http://www.majortopio.com/pc/old.gif'>";
for(t=0;t<td.length;t++){ if(td[t].colSpan == "2" && td[t].innerHTML.match(/Info Center/i)){
td[t].innerHTML = "<center>"+infoCenter+"</center>";
}}
</script>
I just found a few mistakes Good job, man!
|
|
R/E/T/N
Full Member
PM me to be a coding mod and work with some of the best designers on a great forum.
Posts: 245
|
Post by R/E/T/N on Feb 3, 2006 22:51:44 GMT
Oo ok thanks
|
|