Blogger Widgets

Thursday, January 23, 2014

Cursor!

I decided to add a cursor to my blog, and I entered the following code above the </head> tag.
<link href="http://dl.dropboxusercontent.com/s/0m4695it6eco8je/24work.blogspot.com-117.css" rel="stylesheet" type="text/css" /><a href="http://24work.blogspot.com/" target="_blank" title="Blogger Tricks"><img src="https://bitly.com/24workpng1" alt="Blogger Tricks" border="0" style="position: fixed; bottom: 10%; right: 0%; top: 0px;" ></a>
Most of this code basically links back to the website that I found it on, so I'll explain the other tags within the code, such as rel, border, and style.
  • The rel attribute specifies the relationship between this document and the linked document.
  •  The border tag is really simple. It can add a border to an image or a text box, and "0" means there's no border. The higher the number, the thicker the border.
  • With the style tag, you can put where you want something located and you can add things in the tag such as a header and it's color, or a paragraph and it's text color.

Monday, January 13, 2014

MP3 Player!

I'm going to try to add an mp3 player to the top of my blog and once I figure that out, I'll put the coding here for you to see.
<script data-config="{'skin':'http://static.tumblr.com/mefwvws/QGdmu61bd/skinsverde.css','volume':50,'autoplay':false,'shuffle':false,'repeat':1,'placement':'top','showplaylist':false,'playlist':[{'title':'The Boxer - Mumford and Sons','url':'http://www.youtube.com/watch?v=sQpUs1qNxMM'},{'title':'Ain%27t No Sunshine When She%27s Gone - Bill Withers','url':'http://www.youtube.com/watch?v=tIdIqbv7SPo'},{'title':'Only the Good Die Young - Billy Joel','url':'http://www.youtube.com/watch?v=ERWREcPIoPA'},{'title':'Your Song - Ellie Goulding','url':'http://www.youtube.com/watch?v=D9AFMVMl9qE'},{'title':'Cosmic Love - Florence + the Machine','url':'http://www.youtube.com/watch?v=2EIeUlvHAiM'},{'title':'On My Way Back Home - Band of Horses','url':'http://www.youtube.com/watch?v=VmfqeXznNuU'},{'title':'My Mouth, My Lips - From Indian Lakes','url':'http://www.youtube.com/watch?v=ppfNaMSbquY'},{'title':'Interlude (That%27s Love) - Chance the Rapper','url':'http://www.youtube.com/watch?v=VXrflQptrEc'},{'title':'Erase Me - Kid Cudi','url':'http://www.youtube.com/watch?v=ICaTsTkBPV8'}]}" src="http://playlist.me/w/script.js" type="text/javascript"></script><noscript><a href="http://playlist.me/w/i.php">SCM music player</a></noscript>
 HERE'S THE CODE I ACCIDENTALLY DELETED THE THREE PARAGRAPHS I WORKED REALLY HARD ON AND I'M ABOUT TO THROW UP
 Okay, oh god. With this code, I can control what the playlist looks like, what music plays, where it's placed, the volume, if it shuffles, if it repeats, and if it shows the full playlist. I can easily add songs to this list by entering {'title':'put title here','url':'put url here'}. The last few tags close the script (anything starting with </ is a closing tag) and the a href links you to the website where the code was made.
 I didn't do this code by myself because I tried for four hours and it never worked. I was mad, alright. Don't judge me. Anyways, I hope this helps! I'm going to save this before it gets deleted again. See you next Monday.