I need this function to happen when page loads vs OnClick
Posted: Tue Nov 10, 2009 1:33 pm
I was giving this chore, I need the function fun() to just happen vs the OnClick
Any help will be apprecated
Any help will be apprecated
Code: Select all
<script language="JavaScript">
function fun() {
window.parent.main.cols="200,*";
parent.list.location="../chanlist.php";
}
</script>
<input type=image src="../images/click1.gif" onClick="fun()" alt="StarChat Channels - Click here for the current channels list" border="0">
</td>
<td valign="top">
<form name="jform">