Thursday, April 14, 2011

Lock the post.

Lock your post ?

1. Dashboard -> Design -> Edit HTML.

2. Use Ctrl+F find

3. Paste the code below in front of




4. Go to this website.


Key = The password you wan to put.

PLain text = The word you wan to lock.

After type plain text then click ENCRYPT.

After that copy down the HTML and paste into your writing post there.

WEll Done !

Tuesday, February 22, 2011

Disable Right Click (Got Pop Out)

这个教学是给我朋友   黄忆瑾   的 ^^


封锁右键功能  而且  有弹窗的




Step :


Dashboard ---> Design/Layout --->  Add a Gadget ---> HTML/JavaScript


After that, copy down the code below and paste into HTML.




<script language="JavaScript">
<!--

//Disable right mouse click Script

var message="Function Disabled!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// -->
</script>








*  ATTENTION




you can change the  word been BOLD by me to the 


word you wanna show ^^ 

Monday, February 21, 2011

Ratings and Recommendations

Ratings and Recommendations  ^^

It's a function for your friends who visit your blog that can rate the page been written by you ^^


Just follow the step :




Dashboard --->  Design/ Layout ---> Add a Gadget ---> HTML/JavaScript


And copy down the code below and paste into HTML.

<script language="JavaScript">var OB_platformType =1;var OB_demoMode = false;var OB_langJS = "http://widgets.outbrain.com/lang_en.js";var OBITm = "1258618496588";</script><input value="IqHhzIyRei/uo5ny/hiWYQ==" name="OBKey" type="hidden" /> <script language="JavaScript" src="http://widgets.outbrain.com/OutbrainRater.js"> </script><script language="JavaScript">var OBCTm=1258618496588; </script><script language="JavaScript" src="http://widgets.outbrain.com/claim.js"> </script>






DONE !

计算访客停留的时间

计算访客停留的时间
这个教学是给我的朋友   黄忆瑾   的  ^^


Dashboard  --->  Design  ---> Add a Gadget ---> HTML/Java Script


After that  add the code below.   
                                          

      <form name="myform">
<input value="在线时间" name="clock" size="8" />
</form>
<script language="JavaScript">
var id, iM = 0, iS = 1;
start = new Date();
function go()
{
now = new Date();
time = (now.getTime() - start.getTime()) / 1000;
time = Math.floor( time);
iS = time % 60;
iM = Math.floor( time / 60);
if ( iS < 10)
document.myform.clock.value = " " + iM + " 分 0" + iS + " 秒";
else
document.myform.clock.value = " " + iM + " 分 " + iS + " 秒";
id = setTimeout( "go()", 1000);
}
go();</script>

Tuesday, November 9, 2010

How to use Blogskins

Somebody like to use blogskins.
And now i will explain how to use on your blog.


This is the website :Click here


Step 1:
In the website and choose the skins that you like =)
After choose find the word BLOGGER MAIN  on the page !
Example :














After that you will get the Html Code.


Step 2:
Go your blog dashboard > Design > Edit Html 
After that click Revert to Classic Template
And Then delete all the code and paste the code you get it just now.
Then click Save Template.
And preview.
See whether the blogskins match or not.
Because some blogskins's design not very nice
So will look not match with our blog.
If match, Then you go back to edit Html and start edit.
Change The things you need to change.
This i Cannot teach.
Because all blogskin got own code.
But, if any problem with your code.
You can find me and ask.
I will try to solve the problem for you ! ^^
After edit click save template then it's done !


If you found that the blogskins are weird if use on your blog.
Then you've to change another =)


That's all for using website's blogskin ^^

How to use Dewplayer

刚研究了一个音乐播放器


这个会比较好用

不会很lag.

如果想要用,跟着以下步骤吧~

会有点复杂~

=)


*插个步骤 (给没有 fileden account 的人)


先去做个 Fileden 户口,会比较容易跟着我的步骤


先到 :按这里


进去了后,按 Register


如图:













然后按第一个的 sign up.


如图:


















然后填你的表格


填完后按 Register.


过后,到你的hotmail 


看看fileden的网站是否有发给你一封activate信


如果在inbox找不到,就到junk看看


然后按activate的link就好了


activate 过后,Log in


就好了。


现在开始dewplayer的步骤了


这个是它的网站:Click here
这个是它的制作网站:Click here(点击后就可以开始制作了)





这是不同款式的播放器
你可以选择你要的~



这个是编辑器:
 背景颜色你可以到这里找你喜欢的颜色代码
URL of the MP3 file : 你可以到FILEDEN上传你要的歌然后从那里拿到MP3的Url.


如何在fileden拿到歌的url?


首先到fileden, 按upload


如图:









然后按 continue to file uploader

如图:







按了过后

按 browse file, 然后找你要的歌.

找到了后,按open.

然后按 start upload.

上传完毕,到file找你刚才upload的歌

找到后 right click 然后按 properties

然后按 URL

如图:




然后就可以拿到歌的url了!

继续。。。。。。。。



Auto Start-自动播放
Loop-循环播放
Time Display-时间显示
No Cursor-没有光标(无法调歌曲进度)
Random Play-随机播放

点击ok过后会拿到类似以下的code
<object type="application/x-shockwave-flash" data="dewplayer.swf" width="200" height="20" id="dewplayer" name="dewplayer">
<param name="wmode" value="transparent" />
<param name="movie" value="dewplayer.swf" />
<param name="flashvars" value="mp3=http://www.fileden.com/files/2009/12/10/2682923/11%20Nickelback%20-%20Gotta%20Be%20Somebody.mp3&autostart=1&autoreplay=1&showtime=1&randomplay=1" />
</object>


步骤二:
上面code中的dewplayer.swf要换成你要的款式播放器的Url.
要拿到播放器的Url.
先下载这个
下载完毕 Extract那个文件


如何extract那个文件?


如图:
























按红色框框里的那个字就好了


extract好了,打开文件你会看到类似以下图中的东东




















以上红色格子里的就是播放器的款式
选你们要的然后上传到Fileden


如何上传到fileden?


首先到fileden


然后按 upload.


如图:










按了过后


按 continue to file uploader


如图:


















按了过后


按 browse file, 然后到你刚才extract 的file选你要的style.


选了个过后,按open.


然后按 start upload.


如图:
























上传完毕,到 file 找你们所上传的东西


如图:
















找到了然后right click


按 properties, 然后按 URL


如图:
















































copy 那个 url 


然后回到你刚才那到的code



<object type="application/x-shockwave-flash" data="dewplayer.swf" width="200" height="20" id="dewplayer" name="dewplayer">
<param name="wmode" value="transparent" />
<param name="movie" value="dewplayer.swf" />
<param name="flashvars" value="mp3=http://www.fileden.com/files/2009/12/10/2682923/11%20Nickelback%20-%20Gotta%20Be%20Somebody.mp3&autostart=1&autoreplay=1&showtime=1&randomplay=1" />
</object>

然后把你拿到的 url paste 在红色字那里


确保已经把红色字删除了


paste 好了后,把code放到你的部落格


就完成了!^^

*注意

  • 上传你的歌前,必须确保你的歌名没有华语字
  • 歌的Format必须是MP3.不接受其他的格式

Sunday, November 7, 2010

* My word ^^

I will write a post is teach how to use website's blogskin.

This is for my cousin wendy dexler.

And Hope it will help them and others who wan to use website's blogskin =)

But i will post it out after my exam.

So sorry for late.

=)