PANDA.BIRU: Tutorial : CLICK HERE TO ENTER IMAGE

Thursday, March 1, 2012

Tutorial : CLICK HERE TO ENTER IMAGE

                                           ASSALAMUALAIKUM SEMUA :  )

Wah, dah pukul 1:46 tengah harilah,  sempat lagi Ana buat tutorial ark. Ok,  '' CLICK HERE TO ENTER '' bermaksud, bila kita buka je blog kita kan,  ade yang gambar ''CLICK HERE TO ENTER'' tu.  Korang Click je,  nanti keluar blog korang. SUKA TAK? Ni cara - caranya...

BAHAN



  1. Kene buat gambar ''CLICK HERE TO ENTER'' dulu.
  2. Dah siap, pergi kat ''file'', click ''save as''.  LEPAS TU, PILIH PNG FILE.

LANGKAH - LANGKAHNYA

  1. LOG IN > DESIGN > EDIT HTML > TICK WIDGET TEMPLATES
  2. TEKAN CTRL + F SERENTAK ( KAT KEYBOARD KOMPUTER )
  3. TULIS KAT CTRL + F TADI YANG DAH KELUAR SESUATU KAT ATAS ATAU BAWAH.                    KOD:     ]]></b:skin>
  4. DAH JUMPA KAN? TULIS KOD DIBAWAH NI di atas  kod yang korang cari tadi.


</style></head>
<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=''">
<center><img src="URL IMAGE YANG KORANG SUKA"
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"/></center>
</div>
<div id="wise" style="filter : alpha(opacity=0); -moz-opacity : 0; opacity : 0;">
<div id="june" style="display : none;">
<body>


ARAHAN

  1. WARNA MERAH : Masukkan URL Gambar yang korang nak.
  2.  PREVIEW DULU. KALAU BOLEH, SAVE TAU, KALAU DAH SAVE TU KAN, ADA ''KEEP WIDGET'' DAN ''DELETE WIDGET'' TU, KORANG CLICK JE ''DELETE WIDGET'' TAU.
GAMBAR UNTUK SEMUA

<a href="http://s1054.photobucket.com/albums/s491/Raihana_Husni/?action=view&amp;current=ht3.png" target="_blank"><img src="http://i1054.photobucket.com/albums/s491/Raihana_Husni/ht3.png" border="0" alt="Photobucket"></a>


<a href="http://s1054.photobucket.com/albums/s491/Raihana_Husni/?action=view&amp;current=ht4.png" target="_blank"><img src="http://i1054.photobucket.com/albums/s491/Raihana_Husni/ht4.png" border="0" alt="Photobucket"></a>



<a href="http://s1054.photobucket.com/albums/s491/Raihana_Husni/?action=view&amp;current=ht6.png" target="_blank"><img src="http://i1054.photobucket.com/albums/s491/Raihana_Husni/ht6.png" border="0" alt="Photobucket"></a>

<a href="http://s1054.photobucket.com/albums/s491/Raihana_Husni/?action=view&amp;current=ht7.png" target="_blank"><img src="http://i1054.photobucket.com/albums/s491/Raihana_Husni/ht7.png" border="0" alt="Photobucket"></a>

<a href="http://s1054.photobucket.com/albums/s491/Raihana_Husni/?action=view&amp;current=ht8.png" target="_blank"><img src="http://i1054.photobucket.com/albums/s491/Raihana_Husni/ht8.png" border="0" alt="Photobucket"></a>


<a href="http://s1054.photobucket.com/albums/s491/Raihana_Husni/?action=view&amp;current=ht9.png" target="_blank"><img src="http://i1054.photobucket.com/albums/s491/Raihana_Husni/ht9.png" border="0" 
alt="Photobucket"></a>





<a href="http://s1054.photobucket.com/albums/s491/Raihana_Husni/?action=view&amp;current=ht5.png" target="_blank"><img src="http://i1054.photobucket.com/albums/s491/Raihana_Husni/ht5.png" border="0" alt="Photobucket"></a>


NOTES : AGAK - AGAKNYA ARK, KORANG PILIH YANG MANA SATU.

No comments: