Show Friends List in Facebook style Using jQuery Facebox
Facebook has many beautiful and stylish effects which is easy to integrate in our web application using jQuery. Here i have created facebook friends list style using jQuery facebox.
Download facebox plugin file to create facebox.
Database:
CREATE TABLE IF NOT EXISTS `friends` ( `f_id` int(11) NOT NULL AUTO_INCREMENT, `f_name` varchar(255) NOT NULL, `tag_line` varchar(255) NOT NULL, `f_image` varchar(50) NOT NULL, PRIMARY KEY (`f_id`) )
Custom CSS:
.uiButtonLarge{ padding:2px 6px; } input{ font-size:13px; } a#link{ font-family:Arial, Helvetica, sans-serif; color:#3B5998; font-weight:bolder; } .uiButtonConfirm{ background-color:#5B74A8; background-position:0 -48px; border-color:#29447E #29447E #1A356E; font-weight:bold; color:#FFFFFF; } .friends_area{ width:500px; padding:5px; height:50px; border-bottom: #999999 solid 1px; } .top_area{ background:#627AAD; font-size:14px; color:#FFFFFF; font-weight:bold; padding:6px 6px 6px 12px; } .name b{ font-size:14px; color:#3B5998; cursor:pointer; } .name{ font-size:14px; color:#666; padding:8px; } #search_area{ background:#F2F2F2 none repeat scroll 0 0; width:515px; padding:5px; height:30px; }
show_friends.php:
<div class="top_area">Friends of 99 Points</div> <div id="search_area"></div> <div style="overflow-y: scroll; height: 370px; margin-top: 3px;"> <div class="friends_area"> <img style="float: left;" src="images/<?php echo $row['f_image'];?>" alt="" height="50" /> <label class="name" style="float: left;"> <strong> </strong> </label></div> </div>
index.html:
// download and include jquery.js file // download and include facebox.js jQuery(document).ready(function($){ $('a[rel*=facebox]').facebox({ }) }) // and link which shows facebox on click. <a id="link" rel="facebox" href="show_friends.php">All Friends</a>
Who I Am

Zeeshan Rasool
Software Engineer - PHP
Lahore - Pakistan
zeeshan(@)99points.info
Skype: zeeshan-rasool
gTalk: zishan.rasool85
Categories
- AJAX (37)
- Codeigniter (16)
- CSS (16)
- Facebook (11)
- Joomla (1)
- JQuery (53)
- Miscellaneous (4)
- Mootools (1)
- MySQL (6)
- PHP (60)
- SEO (2)
- Technology (6)
- Tutorials (15)
- Twitter (2)
- Web Design (23)
- Web Development (57)
- WordPress (2)
Tags
99points
adobe
AJAX
ajax pagination
ajax rating
ajax tutorial
ajax voting system
captcha
Codeigniter
codeigniter 2.0
codeigniter recaptcha
CSS
css tutorials
dreamweaver cs5
Facebook
facebox
farmville
ffmpeg
flv
google api
hacking
Joomla
JQuery
JQuery Gallery
JQuery menus
Jquery tutorial
mafia war
Mootools
MySQL
pagination
Payment
PHP
php curl
recaptcha
RSS Feed
SEO
simplepie
socail networking
ssl
Tutorials
Twitter
wall script
Web
XSS
youtube
Comments
- ZeeShaN on Facebook Wall Script Clone with JQuery and PHP: Personal Project BETA Version 2.0
- 20 + Fresh jQuery Image Gallery/Slider Plugins and Tutorials Worth a Look | free on JQuery Based Flipped Image Gallery with Bounce Effects
- 20 + Fresh jQuery Image Gallery/Slider Plugins and Tutorials Worth a Look | free on Fresh JQuery Image Gallery with Captions and Auto Play/Pause Rotation
- 25 Cool and Helpful jQuery Plugins/Tutorials For Your Next Project | free on jQuery Tutorial: Create jQuery and CSS based Awesome navigation.
- 25 Cool and Helpful jQuery Plugins/Tutorials For Your Next Project | free on Ajax Tutorial: How to Create Ajax Search Using PHP jQuery and MYSQL
ZeeShaN







new version of facebook wall post is not working?
Thanks Vishal
Your every project amazing sir ………
I hv been fan of u
now its fine. thanks for pointing the issue.
Hey let me check please
hello Zeeshan,why the demos are not functioning for last couple of days.is there any problem????
S
wow awesome,ill try on my site..see u there..
thank you
nice one, good job Mr.Zeeshan