Showing posts with label ETC. Show all posts
Showing posts with label ETC. Show all posts

Tuesday, June 22, 2010

Random play background music on your blog with mp3 files


Random play background music on your blog with mp3 files
Now I will show you the best way and also the easiest way.


Prepare your space to keep your mp3 file. I strongly recommend "FileDen" Because it is free and has simple interface.



After you get the account at FileDen
Just follow these Pictures.






























You can upload as much as you want to display on your blog However you should make sure that if you put too many mp3 files, it makes a bit slower the webpage when it opened.















Copy URL of each mp3 then paste the each mp3 URL to the orange textarea on the bottom.








HTML code



<script>

<!--

//By Website Abstraction (http://www.wsabstract.com) More JavaScripts here!

var sound1="http://xxxxxxx1.mp3" //<-- URL of MP3 files
var sound2="http://xxxxxxx2.mp3"
var sound3="http://xxxxxxx3.mp3"



var x=Math.round(Math.random()*3) // <-- The number of files that linked
if (x==0) x=sound1

else if (x==1) x=sound2

else if (x==2) x=sound3
// <-- You can add as much as you uploaded if (navigator.appName=="Microsoft Internet Explorer") document.write('<bgsoundsrc='+'"'+x+'"'+'loop="3">') //<-- the number of repeating
else

document.write('<embed src='+'"'+x+'"'+'type="audio/mpeg" border="0" width="130" height="16"
autostart="true" loop="true" volume="5">') //<--- properties
//-->

</script>
//<--- EXPLANATION



loop is repeating the song. you can choose "false or infinite"
autoplay is the system that automatically plays when your blog is opened.


It's NOT working without Quicktime player.



Just Cope and paste to your Blog.

  1. Click "Design" at your Blogger menu
  2. Click the "add Gadget"
  3. Click the HTML/Java Script
  4. Paste your HTML Code like this bottom picture.










    Easy stuff, isn't it?

Monday, June 21, 2010

[CSS] how to put dotted line in your blog?

This is the "Dotted line".



I will just simply show how to make it and you can follow the pictures and just copy and paste the code



First Step, Setting Code for CSS







































Second Step, Setting Code for the Post you want to put the line






















































Code













Easy stuff, isn't it?



Friday, June 18, 2010

Screen shot short key in Mac

command + shift + 3 : whole screen
command + shift + 4 : only selected area

How to Add your URL to Google




Enter your full URL
















You may also add comments or keywords that describe the content of your page.
Only the top-level page from a host is necessary. you do not need to submit each individual page.

Thursday, June 17, 2010

How to upload MP3 files to play in your Blogger

I was struggle to figure out "How to put this MP3 to this blog."
Now I will show you the best way and also the easiest way.

Prepare your space to keep your mp3 file. I strongly recommend "FileDen" Because it is free and has simple interface.




After you get the account at FileDen
Just follow these Pictures.


































The URL code will show you then you just COPY it.









HTML code

Paste the link from Picture 3 to your HTML code.
loop is repeating the song. you can choose "false or infinite"
autoplay is the system that automatically plays when your blog is opened.
hidden="true" if you insert this code to the properties part, the music player is not gonna show on the blog.



Just Cope and paste to your Blog.

  1. Click "Design" at your Blogger menu
  2. Click the "add Gadget"
  3. Click the HTML/Java Script
  4. Paste your HTML Code like this bottom picture.










    Easy stuff, isn't it?