Archive: JavaScript Tutorial
-
Jul 26, 2011
No CommentsHow to make accordion using jquery and css
Last time I’ve written an article about how to make expand-collapse toggle panel using jQuery. Now, this time I’ll show you how to make collipsible accordion using jQuery.An accordion is a toggle pane where one pane slides down the other pane slides up. View Demo HTML Code : <div id="firstpane" class="msg_list"> <p class="msg_head">News-Head-1 </p> ...
-
Jul 26, 2011
No CommentsHow to call php from ajax in every second using Jquery
Few days ago, Mike emailed me and asked me how can i call a server script( php file) from jQuery in every second.Since, there was no built-in mechanism for this in jQuery, I came up with this solution of displaying time of server using Ajax, PHP and jQuery.You can use setinterval() method avaiable in javaScript...
-
Jul 26, 2011
No Commentshow to Expand-collapse toggle panel (div) using jquery
In this post, I’ll show you how easy it is to show expandable and collapsible toggle panel using jQuery. When you click on the heading, the content gets displayed by sliding and when you again click on the heading again, it gets collapsed. View LIVE DEMO Now let’s look at the html code, <div class="msg_list">...
-
Jul 26, 2011
No CommentsDisplay different color in alternate row using jquery
Most of the tabular data are organized in such a manner that they are easy to read. And for this, most of the developers use different color to highlight the alternate row.There are various method of displaying different row in different color but here I’m going to use the most simple method using jQuery. VIEW...
-
Jul 26, 2011
No CommentsImage hover effect using jQuery
In this post, I’ll show you how to make a image hover effect using “div” in jquery.Take a look at a telebid.com if you put the mouse over the bid button it will be changed to login and afterwards it become bid button. You can click here to view the demo. Step 1: First of...
-
Jul 06, 2011
No CommentsThe Status Bar Application in javascript
The first application is for a fictional company, JS Software’s download page. The goal of the program is to give the user a little more information than what is in the text of the page, without being obtrusive. We can do this by manipulating the status bar. In JavaScript, the window object has a property...
-
Jul 06, 2011
No CommentsWhat JavaScript Is
JavaScript shares the fundamental feature of all programming languages: it can get data from some source, process that data, and output the results. Because it is integrated into HTML, JavaScript already knows what your browser knows, and can figure out, for example how many form elements are on a page or how many frames are...
-
Jun 12, 2011
No CommentsWelcome to php2php.com
Welcome to...