Commit 62b13e2a authored by sgalinsk's avatar sgalinsk

Implemented possibility to add the javascript to the footer (resolves #9273,...

Implemented possibility to add the javascript to the footer (resolves #9273, Thanks to  Laurent Cherpit)


git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/pmkshadowbox/trunk@43247 735d13b6-9817-0410-8766-e36946ffe9aa
parent 8b379bab
No preview for this file type
......@@ -43,6 +43,9 @@ plugin.pmkshadowbox {
# cat=pmkshadowbox/enable/ed; type=boolean; label= Use Sizzle?: Set this false to disable loading the Sizzle.js CSS selector library. Note that if you choose not to use Sizzle you may not use CSS selectors to set up your links. Defaults to true.
useSizzle = 1
# cat=pmkshadowbox/enable/ee; type=boolean; label= Include JS in footer: Set this true to include shadowbox.js file inside the footer. Defaults to false.
includeJsInFooter = 0
......@@ -137,4 +140,4 @@ plugin.pmkshadowbox {
# cat=pmkshadowbox//o4; type=string; label= Flash Express Install Script: If you need to change the flash express install script, you can use this option to enter an alternative. The value must be a relative path to the website root and defaults to a blank string (default express install script).
flashExpressInstallScript =
}
}
\ No newline at end of file
......@@ -150,3 +150,11 @@ page.headerData.1229.value (
</script>
)
[global]
// Include all js in footer
[globalVar = LIT:1 = {$plugin.pmkshadowbox.includeJsInFooter}]
page.footerData.1231 < page.headerData.1231
page.headerData.1231 >
page.footerData.1233 < page.headerData.1233
page.headerData.1233 >
[global]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment