Download & Extend

$closure generates code after closing body tag

Project:SWFObject API
Version:6.x-1.0-beta1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I am using LongTail ScanScout Premium Ads on jw flv player, and it requires all javascript code (swfobject_api code) to be before the closing body tag. However, it seems that in my page template, the use of 'print $closure' causes the javascript to be after the closing body tag.

Is there any way around this to solve this problem? Please help.

Comments

#1

open page.tpl.php and place

<?php
print $closure;
?>
where ever you want it.......
nobody click here