Thursday, 1 September 2011

Tukar Cursor pada Blog



Tutorial kali ini ialah berkongsi website yang dapat memudahkan anda mendapatkan kod bagi cursor ini serta sedikit pengubahsuaian pada kod tersebut.

1. Buka website http://www.cursors-4u.com/

2. Pilih cursor kegemaran anda. (Pastikan anda TIDAK mengambil cursor yang jenis animated, kerana ianya hanya berfungsi dalam IE)

3. Copy code yang diberikan. Contoh kod adalah seperti berikut. Kemudian DELETE kod yang telah diwarnakan seperti dibawah
<style type="text/css">body, a, a:hover {cursor: url(http://cur.cursors-4u.net/cursors/cur-2/cur116.cur), progress;}</style><a href="http://www.cursors-4u.com/cursor/2008/12/17/cool-blue-outer-glow-pointer.html" target="_blank" title="Cool Blue Outer Glow Pointer"><img src="http://cursors-4u.com/support.gif" border="0" alt="Cool Blue Outer Glow Pointer" style="position:absolute; top: 0px; right: 0px;" /></a>

4. Kod akhir sepatutnya kelihatan seperti ini sahaja.
<style type="text/css">body, a, a:hover {cursor: url(http://cur.cursors-4u.net/cursors/cur-2/cur116.cur), progress;}</style>

5. Kemudian dari dashboard anda > design > add a gadget > HTML/javascript, pastekan kod di atas diruangan tersebut.

6. Save dan lihat hasilnya.

Scroll Box Untuk Widget

Mudah je nak buat scroll box pada widget....ikot tutorial kat bawah ni k..

1. Pergi ke  dashboard > design > add a gadget > HTML/javascript
2. Kemudian masukkan/ubah kod widget macam kat bawah ni.

<div style="width:426px;height:100px;overflow:auto; ">

Letakkan kod widget anda disini

</div>
Anda boleh menukar lebar dan ketinggian scroll box mengikut selera anda..hehe
width: ubah lebar yang anda mahu
height: ubah tinggi yang anda mahu


3. Save n try la,..





Tutorial Buat Scroll Box Untuk Blog Archive

Ni de tutorial macam mana nak buat  scroll box untok blog archive..biar nmpk lagi kemas.. tak panjang sangat..

1. Pergi ke dashboard > design > edit html > Expand widget templates

2. Menggunakan fungsi find (ctrl + F), cari kod <div id='ArchiveList'>

3. Anda akan jumpa kod ini <div class='widget-content'> sebelum kod <div id='ArchiveList'>

4. Gantikan kod <div class='widget-content'> yang anda jumpa di langkah 3 dengan kod berikut.

<div class='widget-content' style='overflow:auto; height:200px'>


Note: Anda boleh tukar 200px dengan ketinggian yang anda mahukan.

Contoh:

Sebelum.


Selepas


4. Save dan lihat hasilnya


 Selamet mencuba!!!!





Tutorial Buat Tab Menu

Tutorial  ni adalah untuk membuat tab menu pada blog anda...untuk bagi cantik lagi la paparan blog korang,,



oK jom start bertutorial......


1. Pergi ke dashboard > design > edit html
(backup template untuk keselamatan)

2.  Cari kod
(ctrl + F) ]]></b:skin>  ... Kalau tak jumpa, cari kod </head>

3. Copy
(ctrl + C) dan paste (ctrl + V) kod di bawah SEBELUM kod yang anda jumpa di langkah 2

ul#list-nav {
list-style:none;
margin:20px;
padding:0;
width:525px
}

ul#list-nav li {
display:inline
}

ul#list-nav li a {
text-decoration:none;
padding:5px 0;
width:100px;
background:#FF0099;
color:#eee;
float:left;
text-align:center;
border-left:1px solid #fff;
-moz-border-radius: 5px;
}

ul#list-nav li a:hover {
background:#FF6699;
color:#000
-moz-border-radius: 5px;
}


Contoh.:
Tutorial Buat Tab Menu



4. Save template korang
5. Kemudian, kembali ke dashboard, pergi ke design > page element > add a gadget > HTML/javascript

6. Copy dan paste kod di bawah di dalam HTML/javascript kemudian tukarkan 'Link' dengan link yang anda mahu letak di tab menu.
Contoh : <li><a href='http://faiz-tutorial.blogspot.com'>Home</a></li>

Selepas selesai masukkan link yang dikehendaki,
save.

<div>
<ul id='list-nav'>
<li><a href='Link'>Home</a></li>
<li><a href='Link'>About Us</a></li>
<li><a href='Link'>Services</a></li>
<li><a href='Link'>Products</a></li>
<li><a href='Link'>Contact</a></li>
</ul>
</div>

7. Drag ke bawah element header, save dan lihat hasilnya.:)
Tutorial Buat Tab Menu


Nota 1: Untuk langkah 3, anda boleh ubah beberapa kod seperti warna background, border, dan radius. Bergantung kepada bagaimana tab menu yang anda mahukan.

Nota 2: Jika anda hendak tambah tab menu, copy paste barisan di langkah 6.

Multi Color Link Hover - Rainbow

ni cara nak wat multi color link hover..jadi warna link jadi warna warni bila terkene cursor..

   1. Pergi ke Design > Edit HTML
   2. Cari (Ctrl+F) kod </head>   3. Copy ( Ctrl+C) dan Paste (Ctrl+V) kat bawah kod </head>

    <script type='text/javascript'>

    //<![CDATA[

    var rate = 20;

    if (document.getElementById)
    window.onerror=new Function("return true")

    var objActive;  // The object which event occured in
    var act = 0;    // Flag during the action
    var elmH = 0;   // Hue
    var elmS = 128; // Saturation
    var elmV = 255; // Value
    var clrOrg;     // A color before the change
    var TimerID;    // Timer ID

    if (document.all) {
        document.onmouseover = doRainbowAnchor;
        document.onmouseout = stopRainbowAnchor;
    }
    else if (document.getElementById) {
        document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
        document.onmouseover = Mozilla_doRainbowAnchor;
        document.onmouseout = Mozilla_stopRainbowAnchor;
    }

    function doRainbow(obj)
    {
        if (act == 0) {
            act = 1;
            if (obj)
                objActive = obj;
            else
                objActive = event.srcElement;
            clrOrg = objActive.style.color;
            TimerID = setInterval("ChangeColor()",100);
        }
    }


    function stopRainbow()
    {
        if (act) {
            objActive.style.color = clrOrg;
            clearInterval(TimerID);
            act = 0;
        }
    }


    function doRainbowAnchor()
    {
        if (act == 0) {
            var obj = event.srcElement;
            while (obj.tagName != 'A' && obj.tagName != 'BODY') {
                obj = obj.parentElement;
                if (obj.tagName == 'A' || obj.tagName == 'BODY')
                    break;
            }

            if (obj.tagName == 'A' && obj.href != '') {
                objActive = obj;
                act = 1;
                clrOrg = objActive.style.color;
                TimerID = setInterval("ChangeColor()",100);
            }
        }
    }


    function stopRainbowAnchor()
    {
        if (act) {
            if (objActive.tagName == 'A') {
                objActive.style.color = clrOrg;
                clearInterval(TimerID);
                act = 0;
            }
        }
    }


    function Mozilla_doRainbowAnchor(e)
    {
        if (act == 0) {
            obj = e.target;
            while (obj.nodeName != 'A' && obj.nodeName != 'BODY') {
                obj = obj.parentNode;
                if (obj.nodeName == 'A' || obj.nodeName == 'BODY')
                    break;
            }

            if (obj.nodeName == 'A' && obj.href != '') {
                objActive = obj;
                act = 1;
                clrOrg = obj.style.color;
                TimerID = setInterval("ChangeColor()",100);
            }
        }
    }


    function Mozilla_stopRainbowAnchor(e)
    {
        if (act) {
            if (objActive.nodeName == 'A') {
                objActive.style.color = clrOrg;
                clearInterval(TimerID);
                act = 0;
            }
        }
    }


    function ChangeColor()
    {
        objActive.style.color = makeColor();
    }


    function makeColor()
    {
        // Don't you think Color Gamut to look like Rainbow?

        // HSVtoRGB
        if (elmS == 0) {
            elmR = elmV;    elmG = elmV;    elmB = elmV;
        }
        else {
            t1 = elmV;
            t2 = (255 - elmS) * elmV / 255;
            t3 = elmH % 60;
            t3 = (t1 - t2) * t3 / 60;

            if (elmH < 60) {
                elmR = t1;  elmB = t2;  elmG = t2 + t3;
            }
            else if (elmH < 120) {
                elmG = t1;  elmB = t2;  elmR = t1 - t3;
            }
            else if (elmH < 180) {
                elmG = t1;  elmR = t2;  elmB = t2 + t3;
            }
            else if (elmH < 240) {
                elmB = t1;  elmR = t2;  elmG = t1 - t3;
            }
            else if (elmH < 300) {
                elmB = t1;  elmG = t2;  elmR = t2 + t3;
            }
            else if (elmH < 360) {
                elmR = t1;  elmG = t2;  elmB = t1 - t3;
            }
            else {
                elmR = 0;   elmG = 0;   elmB = 0;
            }
        }

        elmR = Math.floor(elmR).toString(16);
        elmG = Math.floor(elmG).toString(16);
        elmB = Math.floor(elmB).toString(16);
        if (elmR.length == 1)    elmR = "0" + elmR;
        if (elmG.length == 1)    elmG = "0" + elmG;
        if (elmB.length == 1)    elmB = "0" + elmB;

        elmH = elmH + rate;
        if (elmH >= 360)
            elmH = 0;

        return '#' + elmR + elmG + elmB;
    }

    //]]>

    </script>

