Sabtu, 31 Juli 2010
75+ Shoutbox for Promotion Your Blog
Floating Menu Gelap
Trik kali ini berkaitan dengan CSS atribut fixed. Hampir mirip nih si fixed ini dengan absolute :D Untuk demonya sobat bisa melihat di http://inimu.com Lihat pada bagian kanan bawah pojok :-bd
Bumbu-bumbunya:
N B: Untuk kode yg diwarnai berbeda itu bisa tergantung dari bawaan template. Pada point ke 1 ada gambar, upload dan hosting. Pada point ke 2 ada UniqueID, itu disesuaikan dengan ID bagian top dan bottom template sobat.
#imfloatdiv {
font-family:Tahoma;
position:fixed; bottom:5px; right:5px; z-index:100;
background:url(http://inimu.com/0-img/trans-hitam-1x1.png) repeat;
padding:1px 3px;
margin:0;
border:1px solid #333333;
-moz-border-radius: 8px;
-khtml-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
}
#imfloatul {
font-size:11px;
line-height:15px;
padding:0; margin:0;
list-style-type:none;
}
#imfloatul li {
padding:0; margin:0;
display:inline;
text-align:center;
}
#imfloatul li a {
/* font-size:11px; */
line-height:13px;
font-weight:normal;
text-decoration:none;
color:#ffffff;
padding:0 3px;
}
#imfloatul li a:hover {
background-color:#cccccc;
color:#000000;
-moz-border-radius:5px;
-khtml-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
}
#imfloatul li img, #imfloatul li a img {
margin:0;
padding:0;
vertical-align:bottom !important;
}
a.imfmcp { color:#333333 !important; }
a.imfmdn, a.imfmup { font-size:15px !important; padding:0 !important; margin:0 !important; }
/* ========== ImFloatMenu-Gelap CSS ========== */
<ul id='imfloatul'>
<li><a href='http://your-link.com'>Title</a></li>
<li><a href='http://your-link.com'>Title</a></li>
<li><a href='http://your-link.com'>Title</a></li>
<li><a href='http://your-link.com'>Title</a></li>
<li><a class='imfmcp' href='#' id='imfmcp' onclick='this.blur();' target='_blank' title='Get this widget'>♥</a></li>
<li><a class='imfmdn' href='#your UniqueID' id='imfmdn' onclick='this.blur();' title='Go to bottom'>▼</a></li>
<li><a class='imfmup' href='#your UniqueID' id='imfmup' onclick='this.blur();' title='Go to top'>▲</a></li>
</ul>
</div>
:-h
Jumat, 30 Juli 2010
Fun With HTML Area
Dengan kata lain map ini kita sebut saja area atau daerah. Cara ini sebenarnya sudah ada sih di webnya si W3 (*) Contoh...
Gimana, itu gambarnya satu tapi ada 3 buah link yg dimana sudah sesuai dengan design gambar b-) :-bd
<map name="UNIQUE-ID">
<area shape="rect" coords="0,0,82,126" alt="" href="http://www.blahblehbloh.com" target="_blank"/>
<area shape="circle" coords="90,58,3" alt="" href="http://www.blahblehbloh.com" target="_blank">
<area shape="circle" coords="124,58,8" alt="" href="http://www.blahblehbloh.com" target="_blank">
</map>
- UNIQUE-ID UniqueID ini bebas terserah saja mau diisikan dengan kata apa. Harus sesuai dengan contoh diatas itu nanti memanggil UniqueId.
- Shape Ini kode kesesuaian dalam desain gambar. (nanti tabel keterangan)
- Coords Ini jarak (koordinat) dari satu area.
Attribute | Nilai | Keterangan |
---|---|---|
coords | coordinates | Menentukan koordinat suatu area. |
href | URL | Menentukan URL tujuan link di suatu area. |
nohref | nohref | Menentukan bahwa suatu area tidak memiliki link terkait. |
shape | default rect circle poly | Menentukan bentuk suatu area. |
target | _blank _parent _self _top | Menentukan mana untuk membuka halaman yang terhubung ditetapkan dalam atribut href. |
Nilai coords | Keterangan |
---|---|
x1, y1, x2, y2 | Jika bentuk atribut diatur ke "rect", itu menentukan koordinat sudut kiri atas dan sudut kanan bawah persegi panjang. |
x,y,radius | Jika bentuk atribut diatur ke "lingkaran", itu menentukan koordinat pusat lingkaran dan jari-jari. |
x1, y1, x2, y2, .., xn, yn | Jika bentuk atribut diatur ke "poli", itu menentukan koordinat tepi poligon. Jika koordinat pertama dan terakhir pasangan tidak sama, browser harus menambahkan koordinat terakhir pasangan untuk menutup poligon. |
Source: w3schools.
Kamis, 29 Juli 2010
Ajax Label Reloaded
Sudah punya label baru masuk deh kesesi hacknya :)) Jika yg berkenan dan mengerti bahasa inggris, silahkan langsung ke sumber caranya Blogger Hacked. Lakukanlah langkah demi langkah pada halaman tersebut, dan perhatikan pada point...
Jika ada dua kode tersebut di template sobat, gantilah kedua-duanya :) dengan kode yg diberikan.<b:if cond='data:blog.url == data:label.url'>
<data:label.name/>
<b:else/>
<a href='data:label.url'><data:label.name/></a>
</b:if>
Langkah terakhir guna menjalankan hack ini yaitu ada pada point...<b:if cond='data:blog.url == data:label.url'>
<data:label.name/>
<b:else/>
<a href='#sres' expr:onclick='"javascript:getCat(\"" + data:label.name + "\",null)"'><data:label.name/></a>
</b:if>
Langkah terakhir itulah nanti tempat terbukanya label hack ini b-) Sempurna...:D Sobat tauk tidak, aku ngeuh trik ini dari sobat kita setelah membaca postingannya :)) Kaie's Blog. Bay bay :-h
Rabu, 28 Juli 2010
N E O
Selasa, 27 Juli 2010
Yahoo Emoticon for Blogger
- Letakan script berikut dibawah tag <head>
- Letakan CSS berikut sebelum kode ]]></b:skin>
.post-body img#new {
margin:0px;
padding:0px;
border:none;
vertical-align:middle;
} - Save.
<script type='text/javascript' src='http://toekang.googlepages.com/DeepaSmiley.js'></script>
Click expand here to look the scriptSource by: http://maid3n.blogspot.com and http://beta-templatetesting.blogspot.com
Senin, 26 Juli 2010
Wara Wiri Bookmark
Satu alternatif yg bisa jadi pilihan Simpy Chichimichi. Mau melihat contoh-contoh beserta PR dari web penyedia jasa ini 3spots. Kalau mau jadi bloglang harus mau ngacak-ngacak web berikut eConsultant. Bagi yg suka dengan drop down style mungkin ini bisa menjadi alternatif DropDown Bookmark. See you :-h
Sabtu, 24 Juli 2010
Post Rank Widget for Blogger
- Data Services.
- Analytics.
- Consumer.
Quick Way To Read The Blog Heavily
Lihat pada tab browsingan sobat, jika sudah muncul title dari web/blog yang dituju lekaslah tekan tombol stop diujung kiri atas browsingan :p
Jika sudah paham dilanjutkan dengan menekan tombol read morenya yah :D Disanalah ramuan untuk trik Quick Way To Read The Blog Heavily. Kopi link berikut, lalu taruh di address browsingan...Isikan XXXXXXXXXXXXXXXXXXX dengan cara menekan CTRL + U pada keyboard, lalu tekan kembali CTRL + F ketikan postID/blogID :D Setelah itu enter deh, bagaimana hasilnya!!! This final result Read and Comment!.https://www.blogger.com/comment.g?blogID=XXXXXXXXXXXXXXXXXXX&postID=XXXXXXXXXXXXXXXXXXX
Jumat, 23 Juli 2010
Bloggercode
Yah sudah tanpa banyak bicara coba saja yg punya si bloglang Beben ganteng kalem ini :p
Keren toh, mau yg lebih keren lagih??? Kalau kurang silahkan Resources for Bears dan disini keterangan umum semua mengenai blogger-code Geekcode. Salam bloglang \m/ b-)
Simple Pretty Tooltip
Pake script sob :D dan sedikit CSS yah kalau mau ;)) Aturan script harus disimpan pada bagian bawah, maka waktu aku praktekan menyimpan script tersebut persis sebelum tag </body> bisa jalan tuh :D Kalau tidak jalan sobat bisa menyimpan scriptnya dibawah tag <head> Dan letakan CSS berikut sebelum tag ]]></b:skin>
position: absolute;
padding: 4px;
top: 0px;
left: 0px;
color: white;
font-size: 13px;
font-family: Verdana, Helvetica, Arial, sans-serif;
width: 25em;
font-weight: bold;
background: url(NTBG.PNG);
/* Mozilla proprietary */
-moz-border-radius: 10px;
}
div.nicetitle p {
margin: 0; padding: 0 3px;
}
div.nicetitle p.destination {
font-size: 9px;
text-align: left;
padding-top: 3px;
}
Rabu, 21 Juli 2010
Blogging Mark-Up Software
Artikel ini didapat Beben si bloglang ganteng kalem tea dari Hack Attack. Sobat bisa masuk kehalaman tersebut guna melihat penjelasan dalam bentuk video :p Secara default tag yg ada diblogger dan di sopwer, sebagai berikut...
Keyboard shortcut | Replacement text |
---|---|
p | <p></p> |
br | <br/> |
ul | <ul></ul> |
ol | <ol></ol> |
em | <em></em> |
h1 | <h1></h1> |
etc... | etc... |
Cara kerjanya seperti ini sob. Ketikan salah satu tag, misal tag p lalu sobat enter. Nanti akan terbuat secara otomatis satu tag <p></p> dan cursor akan berada otomatis juga ditengah-tengah tag :-/ :D Bagaimana dengan tag HTML yg seperti <a href="Your Pasted Text"></a> ternyata bisa juga kok sob ;)) Secara default tag HTML yg ada sbb...
Keyboard shortcut | Replacement text |
---|---|
hre | <a href="Your Pasted Text"></a> |
bk | <blockquote>Your Pasted Text</blockquote> |
img | <img src="Your Pasted Text"></img> |
etc... | etc... |
Download terlebih dahulu Blogging mark-up.Exe dan Script blogging mark-up. Ada dua buah file: 1.exenya, 2.scriptnya. Simpanlah scriptnya dikomputer sobat, di sistem (C) atau dimana saja yg penting aman. Kalau mau menambahkan variasinya, tinggal buka script dan editlah di notepad :)
Happy blogging \m/ :-h
Selasa, 20 Juli 2010
Dipilih Dipilih Dipilih
Ini webnya nih, eh addressnya deng BloggerTheme.Net. Dan ini template yg aku lihat pas aku nemuin web tersebut :p
Heres direction
Read it
Instruction heres
Senin, 19 Juli 2010
jQuery Social Share Toolbar for Blogger
Sudah dilakuin belon tadi disuruh search kata share :-/ Nah kali ini beben si bloglang ganteng kalem mau berbagi trik gaya tombol berbagi (share button) kreasi dari CSS Creator. Bisa buka web tersebut dan lihat dipojok kanan bawahnya ;) For the original posted you can visit Original posted. Disana sudah ada penjelasan bagaimana trik ini berkerja :D Kalau mau diblog sobat memakai yg begituan, maka ada syarat-syarat kecil berlaku disini, syaratnya yaitu klik tombol read more pada artikel ini :"> PERHATIAN!!!
Screenshot for blogger after i'm do practice...
background:#CCC;
border:solid 1px #666;
border-width: 1px 0 0 1px;
height:15px;
width:260px;
position:fixed;
bottom:0;
right:0;
padding:2px 5px;
overflow:hidden;
/* CSS3 */
-webkit-border-top-left-radius: 12px;
-moz-border-radius-topleft: 12px;
border-top-left-radius: 12px;
-moz-box-shadow: -3px -3px 3px rgba(0,0,0,0.5);
-webkit-box-shadow: -3px -3px 3px rgba(0,0,0,0.5);
box-shadow: -3px -3px 3px rgba(0,0,0,0.5);
}
#socializethis a{
float:left;
width:32px;
margin:3px 2px 2px 2px;
padding:0;
}
#socializethis span{
float:left;
margin:2px 3px;
text-shadow: 1px 1px 1px #FFF;
color:#444;
font-size:12px;
}<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
Script plugin ini bisa diletakan berbarengan dengan script diatas sob.
(function($){
$(document).ready(function(){
var url=window.location.href;
var host=window.location.hostname;
var title=$('title').text();
title=escape(title);
var twit='http://twitter.com/home?status='+title+'%20'+url;
var facebook='http://www.facebook.com/sharer.php?u='+url
var digg='http://digg.com/submit?phase=2&url='+url+'&title='+title;
var stumbleupon='http://stumbleupon.com/submit?url='+url+'&title='+title;
var buzz='http://www.google.com/reader/link?url='+url+'&title='+title+'&srcURL='+host;
var delicious='http://del.icio.us/post?url='+url+'&title='+title;
var tbar='<div id="socializethis"><span>Share<br /><a href="#min" id="minimize" title="Minimize"> <img src="MINIMIZE.PNG" /> </a></span><div id="sicons">';
tbar+='<a href="'+twit+'" id="twit" title="Share on twitter"><img src="TWITTER.PNG" alt="Share on Twitter" width="32" height="32" /></a>';
tbar+='<a href="'+facebook+'" id="facebook" title="Share on Facebook"><img src="FACEBOOK.PNG" alt="Share on facebook" width="32" height="32" /></a>';
tbar+='<a href="'+digg+'" id="digg" title="Share on Digg"><img src="DIGG.PNG" alt="Share on Digg" width="32" height="32" /></a>';
tbar+='<a href="'+stumbleupon+'" id="stumbleupon" title="Share on Stumbleupon"><img src="STUMBLEUPON.PNG" alt="Share on Stumbleupon" width="32" height="32" /></a>';
tbar+='<a href="'+delicious+'" id="delicious" title="Share on Del.icio.us"><img src="DELICIOUS.PNG" alt="Share on Delicious" width="32" height="32" /></a>';
tbar+='<a href="'+buzz+'" id="buzz" title="Share on Buzz"><img src="GOOGLE-BUZZ.PNG" alt="Share on Buzz" width="32" height="32" /></a>';
tbar+='</div></div>';
$('body').append(tbar);
$('#socializethis').css({opacity:.7});
$('#socializethis').bind('mouseenter',function(){
$(this).animate({height:'35px',width:'260px',opacity:1},300);
$('#socializethis img').css('display','inline');
});
$('#socializethis').bind('mouseleave',function(){
$(this).animate({opacity:.7},300);
});
$('#socializethis #minimize').click(function(){
minshare();
$.cookie('minshare','1');
});
if($.cookie('minshare')==1){
minshare();
}
function minshare(){
$('#socializethis').animate({height:'15px',width:'40px',opacity:.7},300);
$('#socializethis img').css('display','none');
return false;
}
});
})(jQuery);
</script>Dikarenakan semua script plugin ini nantinya dihosting, maka hostingan gambar harap diperhatikan dan juga link share yg akan sobat mau tambahkan/dipakai.
Pada artikel aslinya ada script cookies, dan beben tidak memasukannya. Jika sobat mau memakainya dapat diambil script tersebut di Cookie.Js TXT. Pas praktek jg tidak dipakai kok, tapi jalan sob :D bay bay :-h
Look for Slideshow
Pertama kali artikel ini dibaca oleh sipenemu dapat sobat lihat Slayeroffice. Sebelum dirombak trik tersebut ternyata sipenemu jg sudah pernah merekomendasikan slideshow with jQuery plug-in.
Bagaimana dengan slideshow rombakan dari siempunya :-/ ;)) :DSelamat memasang slideshow sobat :-bd :)Sabtu, 17 Juli 2010
45+ CSS Trick Must be Known
Kreatifitas kadang tak harus memiliki dasar yg belum kita kuasai. Pertanyaannya bagaimana membangkitkan kratifitas kita dengan ilmu yg sudah ada ;) Dengan bahasa CSS yg dasar kalo dengan sentuhan creativity bisa juga sob :D Like this for example...simple button :D
◄Blah►
Feed button pure with CSS!Button link for us like this...CSSONLY!!!
Css Blogger
Nah bagaimana, segalanya mudah asal tauk bahasanya toh ;)) :-bd Yang susahnya itu cari sumber yg menerangkannya :)) Maka dari itu Beben si bloglang ganteng kalem berperan BW kesana kemari :)) Dasar-dasar yg sobat perlu ketahui nih ;)) :-bd- Orange RSS Buttons with pure CSS
- Switchy McLayout: An Adaptive Layout Technique
- Snook’s Resizable Underlines
- Format Footnotes with CSS
- CSS Badge
- Box Punch
- CSS Popups
- CSS Production Notes
- CSS Alert Message
- Unobtrusive Sidenotes
- Vertical Centering with CSS
- Horizontal and Vertical Centering with CSS
- Clearing Floats
- 10 More CSS Tricks you may not know
- 10 CSS Tricks you may not know
- webdesign.maratz
- Image Floats without the Text Wrap
- Printing with CSS
- Displaying Percentages with CSS
- 3 Column Fixed width centered layout
- PDF, ZIP, DOC Links Labeling
- Styling Lists with CSS
- Styling Horizontal Rules
- CSS Element Hover Effect
- Zebra Table with JavaScript and CSS
- Simple accessible external links
- 2 Column Layout Technique
- 3 Column Layout with CSS
- The ways to style visited Links
- Creating a Star Rater using CSS
- CSS Teaser Box
- Creating a Netflix style star ratings
- Rounded Corners without images
- Improved Links-Display for Print-Layouts with CSS
- Printing Web-Documents and CSS
- CSS-Based Tables Techniques
- Rounded Corners
- CSS Based Forms Techniques
- CSS Zooming
- Ticked Off Links Reloaded
- Tableless forms
- CSS Tricks for Custom Bullets
- CSS Unordered List Calender
- CSS Styled Calender
- PHP-based CSS Style Switcher
- CSS Image Replacement for Buttons
- CSS Newbie
- CSS Creator
- Stu Nicholls
Jumat, 16 Juli 2010
Large Drop Down Menu
Artikel gaya hasil BW juga mengenai menu nih. Tidak tanggung-tanggung menu yg diciptakan ini diberi nama Large Drop Down Menu :-bd Cek ge dot brooo...
Bagaimana setelah melihat live demonya :-? ah pasti pada mau kan dg menu yg kayak itu :x Sikaaat mang...ayeh- Kode CSS letakkan diatas/sebelum kode ]]></b:skin>
- Kode HTML letakkan didalam tag <body>
- Letakkan script berikut!!!
- Save.
margin:0px;
padding:0;
display:block;
height:35px;
background-color:#09689F;
list-style:none;
font-family:"Trebuchet MS", sans-serif;
border-top:1px solid #10608E;
border-bottom:1px solid #10608E;
border-left:10px solid #09689F;
-moz-box-shadow:0px 3px 4px #591E12;
-webkit-box-shadow:0px 3px 4px #591E12;
-box-shadow:0px 3px 4px #591E12;
}
ul.ldd_menu a{
text-decoration:none;
}
ul.ldd_menu > li{
float:left;
position:relative;
}
ul.ldd_menu > li > span{
float:left;
color:#fff;
background-color:#09689F;
height:35px;
line-height:35px;
cursor:default;
padding:0px 10px;
text-shadow:0px 0px 1px #fff;
border-right:1px solid #0E5A85;
border-left:1px solid #0E5A85;
}
ul.ldd_menu .ldd_submenu{
position:absolute;
top:35px;
width:550px;
display:none;
opacity:0.95;
left:0px;
font-size:10px;
background: #09689F;
border-top:1px solid #10608E;
-moz-box-shadow:0px 3px 4px #591E12 inset;
-webkit-box-shadow:0px 3px 4px #591E12 inset;
-box-shadow:0px 3px 4px #591E12 inset;
}
a.ldd_subfoot{
background-color:#1C5E7E;
color:#fff;
display:block;
clear:both;
padding:5px 10px;
text-transform:uppercase;
text-align:center;
font-family: Arial, serif;
font-size:12px;
text-shadow:0px 0px 1px #0f0;
-moz-box-shadow:0px 0px 2px #999 inset;
-webkit-box-shadow:0px 0px 2px #999 inset;
-box-shadow:0px 0px 2px #999 inset;
}
ul.ldd_menu ul{
list-style:none;
float:left;
border-left:1px solid #09f;
margin:20px 0px 10px 30px;
padding:10px;
}
li.ldd_heading{
font-family: Georgia, serif;
font-size: 13px;
text-decoration:underline;
color:#F72B25;
text-shadow:0px 0px 1px #B03E23;
padding:0px 0px 10px 0px;
}
ul.ldd_menu ul li a{
font-family: Arial, serif;
font-size:10px;
line-height:20px;
color:#fff;
padding:1px 3px;
}
ul.ldd_menu ul li a:hover{
-moz-box-shadow:0px 0px 2px #333;
-webkit-box-shadow:0px 0px 2px #333;
-moz-border-radius:10px;
-webkit-border-radius:10px;
box-shadow:0px 0px 2px #333;
background:#4096EE;
}
<li>
<span>TITLE1</span><!-- Increases to 510px in width-->
<div class="ldd_submenu">
<ul>
<li class="ldd_heading">Your-Title</li>
<li><a href="#">Your Title1</a></li>
<li><a href="#">Your Title2</a></li>
<li><a href="#">Your Title3</a></li>
<li><a href="#">Your Title4</a></li>
<li><a href="#">Your Title5</a></li>
</ul>
<ul>
<li class="ldd_heading">Your-Title</li>
<li><a href="#">Your Title1</a></li>
<li><a href="#">Your Title2</a></li>
<li><a href="#">Your Title3</a></li>
<li><a href="#">Your Title4</a></li>
<li><a href="#">Your Title5</a></li>
<li><a href="#">Your Title6</a></li>
</ul>
<ul>
<li class="ldd_heading">Your-Title</li>
<li><a href="#">Your Title1</a></li>
<li><a href="#">Your Title2</a></li>
<li><a href="#">Your Title3</a></li>
<li><a href="#">Your Title4</a></li>
<li><a href="#">Your Title5</a></li>
<li><a href="#">Your Title6</a></li>
</ul>
<a class="ldd_subfoot" href="#"> + New Title</a>
</div>
</li>
<li>
<span>TITLE2</span>
<div class="ldd_submenu">
<ul>
<li class="ldd_heading">Your-Title</li>
<li><a href="#">Your Title1</a></li>
<li><a href="#">Your Title2</a></li>
<li><a href="#">Your Title3</a></li>
<li><a href="#">Your Title4</a></li>
<li><a href="#">Your Title5</a></li>
</ul>
<ul>
<li class="ldd_heading">Your-Title</li>
<li><a href="#">Your Title1</a></li>
<li><a href="#">Your Title2</a></li>
<li><a href="#">Your Title3</a></li>
<li><a href="#">Your Title4</a></li>
<li><a href="#">Your Title5</a></li>
<li><a href="#">Your Title6</a></li>
</ul>
<ul>
<li class="ldd_heading">Your-Title</li>
<li><a href="#">Your Title1</a></li>
<li><a href="#">Your Title2</a></li>
<li><a href="#">Your Title3</a></li>
<li><a href="#">Your Title4</a></li>
<li><a href="#">Your Title5</a></li>
<li><a href="#">Your Title6</a></li>
</ul>
<a class="ldd_subfoot" href="#"> + New Title</a>
</div>
</li>
<li>
<span>TITLE3</span>
<div class="ldd_submenu">
<ul>
<li class="ldd_heading">Your-Title</li>
<li><a href="#">Your Title1</a></li>
<li><a href="#">Your Title2</a></li>
<li><a href="#">Your Title3</a></li>
<li><a href="#">Your Title4</a></li>
<li><a href="#">Your Title5</a></li>
</ul>
<ul>
<li class="ldd_heading">Your-Title</li>
<li><a href="#">Your Title1</a></li>
<li><a href="#">Your Title2</a></li>
<li><a href="#">Your Title3</a></li>
<li><a href="#">Your Title4</a></li>
<li><a href="#">Your Title5</a></li>
<li><a href="#">Your Title6</a></li>
</ul>
<ul>
<li class="ldd_heading">Your-Title</li>
<li><a href="#">Your Title1</a></li>
<li><a href="#">Your Title2</a></li>
<li><a href="#">Your Title3</a></li>
<li><a href="#">Your Title4</a></li>
<li><a href="#">Your Title5</a></li>
<li><a href="#">Your Title6</a></li>
</ul>
<a class="ldd_subfoot" href="#"> + New Title</a>
</div>
</li>
</ul>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
$(function() {
/*** the menu */
var $menu = $('#ldd_menu');
/**
* for each list element,
* we show the submenu when hovering and
* expand the span element (title) to 510px
*/
$menu.children('li').each(function(){
var $this = $(this);
var $span = $this.children('span');
$span.data('width',$span.width());
$this.bind('mouseenter',function(){
$menu.find('.ldd_submenu').stop(true,true).hide();
$span.stop().animate({'width':'510px'},300,function(){
$this.find('.ldd_submenu').slideDown(300);
});
}).bind('mouseleave',function(){
$this.find('.ldd_submenu').stop(true,true).hide();
$span.stop().animate({'width':$span.data('width')+'px'},300);
});
});
});
</script>
Bye bye...see you, WassaLam :-h :)
Rabu, 14 Juli 2010
Eng Ing Eng
Bagaimana nih apa sobat tertarik dengan templatenyo :)) Basic sekali tapi kalau dengan sentuhan kreatifitas kalian masing-masing akan menghasilkan template yg gaya punya tuh :) Kreatif itu jurus membuat blog keren kayak aku ini :D :"> Ada tiga buah template yg Beben mau share disini :)
- Nomor 1 via Ziddu or tb20090321 v1.1.xml
- Nomor 2 via Ziddu or thewhitegrail v1.1.xml
- Nomor 3 via Ziddu or thesecondwhitegrail v1.1.xml
Simpan deh terserah mau dimana enaknya itu frame :-bd Bagi yg suka chat, nih bisa disikat...<iframe src="http://site.personnel.free.fr/scroller.htm" height="150" width="100%" scrolling="No" marginheight="0" marginwidth="0" frameborder="0"></iframe>
<select Size=1 name=clr onChange="document.bgColor=this.options[this.selectedIndex].value">
<option value="#CDAB7D" SELECTED>???
<option value="aquamarine">aquamarine
<option value="blue">blue
<option value="cadetblue ">cadet blue
<option value="chocolate">chocolate
<option value="darkred">dark red
<option value="darkkhaki">dark khaki
<option value="darkgoldenrod">dark goldenrod
<option value="darkslateblue">dark slate
<option value="deeppink">deep pink
<option value="darksalmon">dark salmon
<option value="gold">gold
<option value="hotpink">hotpink
<option value="lime">lime
<option value="red">red
<option value="salmon">salmon
<option value="springgreen">springgreen
<option value="tan">tan
<option value="tomato">tomato
<option value="turquoise">turquoise
<option value="wheat">wheat
<option value="yellow">yellow
</select>
</form>
alert("What\'s your favorite color?")
else{document.bgColor=(""+form.text.value+"");}}</script>
<form>
<input type="text" name="text" style="background-color:#DEBE94" size="17" /> <input type="button" name="button" value="Your's color!" onclick="test(this.form)" style="background-color:#DEBE94" />
</form>
Senin, 12 Juli 2010
Hover Attribute for Comments Box on Blogger
Dengan menyisipkan sebuah link, yg dapat berupa gambar atau juga tulisan akan menghilangkan kotak komentar pada blog >:) Dengan menyorot link tersebut nanti akan timbul lagi deh itu si kotak komentarnyo B-) Kita tengok pada screenshot yg sudah Beben praktekan diblog uji coba ;)) :)) Perhatikan pada kotak komentar yah :)
85V9C7B2EVYU
float:left;
display:inline;
margin:0;
position:relative;
z-index:10;
}
ul#bbnbox li{
clear:both;
float:left;
display:inline;
}
ul#bbnbox li div{
position:absolute;
top:XXXpx;
padding-top:11px;
left:-5000px;
width:XXXpx;
height:XXXpx;
z-index:10;
}
ul#bbnbox li:hover div,
ul#bbnbox li.sfhover div{
left:0px;
}
ul#bbnbox li div iframe{
width:XXXpx;
height:XXXpx;
}<b:includable id='comment-form' var='post'>
blah-bleh-bloh
blah-bleh-bloh
blah-bleh-bloh
</b:includable>
blah-bleh-bloh
blah-bleh-bloh
blah-bleh-bloh
</div></li></ul>
<ul id='bbnbox'><li><a href='#'><img src='HTTP://LINK-GAMBAR.JPG'/></a><div>
<div class='comment-form'>
<a name='comment-form'/>
<p><data:blogCommentMessage/></p>
<data:blogTeamBlogMessage/>
<a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
<iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410' id='comment-editor' name='comment-editor' src='' width='100%'/>
<data:post.friendConnectJs/>
<data:post.cmtfpIframe/>
<script type='text/javascript'>
BLOG_CMT_createIframe('<data:post.appRpcRelayPath/>', '<data:post.communityId/>');
</script>
</div>
</div></li></ul>
</b:includable>
Minggu, 11 Juli 2010
Sliding Panel Using jQuery Plugin and CSS3
Bahan-bahan untuk membuatnya...
position: fixed;
text-decoration: none;
top: 80px; right: 0;
font-size: 16px;
letter-spacing:-1px;
font-family: verdana, helvetica, arial, sans-serif;
color:#fff;
padding: 15px 35px 15px 15px;
font-weight: 700;
background:#333333 url(plus.png) 85% 55% no-repeat;
border:1px solid #444444;
-moz-border-radius-topleft: 20px;
-webkit-border-top-left-radius: 20px;
-moz-border-radius-bottomleft: 20px;
-webkit-border-bottom-left-radius: 20px;
-moz-border-radius-bottomright: 0px;
-webkit-border-bottom-right-radius: 0px;
display: block;
}
a.trigger:hover{
position: fixed;
text-decoration: none;
top: 80px; right: 0;
font-size: 16px;
letter-spacing:-1px;
font-family: verdana, helvetica, arial, sans-serif;
color:#fff;
padding: 20px 40px 20px 20px;
font-weight: 700;
background:#222222 url(plus.png) 85% 55% no-repeat;
border:1px solid #444444;
-moz-border-radius-topleft: 20px;
-webkit-border-top-left-radius: 20px;
-moz-border-radius-bottomleft: 20px;
-webkit-border-bottom-left-radius: 20px;
-moz-border-radius-bottomright: 0px;
-webkit-border-bottom-right-radius: 0px;
display: block;
}
a.active.trigger {
background:#222222 url(minus.png) 85% 55% no-repeat;
}
.panel {
position: fixed;
top: 80px;
right: 0;
display: none;
background: #aaa;
border:1px solid #111111;
-moz-border-radius-topleft: 20px;
-webkit-border-top-left-radius: 20px;
-moz-border-radius-bottomleft: 20px;
-webkit-border-bottom-left-radius: 20px;
width: 330px;
height: auto;
padding: 30px 30px 30px 130px;
filter: alpha(opacity=85);
opacity: .85;
}
.panel p{
margin: 0 0 15px 0;
padding: 0;
color: #fff;
}
.panel a, .panel a:visited{
margin: 0;
padding: 0;
color: red;
text-decoration: none;
}
.panel a:hover, .panel a:visited:hover{
margin: 0;
padding: 0;
color: #ffffff;
text-decoration: none;
}
<script type="text/javascript">
$(document).ready(function(){
$(".trigger").click(function(){
$(".panel").toggle("slow");
$(this).toggleClass("active");
return false;
});
});
</script>
ISIKAN KONTENNYA DISINI SOOOOBBB!!!
</div>
<a class="trigger" href="#">Your Title</a>
document.getElementsByClassName = function(clsName){
var retVal = new Array();
var elements = document.getElementsByTagName("*");
for(var i = 0;i < elements.length;i++){
if(elements[i].className.indexOf(" ") >= 0){
var classes = elements[i].className.split(" ");
for(var j = 0;j < classes.length;j++){
if(classes[j] == clsName)
retVal.push(elements[i]);
}
}
else if(elements[i].className == clsName)
retVal.push(elements[i]);
}
return retVal;
}//taken from Netlobo.com (http://www.netlobo.com/javascript_getelementsbyclassname.html)
function addSmiley(dummy){
var d = [], i=0, def = ['post-body','entry-content','comment-body'];
for(i=0;i<def.length;i++){
var content = document.getElementsByClassName(def[i]);
for(var j=0;j<content.length;j++)
d.push(content[j]);
}
for(i=0;i<arguments.length;i++){
var content = document.getElementsByClassName(arguments[i]);
for(var m=0;m<content.length;m++)
d.push(content[m]);
}
for(var i=0;i<d.length;i++){
d[i].innerHTML = d[i].innerHTML.replace (/o:\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/25.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\:\-B/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/26.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\=\;/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/27.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\:\-c/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/101.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\:\)\]/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/100.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\~X\(/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/102.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\:\-h/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/103.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\I-\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/28.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\8-\|/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/29.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\L-\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/30.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\:-\&/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/31.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\:-\$/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/32.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\[-\(/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/33.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\:O\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/34.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\8-\}/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/35.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\<\:\-P/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/36.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\(\:\|/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/37.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\=P\~/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/38.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\:-\?/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/39.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\#\-O/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/40.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\:-SS/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/42.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\@-\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/43.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\:\^O/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/44.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\:-\</ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/46.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\<\)\:\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/48.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\o=\>/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/73.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\o-\+/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/74.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\(\%\)/ig,"<img src = 'http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/75.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\:\"\>/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/9.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\[\-o\</ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/63.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\$\-\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/64.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\:\-\"/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/65.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/b-\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/16.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/b-\(/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/66.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\:\)\>\-/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/67.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\\\:D\//ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/69.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\>\:\//ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/70.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\;\)\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/71.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\:\-\@/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/76.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\^\:\)\^/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/77.gif' id='new' >")
d[i].innerHTML = d[i].innerHTML.replace (/\:\-j/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/78.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\(\*\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/79.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/o-\>/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/72.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\=\:\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/60.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\>\-\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/61.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\:\-L/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/62.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\8-x/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/59.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\*\-\:\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/58.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\~O\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/57.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\(\~\~\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/56.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\*\*\=\=/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/55.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\%\%\-/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/54.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\@\}\;\-/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/53.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\~\:\>/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/52.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\/\:\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/23.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\>\:\D\</ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/6.gif' id='new' alt='>:-D<'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\>:\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/19.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\=\)\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/24.gif' id='new' alt='=)'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\=\(\(/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/12.gif' id='new' alt='=('/>")
d[i].innerHTML = d[i].innerHTML.replace(/\:\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/1.gif' id='new' alt=':)'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\:\(\|\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/51.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\:\(\(/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/20.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\:\-\*/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/11.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\:\|/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/22.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\:\(/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/2.gif' id='new' alt=':('/>")
d[i].innerHTML = d[i].innerHTML.replace(/\;;\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/5.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace(/\;\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/3.gif' id='new' alt=';)'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\:D/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/4.gif' id='new' alt=':-D'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\:\-\//ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/7.gif' id='new' alt=':-C'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\:-T/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/104.gif' id='new' alt=':-T'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\:x/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/8.gif' id='new' alt=':X'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\:>/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/15.gif' id='new' alt=':>'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\#:-S/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/18.gif' id='new' alt='hash :- S'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\:-S/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/17.gif' id='new' alt=':-S'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\:o3/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/108.gif' id='new' alt=':o3' />")
d[i].innerHTML = d[i].innerHTML.replace(/\8-\>/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/105.gif' id='new' alt='8->'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\:-W/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/45.gif' id='new' alt=':-w'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\[-*x/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/68.gif' id='new' alt='[-X'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\s*x\(/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/14.gif' id='new' alt='X('/>")
d[i].innerHTML = d[i].innerHTML.replace(/\:-O/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/13.gif' id='new' alt=':-O'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\:P/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/10.gif' id='new' alt='>:P'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\=D>/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/41.gif' id='new' alt='=D>'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\s=;/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/27.gif' id='new' alt='=;>'/>")
d[i].innerHTML = d[i].innerHTML.replace(/\:\-\?\?/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/106.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\%\-\(/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/107.gif' id='new' />")
d[i].innerHTML = d[i].innerHTML.replace (/\:\@\)/ig,"<img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/49.gif' id='new' />")
}
}
function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
} else {
window.onload = function() {
oldonload();
func();
}
}
}
addLoadEvent(function(){
addSmiley();
});