Sliding menu using jQuery and ScrollTo
Posted by Sajith M.R in Downloads, html on 21. Feb, 2010 | 0 Comments
Recently I created a sliding menu for a project using jQuery and ScrollTo functions.
See demo: Slider Menu
We can use the jQuery function $(”.menubar”).scrollTo(id_of_element) to scroll any scrollable area to a particular location.
The idea behind every smooth sliding is using scroll function with overflow:hidden mode.
You can download the source code from : http://www.sajithmr.me/downloads/slider/slider.zip
Here div menu-bar is [...]
Jmail++ , My Final Year Project
Posted by Sajith M.R in Downloads, linux, webworld on 14. Apr, 2008 | 18 Comments
I am writing this topic in sajithmr.com, because i am getting a lot of queries regarding this project from the place I submitted , ProjectGuidance.com , 3 years back. It was a new Webmail Service Idea Developed in JSP . Here is the link. http://www.projectguidance.com/guidance/details/id/36676649 .
There are more than 400 replies [...]
PHP post without curl
Posted by Sajith M.R in Downloads, php, php source code on 04. Apr, 2008 | 8 Comments
You can simulate the post method using php without the help of curl library.
download full source code:
See the code below:
function do_post_request($url, $data, $optional_headers = null) {
$params = array(’http’ =>; array(’method’ =>; ‘POST’,
‘content’ =>; $data
));
if ($optional_headers !== null) {
$params['http']['header'] = $optional_headers;
}
$ctx = stream_context_create($params);
$fp = @fopen($url, ‘rb’, false, $ctx);
if (!$fp) {
throw new Exception(”Problem with $url, $php_errormsg”);
}
$response = [...]
OpenID Integration PHP
Posted by Sajith M.R in Downloads, php, php source code, webworld on 03. Apr, 2008 | 3 Comments
I think you know the use of OpenID. Else go here and learn
http://en.wikipedia.org/wiki/OpenID
http://openid.net/what/
http://openiddirectory.com/
In a nutshell, the OpenID technology makes life simpler by having only one username and password to remember – yahoo OpenID tour
Here the php source code for integrating your site with OpenID. If you have a website which has user login / [...]
ffmpeg sample code
Posted by Sajith M.R in Downloads, php source code on 12. Jun, 2007 | 74 Comments
Install ffmpeg library in your server first.
Place a video file of any type on current directory (or anywhere), here it is clock.avi .
Click more for source code:
extension_loaded(’ffmpeg’) or die(’Error in loading ffmpeg’);
$ffmpegInstance = new ffmpeg_movie(’clock.avi’);
echo “getDuration: ” . $ffmpegInstance->getDuration() .
“getFrameCount: ” . $ffmpegInstance->getFrameCount() .
“getFrameRate: ” . $ffmpegInstance->getFrameRate() .
“getFilename: ” . $ffmpegInstance->getFilename() .
“getComment: ” . $ffmpegInstance->getComment() [...]


