How to add the Save to Google Drive Button to your web page

Hi, In this tutorial, I am going to show you how to add the save to google drive button in your web pages.
This is a simple procedure it enables your website to allow your users to save files to their Google Drive . by configuring the save button.

It is the simplest way to display the save to drive button on your page. You need to load some javascript resource from the HTTPS protocol
1
2
3
4
5
6
<script src="https://apis.google.com/js/platform.js" async defer></script> 
<div class="g-savetodrive" 
  data-src="//demos.techiesbadi.in/save-to-drive/save to drive script.txt" 
  data-filename="save to drive script.txt" 
  data-sitename="TechiesBadi"
</div> 
Script Explanation
data-src -- Here you can set the real path of the file name do you want to save the users Google Drive.
data-filename -- Here you can give your file name.
data-sitename -- Here you can set your website name.

Here you can download the Full Source code and check the demo.

Download Demo
Author : Manohar, web developer at innovate techno solutions.
* If you like this post please don’t forget to subscribe Techies Badi - programming blog for more useful stuff

Related Posts