hi,
I'm loading from my main page an external js file, with a function.
I have a flash file in the main page invoking the javascript function.
Everything worked very well until when the javascript code was in the main file, but when I moved javascript to an external file the function seems not called anymore.
So... there is no way to move the javascript code to an external file ? Or any other solution ?
thanks
Update
Main file
...
<script type="text/JavaScript" src="../sites/all/themes/zen/zen/main.js" /></script>
</head>
Js file:
$(document).ready( function() {
function changeSize(objectId, width, height) {
alert("changeSize called");
...