Skip to main content

How to Include a JavaScript and CSS Content Slider on Blogger

Here, we will discuss on how to include a Javascript and CSS Content Slider on to your Blogger Site. All you have to do is to follow this article carefully and you will be able to add a Slider on to your account. Let's see on how to do this.

At first, you need to download these two files.
  1. JavaScript File
  2. CSS File
Now, since you ave the codes, we will see on how to proceed step by step. 

Part:1

  1. Go to your blogger account and create a new post and enter Test in the Title Box.
  2. Now, insert the images which you want to use as Slider in your account. 
  3. Once, you have inserted the images, make sure that you have chosen the HTML rather than Toggle Button. 
  4. In Blogger, focus your cursor below the existing markup and paste the below written code in to the HTML. If you preview the blog post at this point the slider will not be rendered properly because the CSS and JavaScript have not yet been included.
The Codes to be Entered

<div class="slider" id="my-slider"> <ul> <li> <img src="First Image Url" /> <div class="ism-caption ism-caption-0">First Image</div> </li> <li> <img src="Second Image Url" /> <div class="ism-caption ism-caption-0">Second Image</div> </li> <li> <img src="Third Image Url" /> <div class="ism-caption ism-caption-0">Third Image</div> </li> </ul> </div>

Note: Wherever, there is need of "Image Url", just copy and paste the img src attributes. You can get the attributes right from the HTML Button. Save the blog post.  

Part: 2



  1. Open a new browser tab, go to Google Drive and sign in if you need to.
  2. Click on the New button and select File upload from the drop-down menu.
  3. Select the JavaScript file which you have downloaded at the beginning of this article.  
  4. Follow the above steps again to upload the CSS file.
  5. Now, locate the two files in your Google Drive.
  6. Either click on My Drive or Recent in the left-hand menu.
  7. Right-click on CSS_file and select Share from the context menu.
  8. The "Share with others" options popup will appear. Make sure the "Anyone with the link can view" option is selected.
  9. Click "Get shareable link", located towards the top right of the panel.
  10. The URL of the file should now be copied to your clipboard.
  11. Either paste the copied URL into a text file or make a note of it, because we are going to need it later.
  12. Repeat steps 7, 8, 9 and 10 for Java_file.

Part: 3

  1. Go back to Blogger, make sure you're signed in and click through to your blog's Overview page.
  2. Select "Template" from the left-hand menu.
  3. You may need to select a template before continuing.
  4. There should be a template preview near the top of the page.
  5. Click the Edit HTML button, which will open a HTML editor for you edit your blog's template.
  6. Enter the following two lines above the closing </head:> tag:

<link href="https://googledrive.com/host/XXXXXXXXXXXXXXXXXXXXXXXXXXXX" rel="stylesheet" /> <script src="https://googledrive.com/host/YYYYYYYYYYYYYYYYYYYYYYYYYYYY" type="text/javascript"></script>
For the link tag, which we use to include the CSS file, replace the 28-character identifier with the one you copied from Google Drive.

https://drive.google.com/open?id=0B0Lx6QimWZErUUVXS0Ytd1huRVE

Here, in this case, we will replace the XXXXXXXXXXXXXXXXXXXXXXXXXXXX with 0B0Lx6QimWZErUUVXS0Ytd1huRVE Similarly, for the script tag, which includes the JavaScript file, replace the 28-character identifier with the one you copied from the Google Drive. Save the template.

Conclusion

This is it. I hope you get your own Java Slider on your Blogger Site. If you still have any doubt, you can ask us in the comment section.


Comments

Popular posts from this blog

How To Create Drop Down Menu in Blogger

Drop down Menu  is something which everyone wants to have on his blog. However, because of the lack of proper information they can't have it on their blogs. Again, many people even think that it is quite hard to put menus with sub menus on any Blog. Well, this is not so. Here, in this tutorial we will tell you on how to add sub menu to your Menu step by step for your Blog.

How To Create a 4 Digit Login Pin for Windows 8 or 10

Here in this tutorial, I will tell you on how to create a 4 digit login pin for windows 8 or Windows 10. Log in to windows 10 or 8 with your Microsoft Account password is really time taking as we all keep long password for our Hotmail or Outlook account.  Making long and complicated password is good for security reasons however, typing long password each and every time you login or unlock your system is a complicated thing and it irritates too. Here, I will tell you the solution for  windows 8  step by step. For  windows 10 , you have to follow the same steps without any change.  You must not be knowing it but Windows 8 and 10 both provide two solutions to get rid of this long password thing.   The First Solution is to disconnect yourself from Microsoft Account . You can visit here to   open your Windows 10 without signing into Microsoft account . The Second solution is to create 4 digit Pin about which I will tell you here. 

How to add line spacing in between Bullets on Wordpress

Today, we discuss how to enter line spacing in between Bullets, paragraphs, etc. on WordPress. Sometimes, it is really necessary to enter line spacing in between lines or segments to provide a immense way of work. You don't require any Visual Composer or a blog template to proceed with. All you need is to insert couple of codes in between lines under HTML coding and you are good to go.