All pastes #9724 Raw Edit

Untitled

public java v1 · immutable
#9724 ·published 2005-04-17 23:29 UTC
rendered paste body
The javascript code below is within a <TD> that has its own class set already... ie...  <td class"tcat">I am trying to figure out how to change the class of just the text generated by the javascript below.I have tried to put it in  a <div class="newclass"> [javascript here] </class>, but this did not work.The class I am trying to use is kfix.... and I declare it as below:.kfix2 { font-size: 10pt;               font-weight: bold;               font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;}a.kfix2:link { color: #B6B6B6; }a.kfix2:visited { color: #B6B6B6; }a.kfix2:hover { color: #E7B820; }-------------- THE JAVASCRIPT THAT GENERATES THE LINKED TEXT IS BELOW ---------------<script language='JavaScript' type='text/javascript'><!--   var awrz_rnd = Math.floor(Math.random()*99999999999);   var awrz_protocol = location.protocol.indexOf('https')>-1?'https:':'http:';   if (!document.phpAds_used) document.phpAds_used = ',';   document.write ("<" + "script language='JavaScript' type='text/javascript' src='");   document.write (awrz_protocol+"//ads.mydomain.com/engine/adjs.php?n=a670c524");   document.write ("&zoneid=7");   document.write ("&exclude=" + document.phpAds_used);   document.write ("&loc=" + escape(window.location));   if (document.referrer)      document.write ("&referer=" + escape(document.referrer));   document.write ('&r=' + awrz_rnd);   document.write ("&ct0=" + escape(document.phpAds_ct0));   document.write ("'><" + "/script>");//--></script>