Untuk mengawal kelajuan penukaran warna, anda boleh tukar pada var rate = 20.

Dapatkan Kembali Security Code Phone Symbian

 Lupa security code hp anda? Benda ni biase berlaku kalau bali hp second-hand ...hehe Ok ni tutorial mcm mana nak dapatkan semula security code tu...Tp trik ni boleh digunakan pada hp jenis Nokia BB5 macam NOKIA 5700, NOKIA 6300, NOKIA 6630, N73, N82...aku dah try buat kat hp N82 & N73..success ngan jayanya...


First korang kne sediakan bahan2 yang diperlukan:
1. PC
2. Kabel USB
3. Download Nemesis Service Suite Beta 1.0.38.15 (zip file,6.95 MB)
4. Nokia PC Suite



Kaedah 1: Dapatkan Semula Kod

1. Sambungkan hp anda ke PC dengan menggunakan kabel. ( akan automatik ter'install driver pada hp anda yang terdapat pada Nokia PC Suite )
2. Install Nemesis
3. Pilih USB Virtual semasa pemasangan (dalam kes
nokia 6120c, untuk nokia 5700 menggunakan diamond protection)

4. Setelah selesai pemasangan ..buka aplikasi Nemesis tersebut dan  klik pada Scan Button
5. Selepas itu klik pada Phone Info dan klik pada Scan
6.Ok. klik pulak pada PERMANENT MEMORY TAB di sebelah kanan bawah
7. Klik pada READ dan ia akan mula membaca Permanent Memory File dan akan menyimpannya pada lokasi  D:\Program Files\NSS\Backup\pm
\356252*********.pm 
dan buka fail tersebut menggunakan Notepad

8. Sekarang skroll sehingga FIELD [308] dan pada rekod yang ke-5 , security code itu disimpan..
Sebagai contoh:
5=31303038350000000000
padam semua angka "3" dan ia akan jadi seperti ini
 5= 10085 0000000000
jadi  lock code anda adalah 10085




Selamat mencuba:)

Keyword Untuk Command Prompt


Salam sume..Ni aku nak share beberapa list keyword command prompt yang aku tau..kebanyakkannye ley guna kat windows xp..kat win 7 pon boleh gak tapi tak sume la...

 Accessibility Options : access.cpl
