polexian
11-24-2009, 07:23 PM
I am trying to load some javascript at the end of my php file and it is not calling the functions. Would someone mind helping me please.
mysql_close($db_handle);
?>
/* End of the php code. only php code exists above this comment.*/
<html>
<BODY>
<!-- Note: Include this div markup as a workaround for a known bug in this release on IE where you may get a "operation aborted" error -->
<div id="FB_HiddenIFrameContainer" style="display:none; position:absolute; left:-100px; top:-100px; width:0px; height: 0px;"></div>
<script src="http://static.ak.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<script type="text/javascript">
FB_RequireFeatures(["CanvasUtil"], function(){
FB.XdComm.Server.init(xd_receiver.htm);
alert("hi2");
FB.CanvasClient.startTimerToSizeToContent(); });"
alert("Hi");
</script>
</BODY>
</html>
mysql_close($db_handle);
?>
/* End of the php code. only php code exists above this comment.*/
<html>
<BODY>
<!-- Note: Include this div markup as a workaround for a known bug in this release on IE where you may get a "operation aborted" error -->
<div id="FB_HiddenIFrameContainer" style="display:none; position:absolute; left:-100px; top:-100px; width:0px; height: 0px;"></div>
<script src="http://static.ak.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<script type="text/javascript">
FB_RequireFeatures(["CanvasUtil"], function(){
FB.XdComm.Server.init(xd_receiver.htm);
alert("hi2");
FB.CanvasClient.startTimerToSizeToContent(); });"
alert("Hi");
</script>
</BODY>
</html>