"The include of the adkit.js or EBLoader.js is missing in the root HTML file."
Can someone assist me on this?
Pete
First of all, are you sure you've included EBLoader.js in Code View?
<script src="scripts/EBLoader.js"></script>
Also,
You might want to check the published ZIP to see if the JS file is still there or not.
I've recently learnt that when you use the <script> include tags with GWD it imports the JS on publish and puts all the JS inline in the main HTML.
Yeah I've added " <script src="scripts/EBLoader.js"></script>".
But once published, GWD inlines the scripts.
Do I have to "hack" the published index banner as well?
Pete
But the file size exceeded specs requirement.
Hmm.
Could you try and config it as a Polite Load banner instead?
And included the scripts in the exported package.
<script src="scripts/EBLoader.js"></script>
<script src="scripts/script.js"></script>
Tweaked the script.js to call required element by renaming its Id.
But my file size has exceeded though.
Pete
If you file size has exceeded, have you tried minification? As far as I recall, Sizmek doesn't like files that are .min.js, but you can quite easily have a .js that is minified inside anyway.