im trying to use this js
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
function redirect(){
parent.location.href="pathtothumbs.php/thumbnails.php?album=1"
}
-->
</SCRIPT>
</HEAD>
<BODY>
<SCRIPT LANGUAGE="JavaScript">
<!--
setTimeout("redirect()",0)
-->
</SCRIPT>
</BODY>
to get it to automaticaly take users to that album.
where must i insert each part of that code set to make it only redirect from the index.php page, and get no errors.
answered my own question, at least it appears to be working.
i added the head portion to the template.html for my theme (basic)
and added the body portion below the footer line in index.php, the pagefooter();
at the bottom, in an echo
echo "<SCRIPT LANGUAGE='JavaScript'>
<!--
setTimeout('redirect()',0)";
-->
</SCRIPT>
replacing the "s in the js with 's