scott_dev |
11-14-2004 10:50 PM |
javascript file and php - runs ok in html page
This setup works fine on a test html page, but when I place it on my php include page, I get "object expected" javascript error:
<?php
#
# You can place your php here for the WELCOME PAGE of your site
#
$the_welcome="Welcome";
echo $the_welcome;
?>
<html>
<script type="text/javascript" src="overlib.js"></script>
<body>
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>

</body>
</html>
|