Facebook Fan Page floating

Status
Not open for further replies.

pioneer_fawad

Banned
Banned
687
2009
62
0
hi,
Any one share how to add floating Facebook Fan Page like button, like in this picture

aa9c82866d.png


how to add in website/blog?

Regards
:)
 
4 comments
If you have a basic understanding of HTML then the following method will probably work for you.

First off we want to create a div to hold our content. I'll call it:
Code:
<div class="hover"></div>

Now lets style this with some CSS:
Code:
#hover {
position: fixed;
top: 15px;
right: 15px;
background-color: #FFFFFF;
Border: 1px solid black;
}

Now we need to make a inside button that will close the div. I'll use jquery for this example.

Code:
<div id="hover"><a href="#" onclick="javascript:$('#hover').hide();">Close</a></div>


This is the basic idea of it. I haven't tested anything above. If there is a problem I'll try my best to fix it.
 
Status
Not open for further replies.
Back
Top