显示标签为“教程”的博文。显示所有博文
显示标签为“教程”的博文。显示所有博文

2011/10/25

让Youtube播放器飘来飘去

**这个只限 Youtube 播放器使用者使用,,


如果你想要把自己的播放器换成Youtube播放器的话按   这里
--------------------------------------------------------------------------------------
1. 到Youtube 找你喜欢的歌 --然后把网址后面的字Copy下来
    SAMPLE =>
    http://www.youtube.com/watch?v=1234321


    只Copy 我 highlight 的部分就好 =)
    But--如果你的网址后面有 &feature=related 的话--不要Copy
    SAMPLE=>
    http://www.youtube.com/watch?v=1234321&feature=related
   
    只要Copy我 highlight 的部分就好 -- 后面的不要 Copy  =)


2. Copy 好后就把它放进 Code 里面
Code::
<marquee direction="left" style="position: fixed;right: 9%; top: 5%;width:1500px; height:1000px;"><embed src="http://www.youtube.com/v/网子后面部分?fs=1&amp;loop=1&amp;hl=en_GB&amp;rel=0;&amp;autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="25" height="25"></embed></marquee>


3. 到 a.设计 b.添加小工具 c.放到HTML /Javascript里面 d. 按Save就 OK =)


Wait >.< ,, 在保存之前看这边...
-------------------------------------------------------
红色字体 => 换成你刚刚 Copy 的网子后面部分
紫色Highlight => 换播放器的方向


up ,, left ,, 25 ,, 600  [[ 边 向上 移动 ]]
up ,, right ,, 25 ,, 600 [[ 边 向上 移动 ]]


down ,, left ,, 25 ,, 600 [[ 边 向下 移动 ]]
down ,, right ,, 25 ,, 600 [[ 边 向下 移动 ]]
--------------------------------------------------------------
蓝色Highlight => 用以下这组才需要换


left ,, left ,, 9% ,, 5% ,, 1500 ,, 1000 [[ 上面 向 移动 ]]



left ,, right ,, 9% ,, 5% ,, 1500 ,, 1000 [[ 上面 向 移动 ]]

全部换好就Okay 了 =)



**其实有很多地方可以换啦,,,你们可以自己试换地方,,,只要不要把基本的代码换掉就可以了 =)
   本人没有很喜欢这个所以没有去试  ,, 因为要按它停的时候很难按 /.\

【完】

2011/09/25

添加Facebook Like button在Post里

我这里有两种 _  一个是放在Post的顶部 _ 一个是放在Post的底部~~看你个人喜欢什么 =)

顶部




1.a >> 信息中心
   b >> 设计
   c >> 修改 HTML
   d >> 扩展窗口小部件模板 打勾 [一定要打勾]


2.a >> 按 Ctrl+F 找 <div class='post-header-line-1'/>
   b >> 把
<iframe allowTransparency='true' expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.url + &quot;&amp;layout=standard&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=arial&amp;colorscheme=light&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:40px;'/> paste 在 <div class='post-header-line-1'/>下面


3. 按 Save 就 okay 了 x)
----------------------------------------------------------------
底部





1.a >> 信息中心
   b >> 设计
   c >> 修改 HTML
   d >> 扩展窗口小部件模板 打勾 [一定要打勾]


2.a >> 按 Ctrl+F 找 data:post.body
   b >> 把 <iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&amp;layout=standard&amp;show-faces=true&amp;width=530&amp;height=60&amp;action=like&amp;colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:530px; height:60px'/>  paste 在 data:post.body下面


3.按 Save 就 okay 了 ^-^

指向Link / 图片_会有小图



有没有看到那两个小彩虹 =) 那个就是你们的小图~~要指它才会有 =P


1.a >> Design 
   b >> Edit HTML
   c >> 按 Ctrl + F
   d >> 找 a:hover {

2.把 padding:20px;
background:url(图片URL / Direct Link ) no-repeat;
  paste 在 a:hover {下面



20px  可以换~~数字越大~~图片越高
图片URL / Direct Link   放自己喜欢的图片 =)


3.按 Save 就 Okay 了 =)

2011/09/11

制作状态 ♥

Like  This  ::
ish~~很烦啊~~~~~~~~~·
Shirley ♥

