Run external javascript
-
I am a newbie to WP so forgive my ignorance. I want to run an external javascript
<script src=”swfobject.js” language=”javascript” type=”text/javascript”></script>
which makes this script in my index page work
<script type=”text/javascript”>
// <![CDATA[
var so2 = new SWFObject(“swfs/home.swf”, “home”, “1120”, “765”, “9”, “#000000”);
so2.addParam(“menu”, “false”);
so2.addParam(“scale”, “noscale”);
so2.addParam(“wmode”, “transparent”);
so2.write(“home_div”);
// ]]>
</script>I have tried some suggestions in wp help but cannot get it to work. It does work on another non-wp site,.Any suggestions??
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Run external javascript’ is closed to new replies.