Posts

Showing posts from March, 2014

Host Your External CSS and JS Files using Dropbox

Image
If you are sick of the LOOOOOONG URL's that the ning API generates for file uploads and you'd like something more managable, read on.  If your advanced section of your CSS is full and you want to shorten your import CSS@ urls, read on.  Just look how much cleaner your code can be: USE YOUR DROPBOX PUBLIC FOLDER TO HOST YOUR EXTERNAL FILES Dropbox   is a   free file back-up service which offers an online-space of 2GiB   for basic users (i.e. free version). Dropbox also offers   multi-platform  desktop clients   which makes uploading files even easier. Not only for backing up important files, you can also use Dropbox for   hosting your javascript and css files too. For free! 1.   Download and install   Dropbox client available at the website . (We will deal with Dropbox on Windows but   Linux   and Mac clients are also available.) 2.   Once installed you can find the Dropbox folder at   C:\Docume...

How To Host JavaScript And CSS Scripts On Google Drive

Image
Embedding an external CSS or JavaScript file instead of writing the entire code has its advantages. However, Blogger doesn't provide the flexibility to host CSS or JavaScript files in one separate link. They are hosted within the blog's code through HTML tags. Hence, today I will teach you how to host scripts on Google Drive and then link them back to your website/blog so they work properly. Note: You must have a Gmail account in order to get access to Google Drive. Steps to implement: 1. Make sure you are signed-in to your Gmail account and visit drive.google.com . 2. Click on the upload icon beside the CREATE button >> Click on Files...  >> choose the CSS or JavaScript file which you want to host. 3. After the file is uploaded, click on that file >> Click Share on the bottom right of the page. 4. Sharing settings will open up. Copy the link given under  Link to share >> Click on Change... In the Visibility optio...