PDA

View Full Version : CSS Problem


monstergamer
01-29-2004, 01:50 AM
in the admincp > Styles & Templates > Style Manager > Style > Common Templates

i get an error in the browser
done, but with errors on page

line:5780
char:3
error: 'swatch_click' is undefined
code:0
url: http://www.monstergamer.net/vb/admincp/css.php? (http://www.monstergamer.net/vb/admincp/css.php?)

could some one help me figure this out..cause i cant use none of the color changes

Zachery
01-29-2004, 01:54 AM
in the admincp > Styles & Templates > Style Manager > Style > Common Templates

i get an error in the browser
done, but with errors on page

line:5780
char:3
error: 'swatch_click' is undefined
code:0
url: http://www.monstergamer.net/vb/admincp/css.php? (http://www.monstergamer.net/vb/admincp/css.php?)

could some one help me figure this out..cause i cant use none of the color changeswhat browser are you using?

are all your files unhacked?

monstergamer
01-29-2004, 01:57 AM
i use IE 6
and only two major hacks like the arcade and shoutbox

Zachery
01-29-2004, 02:19 AM
my only guess is somehow somthing got messed up when you were editing files

monstergamer
01-29-2004, 04:15 AM
the only hack i did not un-install is the arcade but i dont think it is that

i viewed the source and this is where the error happens

<script type="text/javascript">
<!--
tds = fetch_object("swatches").getElementsByTagName("td");
for (var i = 0; i < tds.length; i++)
{
tds[i].onclick = swatch_click;
tds[i].onmouseover = swatch_over;
}
//-->
</script>