有看懂没??  =)
-------------------------------------------------
Code ::
------------
<fieldset style="moz-border-radius: 4px; border-radius: 4px;border: 3px dashed #E0E0E0;"><legend><img src="图片Direct Link" /></legend>ish~~很烦啊~~~~~~~~~· <div class="separator" style="clear: both; text-align: right;">Shirley ♥</div></fieldset>
------------------------
橘色字体=>框框线条厚度
蓝色字体=>框框线条种类
紫色字体=>框框线条颜色
                     要拿颜色代码按 这里
青色字体=>放自己喜欢的图
粉红字体=>你想些什么就写 =)

框框线条种类图::
全部弄好后就到
a.设计 
b.添加小工具 
c.放到HTML /Javascript里面
d. 按Save就OK =)
-----------------------------------------------------------
这里有几个我自制的图
喜欢的话可以拿 ♥
--------------------------------

http://i1096.photobucket.com/albums/g335/Shirley_sheyli/images_2.jpg

http://i1096.photobucket.com/albums/g335/Shirley_sheyli/images_3.jpg

http://i1096.photobucket.com/albums/g335/Shirley_sheyli/images_4.jpg

http://i1096.photobucket.com/albums/g335/Shirley_sheyli/images_5.jpg

http://i1096.photobucket.com/albums/g335/Shirley_sheyli/images_6.jpg

2011/08/23

彩虹效果 ♥

彩虹效果就是::

Example:::
                 指我 =)

就是有很多colour colour喇 XD\
-------
code
-------

<script src='http://ggpi.googlecode.com/files/rainbow.js' type='text/javascript'/>

-------------------------------------------------
然后就到
a.设计 
b.修改HTML
c.同时按Ctrl 和 F __ 找 </head>
d.在 </head> 的上面放 code
   example:: <script src='http://ggpi.googlecode.com/files/rainbow.js' type='text/javascript'/>
</head>
e. 按Save就OK =)

2011/08/21

放bubble在Blog里 ♥

什么bubble???
看图 







image from xiuwen's blog 


--------------------------------------
code::
----------




<script type="text/javascript" src="https://sites.google.com/site/unwanted86/javascript/bubblecursor.js"></script><script type="text/javascript">
// <![CDATA[
var colours=new Array("#FF60AF", "#FF60AF", "#FF60AF", "#FF60AF", "#FF60AF"); // colours for top, right, bottom and left borders and background of bubbles
var bubbles=100; // maximum number of bubbles on screen


/****************************
* JavaScript Bubble Cursor *
* (c) 2010 mf2fm web-design *
* http://www.mf2fm.com/rv *
* DON'T EDIT BELOW THIS BOX *
****************************/
var x=ox=400;
var y=oy=300;
var swide=800;
var shigh=600;
var sleft=sdown=0;
var bubb=new Array();
var bubbx=new Array();
var bubby=new Array();
var bubbs=new Array();


window.onload=function() { if (document.getElementById) {
var rats, div;
for (var i=0; i<bubbles; i++) {
rats=createDiv("3px", "3px");
rats.style.visibility="hidden";


div=createDiv("auto", "auto");
rats.appendChild(div);
div=div.style;
div.top="1px";
div.left="0px";
div.bottom="1px";
div.right="0px";
div.borderLeft="1px solid "+colours[3];
div.borderRight="1px solid "+colours[1];


div=createDiv("auto", "auto");
rats.appendChild(div);
div=div.style;
div.top="0px";
div.left="1px";
div.right="1px";
div.bottom="0px"
div.borderTop="1px solid "+colours[0];
div.borderBottom="1px solid "+colours[2];


div=createDiv("auto", "auto");
rats.appendChild(div);
div=div.style;
div.left="1px";
div.right="1px";
div.bottom="1px";
div.top="1px";
div.backgroundColor=colours[4];
div.opacity=0.5;
if (document.all) div.filter="alpha(opacity=50)";


document.body.appendChild(rats);
bubb[i]=rats.style;
}
set_scroll();
set_width();
bubble();
}}


function bubble() {
var c;
if (x!=ox || y!=oy) {
ox=x;
oy=y;
for (c=0; c<bubbles; c++) if (!bubby[c]) {
bubb[c].left=(bubbx[c]=x)+"px";
bubb[c].top=(bubby[c]=y)+"px";
bubb[c].width="3px";
bubb[c].height="3px"
bubb[c].visibility="visible";
bubbs[c]=3;
break;
}
}
for (c=0; c<bubbles; c++) if (bubby[c]) update_bubb(c);
setTimeout("bubble()", 40);
}


