the code for the webring might not be valid.. so you might have to tweak it. you can revalidate with source so you can see where it is talking about..
I have tried to tweak them and it is hard to do when so many of the rings the person who comes by to check grumbles that it was changed or altered.
Thank you for the help
You aren’t supposed to change webrings’ provided code, and in fact you generally agree NOT to when you sign up. And most of the “ringmasters” in fact don’t give a rat’s ass about valid code. Since the ring codes are generally js, it’s a bit more difficult to validate than is “plain” html, but one thing you CAN try is to surround the applicable js code section with the following “quasi-tags”
//<![CDATA
//]]>
The slightly tricky part is positioning these tags. See this code provided for use in a link-directory script, following, for some hints (and yes, this code validates – AND in an XHTML Strict page):
<script type="text/javascript">
//<![CDATA[
var root = '{$smarty.const.DOC_ROOT}';
{literal}
var a = document.getElementsByTagName("a");
for(i=0; i<a.length; i++)if(a[i].id != '')
a[i].onclick = count_link;
function count_link(){
i = newImage();
i.src= root+'/cl.php?id='+this.id;
return true;
}
{/literal}
//]]>
</script>
The main relevant areas are putting the quasi-tags inside the script tagset, and the js operants inside the quasi-tags.
Good luck!