Sunday, March 20, 2011

Automatic Widget Tabs Sidebar ツ

Permintaan tutor oleh Nabilah

Cara die cmnie :

1) Dashboard > Design > Page Elements > Add a Gadget > Add HTML/Javascript

2) Copy dan paste-kan code di bawah ini kat HTML yg anda dah buka tadi 

<style type="text/css">
h5 {
font-family: trebuchet-ms, arial, tahoma;
font-size: 13px;
padding: 0 0 1em;
font-weight:bold;
color: #ffffff;
}
.msg_list {
list-style: none;
margin: 0;
padding: 0;
width: 100%;
}
.msg_head {
padding: 5px 10px;
cursor: pointer;
position: relative;
background-color:#000000;
margin:1px;
}
.msg_body {
padding: 5px 10px 15px;
background-color:#FFFFFF;
}
</style>


<script type="text/javascript" src="https://sites.google.com/site/jquery01/tabmenuaccordion.js"></script>

<script type="text/javascript">
$(document).ready(function()
{
//hide the all of the element with class msg_body
$(".msg_body").hide();
//slides the element with class "msg_body" when paragraph with class "msg_head" is clicked 
$("#firstpane h5.msg_head").click(function()
{
$(this).next("div.msg_body").slideToggle(700).siblings("div.msg_body").slideUp("slow"); 
});
//slides the element with class "msg_body" when mouse is over the paragraph
$("#secondpane h5.msg_head").mouseover(function()
{
$(this).next("div.msg_body").slideDown("slow").siblings("div.msg_body").slideUp("slow");
});
});
</script>

<div class="msg_list" id="secondpane">
<h5 class="msg_head">Tajuk 1</h5>
<div class="msg_body">

Masukkan kod anda.

</div>

<h5 class="msg_head">Tajuk 2</h5>
<div class="msg_body">


</div>

Masukkan kod anda.

<h5 class="msg_head">Tajuk 3</h5>
<div class="msg_body">


Masukkan kod anda.

</div>

</div>



3) Panduan:
  • BOLD HIJAU - tukar font ikut kehendak anda k ?
  •  COLOUR PURPLE - warna font title
  • COLOUR FUCHSIA - warna Bakckground Title 
  • COLOUR ORANGE - warna Background Widget
  • COLOUR BIRU - Isi lah mengikut kehendak yea ?


Credits to Mizz Meira

Ade masalah ? Komen - komen je :)

Letak Twitter Updates kat Sidebar ツ

Permintaan tutor kedua drpd Anis Unnie .

Cara dia cmnie :

1) Log in Twitter . Lpas tu scroll down smpai anda nmpak seperti gmbar kat bawah .


2) Resources > Widgets > My Website > Profile Widget


3) Lpas tu , anda akan di direct kan ke "Customize Your Profile Widget" so customize lah ikut yg anda hendak k ?

4) Lpas dah siap semua , click "Finish & Grab Code"

5) Setelah itu , anda akan diberi codenye . Btw , kat situ ada juga button "Add to Blogger" so just click it dan ia akan install secara automatik kat blog anda :)



Ade masalah ? Komen - komen je :)

Link Hover ツ

Permintaan telah diajukan oleh Anis unnie melalui FB ^^
Bila korg mouseover kat header blog utama Naz ,  ada benda kaler biru keluar kan ? xD
Ok , nama dia Link Hover :)
Jom kite tgok cara buat dia .

1) Dashboard > Design > Edit HTML

2) Tkan ctrl + f dan search code kat bawah

a:hover {

3) Lpas dah jumpa , sila copy dan paste-kan code di bawah kat bawah a:hover { tadi .

color:#FF6699; background:url(URL Link Hover Anda) ;background-repeat: repeat;
text-decoration:none;
}


4) Gantikan URL Link Hover Anda dengan URL link hover yg korg suke k ?


[ FREEBIES ]
-URL link hover tu boleh ambil kat bawah nie .

Yg mcm Naz punye link hover (plain) :

Hitam
http://i293.photobucket.com/albums/mm62/happyy-stop/black-hover.gif

Pink
http://i293.photobucket.com/albums/mm62/happyy-stop/pinkhover-happyy-stop.gif

Biru
http://i293.photobucket.com/albums/mm62/happyy-stop/bluehover-happyy-stop.gif

Ungu
http://i293.photobucket.com/albums/mm62/happyy-stop/purplehover-happyy-stop.gif

Limegreen
http://i293.photobucket.com/albums/mm62/happyy-stop/greenhover-happyy-stop.gif

Orange
http://i293.photobucket.com/albums/mm62/happyy-stop/orangehover-happyy-stop.gif

Pink + Kuning
http://i293.photobucket.com/albums/mm62/happyy-stop/pnyhover-happyy-stop.gif

Rainbow
http://i293.photobucket.com/albums/mm62/happyy-stop/rainbowhover-happyy-stop.gif


Yg animated :



http://dl5.glitter-graphics.net/pub/590/590935ankbyj1xx4.gif


http://dl6.glitter-graphics.net/pub/1097/1097706nsxl9flarn.gif



http://dl10.glitter-graphics.net/pub/590/590940trx4idmwj8.gif


Nak yg lain ? Sila lah cari kat sini
Pastikan korg cari yg bergerak k ? Mcm gambar yg kat atas tu .



Code & Url link hover credits to Anis Diyana

Ade masalah ? Komen - komen je :)

Thursday, March 17, 2011

Ajax Menu Bar ツ

Soalan telah diajukan oleh Amirah Zahidah ^^

Cara die cmnie :

1) Dashboard > Design > Page Elements > Add a Gadget > Add HTML/Javascript

2) Copy code kat bawah ini dan paste kat HTML yg anda dah buka tadi.

<style>
#container {
width: 100%;
margin: 0px 0px;
padding: 0px 0px 40px 10px;
}
ul, li {
margin: 0; padding: 0;
}
#blob {
border-right: 1px solid #0059ec;
border-left: 1px solid #0059ec;
position: absolute;
top: 0;
z-index : 1;
background: #A9D0F5;
background: -moz-linear-gradient(top, #A9D0F5, #A9D0F5);
background: -webkit-gradient(linear, left top, left bottom, from(#A9D0F5), to(#A9D0F5));
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-moz-box-shadow: 2px 3px 5px #011331;
-webkit-box-shadow: 2px 3px 5px #011331;
}
#lava-lamp {
background:url('URL BACKGROUND');
float: left;
border: 1px solid #BDBCBA;
margin: 0px 0px 15px;
padding: 8px 3px 10px 0px;
}
#lava-lamp li {
float: left;
list-style: none;
border-right: 1px solid #4a4a4a;
border-left: 0px solid #4a4a4a;
}
#lava-lamp li a {
color: #000000;
text-shadow: 0 0px 1px #81807B;
position: relative;
z-index: 2;
float: left;
font-size: 13px;
font-family: arial, sans-serif;
font-weight: bold;
text-decoration: none;
padding: 0px 20px;
}
</style>
<div id="container">
<ul id="lava-lamp">
<li id="selected"><a href="LINK">TAJUK</a></li>
<li><a href="LINK">TAJUK</a></li>
<li><a href="LINK">TAJUK</a></li>
<li><a href="LINK">TAJUK</a></li>
</ul></div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="https://sites.google.com/site/jquery01/jquery.spasticNav.js"></script>
<script type="text/javascript">
$('#lava-lamp').spasticNav();
</script>

3) Yg Naz bold-kan kaler biru itu , anda ubah lah mengikut yg anda suka k ? :]


Special code credits to Mizz Meira

Ade masalah ? Komen - komen je :)