Facebook Style TextArea with Wall Posting Script using jQuery PHP and Ajax.
Here is a script for you to create facebook wall style post inserting techniques and expandable text area like facebook. I have used jquery-elastic
and watermarking plugin of jquery to create this awesome effects.
Fresh and more enhanced facebook style posting and comments system
Basically, i here is a simple text area example with ajax posting in facebook style.
Table Structure:
CREATE TABLE `facebook_posting` ( `p_id` int(11) NOT NULL auto_increment, `f_name` varchar(50) NOT NULL, `post` varchar(255) NOT NULL, `f_image` varchar(50) NOT NULL, `date-created` datetime NOT NULL, PRIMARY KEY (`p_id`) )
Javascript Code: Ajax Call with Watermarking Text Area
$(document).ready(function(){ $('#shareButton').click(function(){ var a = $("#watermark").val(); $.post("posts.php?value="+a, { }, function(response){ $('#emailInfo').fadeOut(); $('#posting').html(unescape(response)); $('#posting').fadeIn(); }); }); $('textarea').elastic(); jQuery(function($){ $("#watermark").Watermark("What's on your mind?"); }); jQuery(function($){ $("#watermark").Watermark("watermark","#369"); }); function UseData(){ $.Watermark.HideAll(); //Do Stuff $.Watermark.ShowAll(); } });
Text Area HTML:
<form method="post"> <div class="UIComposer_Box"> <span class="w"> <textarea id="watermark" class="input" cols="60" name="watermark"></textarea> </span> <div style="padding: 10px; height: 30px;"> <label id="shareButton" class="uiButtonLarge uiButtonShare"> Share</label></div> </div> </form>
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







fsdfsd
Hey there, You have done a great job. I’ll definitely digg it and individually suggest to my friends. I’m sure they will be benefited from this web site.
[...] system. Try a new reloaded version of demo which is almost similar to facebook style. My previous facebook style posting system was not so much like original facebook posting style and also there is no commenting system [...]
[...] system. Try a new reloaded version of demo which is almost similar to facebook style. My previous facebook style posting system was not so much like original facebook posting style and also there is no commenting system [...]
very cool!
i cnt do that please help me and give me short way to do that please sir
[...] system. Try a new reloaded version of demo which is almost similar to facebook style. My previous facebook style posting system was not so much like original facebook posting style and also there is no commenting system [...]
Please help me with the code.I did paste the code on to my site but whenever i click on share the message never gets posted!Please help me with this!
thanks Quincy
PS: Use:
ALTER TABLE `facebook_comments` MODIFY COLUMN `date-created` TIMESTAMP DEFAULT now();
to get the timestamps working.