function update_bubb(i) {
if (bubby[i]) {
bubby[i]-=bubbs[i]/2+i%2;
bubbx[i]+=(i%5-2)/5;
if (bubby[i]>sdown && bubbx[i]>0) {
if (Math.random()<bubbs[i]/shigh*2 && bubbs[i]++<8) {
bubb[i].width=bubbs[i]+"px";
bubb[i].height=bubbs[i]+"px";
}
bubb[i].top=bubby[i]+"px";
bubb[i].left=bubbx[i]+"px";
}
else {
bubb[i].visibility="hidden";
bubby[i]=0;
return;
}
}
}


document.onmousemove=mouse;
function mouse(e) {
set_scroll();
y=(e)?e.pageY:event.y+sleft;
x=(e)?e.pageX:event.x+sdown; }


window.onresize=set_width;
function set_width() {
if (document.documentElement && document.documentElement.clientWidth) {
swide=document.documentElement.clientWidth;
shigh=document.documentElement.clientHeight;
}
else if (typeof(self.innerHeight)=="number") {
swide=self.innerWidth;
shigh=self.innerHeight;
}
else if (document.body.clientWidth) {
swide=document.body.clientWidth;
shigh=document.body.clientHeight;
}
else {
swide=800;
shigh=600;
}
}


window.onscroll=set_scroll;
function set_scroll() {
if (typeof(self.pageYOffset)=="number") {
sdown=self.pageYOffset;
sleft=self.pageXOffset;
}
else if (document.body.scrollTop || document.body.scrollLeft) {
sdown=document.body.scrollTop;
sleft=document.body.scrollLeft;
}
else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
sleft=document.documentElement.scrollLeft;
sdown=document.documentElement.scrollTop;
}
else {
sdown=0;
sleft=0;
}
}


function createDiv(height, width) {
var div=document.createElement("div");
div.style.position="absolute";
div.style.height=height;
div.style.width=width;
div.style.overflow="hidden";
return (div);
}
// ]]>
</script>

---------------------------------------------
highlight的代码是颜色代码~~能够换成自己喜欢的颜色
这里 取颜色代码~~
红色的数字能够自行更改 =)
---------------------------------------------

全部更换完毕后就到
a.设计 
b.添加小工具 
c.放到HTML /Javascript里面
d. 按Save就OK =)

2011/08/03

Youtube音乐播放器 / 更换位置

1. 到Youtube 找你喜欢的歌 --然后把网址后面的字Copy下来
    SAMPLE =>
    http://www.youtube.com/watch?v=1234321

    只Copy 我 highlight 的部分就好 =)
    But--如果你的网址后面有 &feature=related 的话--不要Copy
    SAMPLE=>
    http://www.youtube.com/watch?v=1234321&feature=related
   
    只要Copy我 highlight 的部分就好 -- 后面的不要 Copy  =)


2. Copy好后-- 把它放进 Code 里面 --
Code ::
<object width="25" height="25"><param name="movie" value="http://www.youtube.com/v/网址后面部分?fs=1&amp;hl=en_GB&amp;rel=0;autoplay=1" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed src="http://www.youtube.com/v/网址后面部分?fs=1&amp;hl=en_GB&amp;rel=0;&amp;autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="25" height="25"></embed></object>

红色的字换掉--换成你刚刚Copy的--

然后到 a.设计 b.添加小工具 c.放到HTML /Javascript里面 d. 按Save就 OK =)

---------------------------------------------------------------
如何更换位置
-------------------------
刚刚那个Code 的播放器的位置是固定的---想要更换位置的话就Copy 这一个Code =)
Code:::
<div style="position: fixed; left: 0%; top: 0%;"><object width="25" height="25"><param name="movie" value="http://www.youtube.com/v/网址后面部分?fs=1&amp;hl=en_GB&amp;rel=0;autoplay=1" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed src="http://www.youtube.com/v/网址后面部分?fs=1&amp;hl=en_GB&amp;rel=0;&amp;autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="25" height="25"></embed></object></div>

1.红色的字换成你刚刚Copy的--
2. 紫色青色的字体就是更换位置
照着颜色更换位置
----------------------------------------
left , top -(左上角)
left , bottom -(下角)
right , top -(右上角)
right , bottom -(下角)
----------------------------------------
3. 全部更换完毕后就到
a.设计 
b.添加小工具 
c.放到HTML /Javascript里面
d. 按Save就OK =)