Skip to content
WJunction - Webmaster Forum

Facebook Fan Page floating

Status
Not open for further replies.
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.

About the author

pioneer_fawad
Banned · Joined
know me know life No me No Life Posting Warez nothing else
687
Messages
62
Reactions
28
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom