Click to See Complete Forum and Search --> : Help!!!!


smeagle
01-22-2003, 10:43 PM
I have a message board and they allow us to use javascript and such. This is a script that I currently use to find certain images and replace them with my own.

<script language="JavaScript">
for(i=0 ; i<document.images.length ; i++){
if(document.images[i].src=="http://207.44.144.11/boardimages/staradmin.gif"){
document.images[i].src="http://www.bcn.net/~mdecker/images/untitled.JPG"
}
}
</script>


I am looking for a script like this that can change the html code on a page. There is an error with the HTMl formatting of the board, and I want to correct it. What I am looking for is a script that will serach for this class="cattext" color="" and replace it with a space, or leave it blank.

The problem: At the top of the board, notice the sloppy color transition (http://support.conforums.com/index.cgi?board=help&action=display&num=1043168994)
With that code removed, notice the transistion is smooth now. (http://www.bcn.net/~mdecker/fixed.html)

Any help is greatly appreciated.

smeagle
01-23-2003, 10:36 AM
No one can help?

Jona
01-23-2003, 01:43 PM
Eh, you're using Hyperboards? :)

I dunno, but I think that you need to try putting:


<STYLE>
<!--
.cattext {color:YOUR_COLOR;}
// -->
</STYLE>


Or something like that. Remember, if your STYLE is after the style already built-in, then your style will overwrite theirs, if theirs is after yours, theirs will overwrite yours. :)