Home
Solutions
Tutorials
Tips
Website Design Tips
Ecommerce Solutions
External JavaScript
FAQ Page
Font Changing
HTML Codes
HTML Color Codes
Keyboard Shortcuts
Overwrite a Page
SEO
Taffic
Under Construction
Customizing OL
Help and How To
Downloads
Services
Office Live Video
Common Problems
Contact Us
Link Exchange
 
 

Inserting External JavaScript Solution 1

This solution generally works for everything, including Google Adsense, Analytics, ect.

  

1.  Copy the code below into notepad and paste your code where indicated, and save as filename.htm, and upload it to the documents on your site.

  

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<title>Google Adsense</title>

<base target="_parent">

</head>

<body>

<!--insert your code below-->

</body>

</html>

 

2.  Next paste the following code into the HTML module on your site where desired.  Change the filename.htm to the correct location of the file, also change the height and width as necessary.

 

<iframe src="/documents/filename.htm" width="100px" height="100px" frameborder="0" marginwidth ="0px" marginheight="0px" scrolling="no"></iframe>

 

 Inserting External JavaScript Solution 2

This solution inserts the external JavaScript dynamicly into your page, and most likely won't work with some codes, such as Google Adsense or Analytics.

 

1.  Modify the code below to correct file location, and paste it into the HTML module.  Also modify if code should be in the head or body.

 

<script type="text/javascript">
var head = parent.document.getElementsByTagName("body")[0];
var script = parent.document.createElement("script");
script.type = ("text/javascript");
script.src = ("/documents/javascript.js");
head.appendChild(script);

</script>