♡ Shows in Rotation ♡

A cute little gadget to display the shows you're currently watching! 🎀 Add your favorite shows, a poster, and a little note about what you're watching. The gadget also lets visitors switch between your shows and automatically rotates through them. ♡

♡ shows in rotation ♡
your show poster ♡
Your Show Title
your little note about the show ♡
♡   1 / 3   ♡
✧ preview ✧

♡ QUICK TUTORIAL ♡

01. add the gadget to your blog ♡

Copy the entire code below and paste it into a Blogger HTML/JavaScript gadget.

Go to:

Blogger → Layout → Add a Gadget → HTML/JavaScript

Paste the code into the content box, save it and place the gadget wherever you'd like it to appear. 🎀


02. add your show information ♡

Inside the code, find:

title: "PASTE YOUR SHOW TITLE HERE"

Replace it with the name of your show.

Then find:

image: "PASTE YOUR POSTER IMAGE URL HERE"

Replace it with the direct URL of your poster image.

Finally, find:

note: "PASTE YOUR NOTE HERE"

This is the little text that will appear underneath the show title. ♡


03. add more shows ♡

The code already contains three example show sections.

Replace the information in each section with your own shows.

Want to add another one?

Simply copy one of the existing sections and paste it underneath.

Make sure there is a comma between each show section, like this:

},

{
  title: "PASTE YOUR SHOW TITLE HERE",
  image: "PASTE YOUR POSTER IMAGE URL HERE",
  note: "PASTE YOUR NOTE HERE"
}



04. get your poster image URL ♡

You need a direct image URL for your poster.

You can upload your image to an image hosting website and copy the direct image link.

Then paste it here:

image: "PASTE YOUR POSTER IMAGE URL HERE"

Make sure you're using the image URL and not the URL of the webpage containing the image. 🎀


05. change the rotation speed ♡

The gadget automatically changes to the next show every 8 seconds.

To change this, find:

setInterval(nextShow, 8000);

The number is in milliseconds.

For example:

5000 = 5 seconds
8000 = 8 seconds
10000 = 10 seconds



06. that's it! ♡

Click the hearts to move backwards or forwards through your shows.

The gadget will also automatically rotate through them for you. ♡

♡ by Sugar Kissed Letters ♡
Please don't repost, redistribute, or claim this code as your own. ♡

6 comments:

  1. As someone who just started their blog this week and literally had no idea how to start, you are such a queen for this. <3

    ReplyDelete
    Replies
    1. aa you're so welcome <3 share your link when you're done, i'd love to take a look!

      Delete
  2. i tried this but none of the info showed up :( do u have any clue what i did wrong?

    ReplyDelete
    Replies
    1. hii!! ♡ make sure you replaced the "PASTE YOUR SHOW TITLE HERE, PASTE YOUR POSTER IMAGE URL HERE" and "PASTE YOUR NOTE HERE" parts inside the "var shows" section with your own information. The image also needs to be a direct image URL (ending in something like .jpg, .png or .gif), rather than the link to the webpage where the image is hosted. If you've already done all of that and it's still not working, feel free to mail me a screenshot of your code and i'll try to figure it out with you! ♡

      Delete
  3. Lisa, it's always so kind how you openly share your widgets and codes! ♡ TYSM

    ReplyDelete