<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d2369078377165236643\x26blogName\x3dMali+//+\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://baby-cici.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://baby-cici.blogspot.com/\x26vt\x3d-7551146850746416783', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>
Follow Me
bloggie facebook instagram
我要尽情享受人生

Officially design by Cici 2011 .
I wont be crediting anyone :)

Instagram


Click to enter
Wednesday, November 30, 20112:15 PM ❤(1 notes[s] )

Note : Download your full template as a backup if anything goes wrong :)
: Some use this tutorials cant edit the html meant failed :)

1. Dashboard > Design > Edit Hmtl
設計 - Edit Html
2. Ctrl+F and search
使用 CTRL + F 來 尋找代碼

]]></b:skin>

3. Copy paste these code above previous code
]]> 上面 放下代碼 :

</style>
<script language="javascript" type="text/javascript">
/* toggle() checks to see if the images has already been faded
or not and sends the appropriate variables to opacity(); */
function toggle(el,milli) {
// Get the opacity style parameter from the image
var currOpacity = document.getElementById(el).style.opacity;
if(currOpacity != 0) { // if not faded
fade(el, milli, 100, 0);
} else { // else the images is already faded
fade(el, milli, 0, 100);
}
}
/* changeOpacity() uses three different opacity settings to
achieve a cross-browser opacity changing function. This
function can also be used to directly change the opacity
of an element. */
function changeOpacity(el,opacity) {
var image = document.getElementById(el);
// For Mozilla
image.style.MozOpacity = (opacity / 100);
// For IE
image.style.filter = "alpha(opacity=" + opacity + ")";
// For others
image.style.opacity = (opacity / 100);
}
/* fade() will fade the image in or out based on the starting
and ending opacity settings. The speed of the fade is
determined by the variable milli (total time of the fade
in milliseconds)*/
function fade(el,milli,start,end) {
var fadeTime = Math.round(milli/100);
var i = 0; // Fade Timer
// Fade in
if(start < end) {
for(j = start; j <= end; j++) {
// define the expression to be called in setTimeout()
var expr = "changeOpacity('" + el + "'," + j + ")";
var timeout = i * fadeTime;
// setTimeout will call 'expr' after 'timeout' milliseconds
setTimeout(expr,timeout);
i++;
}
}
// Fade out
else if(start > end) {
for(j = start; j >= end; j--) {
var expr = "changeOpacity('" + el + "'," + j + ")";
var timeout = i * fadeTime;
setTimeout(expr,timeout);
i++;
}
}
}
</script>
<div class="input" onClick="javascript:toggle('wise', 3000); this.style.display='none';
document.getElementById('june').style.display=''">
<img src="Click的圖片"
style="opacity:0.4;filter:alpha(opacity=40)"
onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"
onmouseout="this.style.opacity=0.7;this.filters.alpha.opacity=40"/>
</div>
<div id="wise" style="filter : alpha(opacity=0); -moz-opacity : 0; opacity : 0;">
<div id="june" style="display : none;">
<body>
Red: Change your fav picture
Here are some my own make de ;) Click me

5. Preview
6.If you wan to put the image in the middle please seach the below code
如果是要把圖片放在中間。找一下的代码:
body {

Paste the below code on top of the body {
拷贝以下的代码然后Paste在
body {上面

.input {
text-align: center;
margin-top: 200px;
}

7. 預覽先,看看是否有出現。成功后 SAVE ,Preview it first before saving :)
当你要保存是回出现一个红字 。。删除就好了 :)
When you saved it will come out a red word just DELETE WIDGET .