Thursday, 15 August 2013

Counting number of characters using strlen() in php

In this post we have discussed how to count the number of characters in a particular paragraph using the function strlen() in php.
      Using the function strlen() in php,we can able to calculate and count the number of letters in the content.

Counting number of characters using strlen() in php

Sunday, 11 August 2013

Multiplication table using php

In this post i haved designed how  to create a multiplication table that is generated by a loop that is 12 columns across.By using for loop concept lets see how the multiplication table is going to be design.
          Here i haved used nested loop ie used the for loop inside a for loop to display the output.


Multiplication table using php

Friday, 9 August 2013

Displaying a maximum amount of characters using substr() in php

In this post we have discussed about how the content is viewed by onclicking the link, more.In a paragraph we used to keep some particular lines then we will keep readmore link,by clicking on that link more the remaining content will displayed below.
     To view minimum lines visible and the maximun lines invisible using the function substring().

Displaying a maximum amount of characters using substr() in php

Wednesday, 7 August 2013

Live Notification like Facebook using Jquery and Css

Today I am going to share same kind of facebook like live notification system using jquery and css.
Everyone knows that facebook has a live notification messages that pop ups bottom-left corner. 



Using the simple Jquery code,we can use the live notification messages,


<script>
 $(document).ready(function() {
     $.sticky('The webpage has loaded!');
     var callnotification = function(){
     $.sticky('<b>You have a new message!</b>');
     }
     setInterval(callnotification,4000);
 });
</script>

Sunday, 4 August 2013

Static Drop down menu using css

Drop down menu can be designed using with a simple css. lets see how the coding works.

Dropdown menu