How to Upload a JavaScript File to Tumblr
Aside from Tumblr's online tools for site design, such as the ability to input your own HTML and your own stylesheet, you can upload scripts to your page through Tumblr. Tumblr lets you upload assets to your blog theme, such as CSS files and JavaScript files, using its online static file upload page.
Instructions
-
-
1
Log in to your Tumblr account.
-
2
Go to tumblr.com/themes/upload_static_file.
-
-
3
Click "Choose File." Select the JavaScript file from your computer and select "Upload File."
-
4
Copy the URL displayed in the field for "Your file is available at:."
-
5
Go to your Tumblr blog.
-
6
Click on "Customize."
-
7
Select "Theme" and add the following code in the <head> section to include your JavaScript file:
<SCRIPT LANGUAGE="JavaScript" SRC="filename">
</SCRIPT>
Change "filename" to the URL of your JavaScript file.
-
8
Click "Save" to apply your changes.
-
1
Tips & Warnings
The maximum size for upload is five MB per file, and 15 MB per day.
References
- Photo Credit Stockbyte/Stockbyte/Getty Images