Add Hardware: hdwwiz.cpl
Add / Remove Programs: appwiz.cpl
Administrative Tools : control admintools
Automatic Updates: wuaucpl.cpl
Wizard file transfer Bluethooth: fsquirt
Calculator: calc
Certificate Manager: certmgr.msc
Character: charmap
Checking disk : chkdsk
Manager of the album (clipboard) : clipbrd
Command Prompt : cmd
Service components (DCOM) : dcomcnfg
Computer Management : compmgmt.msc
DDE active sharing : ddeshare
Device Manager : devmgmt.msc
DirectX Control Panel (if installed) : directx.cpl
DirectX Diagnostic Utility : dxdiag
Disk Cleanup : cleanmgr
Disk Defragmenter : dfrg.msc
Disk Management : diskmgmt.msc
Partition manager : diskpart
Display Properties : control desktop
Properties of the display (2) : desk.cpl
Properties display (tab "appearance") : control color
Dr. Watson: drwtsn32
Manager v?rirficateur drivers : check
Event Viewer : Eventvwr.msc
Verification of signatures of files: sigverif
Findfast (if present) : findfast.cpl
Folder Options : control folders
Fonts (fonts) : control fonts
Fonts folder windows : fonts
Free Cell ...: freecell
Game Controllers : Joy.cpl
Group Policy (XP Pro) : gpedit.msc
Hearts (card game) : mshearts
IExpress (file generator. Cab) : IExpress
Indexing Service (if not disabled) : ciadv.msc
Internet Properties : inetcpl.cpl
IPConfig (display configuration): ipconfig / all
IPConfig (displays the contents of the DNS cache): ipconfig / displaydns
IPConfig (erases the contents of the DNS cache): ipconfig / flushdns
IPConfig (IP configuration cancels maps): ipconfig / release
IPConfig (renew IP configuration maps) : ipconfig / renew
Java Control Panel (if present) : jpicpl32.cpl
Java Control Panel (if present) : javaws
Keyboard Properties: control keyboard
Local Security Settings : secpol.msc
Local Users and Groups: lusrmgr.msc
Logout: logoff
Microsoft Chat : winchat
Minesweeper (game): winmine
Properties of the mouse: control mouse
Properties of the mouse (2): main.cpl
Network Connections : control NetConnect
Network Connections (2): ncpa.cpl
Network configuration wizard: netsetup.cpl
Notepad : notepad
NView Desktop Manager (if installed): nvtuicpl.cpl
Manager links: packager
Data Source Administrator ODBC: odbccp32.cpl
Screen Keyboard: OSK
AC3 Filter (if installed) : ac3filter.cpl
Password manager (if present): Password.cpl
Monitor performance : perfmon.msc
Monitor performance (2): perfmon
Dialing Properties (phone): telephon.cpl
Power Options : powercfg.cpl
Printers and Faxes : control printers
Private Character Editor : eudcedit
Quicktime (if installed) : QuickTime.cpl
Regional and Language Options: intl.cpl
Editor of the registry : regedit
Remote desktop connection : mstsc
Removable Storage: ntmsmgr.msc
requests the operator to removable storage: ntmsoprq.msc
RSoP (traduction. ..) (XP Pro): rsop.msc
Scanners and Cameras : sticpl.cpl
Scheduled Tasks : control schedtasks
Security Center : wscui.cpl
Console management services: services.msc
shared folders : fsmgmt.msc
Turn off windows : shutdown
Sounds and Audio Devices : mmsys.cpl
Spider (card game): spider
Client Network Utility SQL server : cliconfg
System Configuration Editor : sysedit
System Configuration Utility : msconfig
System File Checker (SFC =) (Scan Now) : sfc / scannow
SFC (Scan next startup): sfc / scanonce
SFC (Scan each d?marraget) : sfc / scanboot
SFC (back to default settings): sfc / revert
SFC (purge cache files): sfc / purgecache
SFC (define size CAHC x) : sfc / cachesize = x
System Properties : sysdm.cpl
Task Manager : taskmgr
Telnet client : telnet
User Accounts : nusrmgr.cpl
Utility Manager (Magnifier, etc) : utilman
Windows firewall (XP SP2) : firewall.cpl
Microsoft Magnifier: magnify
Windows Management Infrastructure: wmimgmt.msc
Protection of the accounts database: syskey
Windows update: wupdmgr
Introducing Windows XP (if not erased) : tourstart
Wordpad : write
Date and Time Properties : timedate.cpl

Selamat mencuba k:)