- shorten links and earn money!

How To Add Floating Notification Bar with Close Button

Do you want to tell/notify something to your blog readers with a more efficient way? What if you use "Floating Notification Bar" script to notify your friends. What is "Floating Bar Notification"? See demo.

Interested? Follow this tutorial to add the script.

Note : Save your templates before make any changes.


1. Go to your Dashboard >> Design >> Edit HTML >> without Check Expand Widget Templates.

2. Search this code (Ctrl + F), <head>

3. Add this code, just under the <head> tag.

4. Save your template.

5. Now, go to your Dashboard >> Design >> Page Element >> Add a Gadget.


6. Paste this code below in it :
<div id="topbar">
<a href="" onClick="closebar(); return false"><img src="" width="15" height="15" border="0" /></a>
Your content here

7. Replace Your content here with your own notification/content.

8. Make sure to place the page element on the most top and Save. [screenshot]


Like this script? Recommend and share it to your friends!

source : dynamicdrive


  1. I am just opening this amazing site through my own Internet Tablet and Could not find the entire website to be able to download. we Merely considered you should consider!

  2. hey i cant copythe code from fanbox... how can i copy it??

  3. @Em Ji Madhu
    Here it is: Put the code below, under <head> tag :

    <style type='text/css'>

    border: 1px solid black;
    padding: 2px;
    background-color: #ffcc66;
    width: 500px;
    visibility: hidden;
    z-index: 100;


    <script src='' type='text/javascript'>

    * Shared by Alfian Jamjin at HOW-TO HOUSE
    * Floating Top Bar script- &#169; Dynamic Drive (
    * Sliding routine by Roy Whittle (
    * This notice must stay intact for legal use.
    * Visit for full source code



    Customization :

    You can edit/change this value,

    #ffcc66 : Notification Bar background color

    500px : Notification Bar width


Drop your comment. Ask or suggestion.

Join us on Faceboook Page too.