Wednesday, March 30, 2011

Happy Birthday Video.. have fun

-->





funny accident, funny birthday accident





Happy Birthday to You, dance performed by Chipmunks Alvin, Theodore and Simon; music is taken from different videos and of course the Chipmunks are not singing this song by themselves. This video was intended for all who would appreciate amateur video makers :)
Heute ist der Namenstag meines Baby´s und ich könnte dich nicht mehr lieben, als heute!! Du bist mein Leben seit dem 1. Klick .. meine über alles stehende Liebe!!

Monday, March 28, 2011

Scary Video... how will it scar you take a look







Scary Video... how will it scar you take a look

Funny jokes shortest jokes and video




Banta calls FM radio: I'v found sm1 named Kamaljit's wallet wid Rs. 15000.
RJ: Sir! U wnt 2 retrn d wallet?
Banta: Ni pagal! I wnt 2 dedicate a sad song 2 him.;-)

Banta's Son: Papa, today Miss asked us a question, and only I can answered.
Banta: What was that question?
Son: Who farted in class?


Dhoni's Mom: Go and bring some vegetables from market.
Dhoni: But Mom, We defeated by South Africa, and public are in full anger.
Mom: Wear my sari and then go, no one will recognize you.
Dhoni goes to market wearing saree.
A Girl: Hi Dhoni, how are you?
Dhoni got shocked.
Dhoni: How did you know, I am Dhoni?
Girl: Abeh.. I am Nehra.


Ticket seller: Boss, no one is buying "Tees Maar Khan" tickets!
Boss: Give it free. Once they enter, close the doors & start selling
EXIT tickets @
Rs 200..!!


DHONI to SACHIN: "God has sent me on earth to show people how to play
cricket-" :-)

SACHIN Replied: "I never sent anybody"



On Weekend Night,
WIFE In Romantic Mood: Aaj Muje Rassi Se Bandh Do Or Jo Karna Chaho Kr Lo.
Husband Ne Usay Bandha Or Dosto K Sath Ghoomne Chala Gaya
Hav a nice & safe weekend!


Customer to waiter: Everyday you charge me money for a cup of coffee. It will be wonderful if you serve me coffee free of

cost today.
Waiter: Sir, everyday you drink coffee from a filled cup. It will be wonderful if you drink it from an empty cup today.



When asked what forgiveness is,
a little girl gave this beautiful answer,
“Forgiveness is sweet scent that a flower gives when it is crushed. “


Tiger & Tigeress were resting under tree suddenly a deer passed by vry fast.
TIGRESS couldn't mak out & Ask- wt was dat.
Tiger smiled & said-FAST FOOD :)


   

Best Examples of Jquery, view source code






  1. Display alert box on clicking link



  2. Separating custom code in different file



  3. Display current time using jQuery & JSP


  4. Selecting element using jQuery.


  5. Showing content of a file using JSP & jQuery


  6. Calculating square root using JSP & jQuery


  7. Hide hyperlink using jQuery





  8. Hide text by clicking button




  9. Hide boxes by clicking on it using jQuery





  10. Hide/Show paragraph by button click




  11. Hide/show Image by click



  12. Show text field & check input using jQuery




  13. Show text by button click using jQuery





  14. Highlight text by changing color on every click(Toggle effect)




  15. Display two alert box alternately by clicking on text





  16. Change paragraph by clicking button(Toggle effect)


  17. Toggle hide/show by clicking same button


  18. Insert text into database table using JSP & jQuery




  19. jQuery blur event




  20. jQuery change event





  21. jQuery change event with multiple select option


  22. Form validation using jQuery plug in & JSP


  23. jQuery focus event



  24. jQuery 'slideToggle' & 'slideUp' function


  25. Login through database with the help of jQuery 'ajax' & JSP




  26. The 'innerfade' effect using jQuery plug-in




  27. The 'innerfade' effect with "Images" using jQuery plug-in





  28. The easy Slider plug-in of jQuery




  29. The easy slider plug-in implementing with numeric boxes




  30. The animation of image using the 'animate' effect of jQuery



  31. Moving Div by button click using animate effect





  32. Animating 'Div' blocks with different effects simultaneously




  33. Auto select cell on mouse hover using 'hover' mouse event





  34. append' & 'fade out/in' on mouse hover




  35. Enlarge Image pop up on hovering the image using plugin




  36. jQuery '.live' & '.die' Mouse events




  37. jQuery bind event





  38. Bind custom event with an element using 'bind'




  39. jQuery 'select' form event





  40. jQuery 'submit' form event




  41. jQuery.fx.off





  42. Auto complete text box using jQuery plug in




  43. The scroll browser event of jQuery




  44. Display message on scroll Event


  45. jQuery auto complete through database using JSP




  46. jQuery 'serialize' Ajax shorthand method




  47. jQuery "height" method





  48. The queue, dequeue & clearQueue effect of jQuery

  49. Pop up on hover using jQuery plug in

  50. "jQuery. browser " utility method



  51. Popup on hover without plug-in


  52. Crop Image using plug-in ,JSP and 'Servlet'


  53. key down' mouse event of the jQuery


  54. The 'offset' method of jQuery to find the co-ordinate



  55. Image Slide Show using 'Space gallery' plug-in

  56. jQuery Convert string to number

  57. jQuery icon Dock plug-in

  58. Auto grow Text Area using jQuery plug-in

  59. jQuery Simple Drop Down Menu


  60. Zoom Image section using jQuery plug-in

  61. jQuery 'Tab Slide Out' Plug-in

  62. Slider Gallery plug-in

  63. Fancy Box plug-in for text, portal & swf file

  64. Fancy Box plug-in for Images

  65. jQuery kwicks plug-in



  66. jQuery popup Date picker

  67. jQuery kwicks plug-in for creation of animating image title


  68. jQuery UI Tabs





  69. Content highlighting using jQuery



  70. Color picker jQuery plug-in


  71. jQuery check username availability using JSP


  72. Fancy box with You Tube Video Popup


Following are the demo links of the tutorials at

http://www.roseindia.net/tutorial/ajax/jquery/index.html




  1. jQuery Animate




  2. jQuery autocomplete



  3. jQuery Button
  4. jQuery email validation

  5. jQuery password validation

  6. Plain Text Editor


  7. jQuery
    tooltip

  8. JQuery url validation


Following are the demo links of the tutorials at
http://www.roseindia.net/ajax/jquery/index.shtml


1. Introduction to jQuery

2. Downloading and installing jQuery


  1. Server time Example




  2. jQuery Load Content

  3. jQuery to Vertical Image Scroller

  4. jQuery Toggle the Div

  5. jQuery
    to text changes with fading effect

  6. jQuery
    to text changes with sliding effect

  7. jQuery
    Drop Down Menu

  8. jQuery chain-able state of transition


  9. jQuery
    To Simple tabs

  10. jQuery to Simple Image Scroller


  11. jQuery To Slide Effects tabs


  12. jQuery to Show Data Randomly

  13. jQuery
    to Post Data Check

  14. jQuery to Image Changes With Sliding Effect

  15. jQuery
    to Image Magnifier

  16. jQuery to Image Changes With Fading Effect

  17. jQuery to "Hello World"

  18. jQuery To Fade Effects tabs


  19. jQuery to validate Email Address

  20. jQuery To Hide the Div

  21. jQuery
    To Custom tabs

  22. jQuery to Select Multiple CheckBox

  23. jQuery To callback tabs

  24. jQuery to Auto Image Scroller
  25. No Max-height Fixed

  26. With Fixed Max-Height

Display alert box on click in jquery




<html>
<head>
<script type="text/javascript" src="jquery-1.4.2.js">script>
<script type="text/javascript">
$(document).ready(function(){
$("a").click(function(event){
alert("Redirecting you to jQuery.com!","Alert Dialog");
});
});
script>
head>
<body>
<a href="http://jquery.com/">Click here to know about jQuerya>
body>
html>
 
 
Click to View Demo  


simple example of javascript and jquery, onclicking the link it will redirect to the other pages,
redirecting code to the other pages after clicking in the link

Topics for Jquery




What are the the topics to be perfect in the Jquery?


JQuery step by step using the following tutorials:

Overview of jQuery

1. Introduction to jQuery - jQuery is great library for developing ajax based application. jQuery is great library for the JavaScript programmers, which simplifies the development of web 2.0 applications.
2. Features of jQuery - Learn the features of jQuery.
3. Downloading and installing jQuery - In this section we will download and install jQuery for developing our demo application. jQuery comes as single js file.
4. jQuery Hello World example
5. jQuery Hello World alert example
6. How jQuery Works?
7. How to use jQuery with other libraries
8. Introduction to jQuery utility functions



Introduction to jQuery selectors

1. What is selectors?
2. What is filters?
3. Use of jQuery selectors
4. Use of jQuery filters
5. Use of jQuery attribute filters
6. Child Filter
7. Visibility filter
8. Content filter
9. Basic filter
10. Form Element Selector
11. (I) Traversing through filtering (II) Miscellaneous Traversing (III) Tree traversal
12. CSS Selectors
13. Hierarchical Selectors
14. Understanding jQuery statement chaining

HTML page content manipulation

1. Creating, getting, and setting content using jQuery
2. Manipulating attributes
3. Inserting content
4. Wrapping, replacing, and removing content
5. Working with CSS

Working with Events in jQuery

1. Understanding the jQuery event handling mechanism
2. Binding and unbinding events
3. Event helpers
4. Using the jQuery event object
5. Interaction Helpers: toggle() and hover()
6. Example Code

Introduction to jQuery Animations and Effects

1. Hiding and showing elements on the page
2. Fading elements in and out example
3. Sliding elements example
4. Creating custom animations in jQuery
5. Example code of jQuery animation

jQuery UI widget and plugin

1. Introduction to jQuery UI widgets
2. Downloading and installing jQuery UI
3. jquery UI Interactions
a)Draggable
b)Droppable
C)Resizable
d)Selectable
e)Sortable
4. jquery UI Widgets
a)Accordion
b)Autocomplete
c)Button
d)Datepicker
e)Dialog
f)Progressbar
g)Slider
h)Tabs
5. jquery UI Utility : position
6. jquery UI effects
7. jQuery UI Theming
a)Theming
b)Theming API
c)ThemeRoller
8. Introduction to jquery plugin
9. Difference between jQuery UI widget and plugin
10. jquery plugin examples code

XSLT Transformations with jQuery - Lean how to transform xml with XSLT

1. Using the jQuery Transform plug-in
2. Downloading and installing jQuery Transform plug-in
3. Performing transformations
4. Handling transformation output
5. Passing parameters to XSLT stylesheets

Unit testing the jQuery Application

1. Introduction to the QUnit Framework
2. Developing a program to test
3. Using the QUnit to test jQuery application

More jQuery Tutorials:

Here are the list of useful tutorials of jQuery.

1. Getting Started with jQuery
Many Getting Started examples for beginner.

2. jQuery Tutorial
Collection of more than 100 tutorials on jQuery.

3. Server time Example
In this first jQuery tutorial we will develop a simple program that retrieves the current time from server and displays on the user browser.

4. jQuery Load Content
In this section you will learn how to load content of a text file using jQuery and show it on the use browser.

5. jQuery to Vertical Image Scroller
In this first jQuery tutorial we will develop a program that vertical image scroller

6. jQuery Toggle the Div
In this JQuery tutorial we will develop a program that toggle the content of a Div

7. jQuery to text changes with fading effect
In this first jQuery tutorial we will develop a program that text Changes with fading effect.

8. jQuery to text changes with sliding effect
In this first jQuery tutorial we will develop a program that text Changes with sliding effect.

9. jQuery Drop Down Menu
In this JQuery tutorial we will develop a program to make Drop Down menu

10. jQuery chain-able state of transition
In this JQuery tutorial we will develop a program that changing the state of transition of box moving

11. jQuery To Simple tabs
In this JQuery tutorial we will develop a program to make simple tabs

12. jQuery to Simple Image Scroller
In this first jQuery tutorial we will develop a program that simple image scroller

13. jQuery To Slide Effects tabs
In this JQuery tutorial we will develop a program to make Custom tabs

14. jQuery to Show Data Randomly
In this first jQuery tutorial we will develop a simple program that Show Data Randomly from server and displays on the user browser. In this example we will be calling a server side PHP script to get the Random Data.

15. jQuery to Post Data Check
In this first jQuery tutorial we will develop a simple program that checking the data Post to server and displays on the user browser. In this example we will be calling a server side PHP script .

16. jQuery to Image Changes With Sliding Effect
In this first jQuery tutorial we will develop a program that images Changes with sliding effect.


17. jQuery to Image Magnifier
In this first jQuery tutorial we will develop a program that Image magnifier.

18. jQuery to Image Changes With Fading Effect
In this first jQuery tutorial we will develop a program that images Changes with fading effect.

19. jQuery to "Hello World"
In this jQuery tutorial we will develop a simple program that print the Hello World from server and displays on the user browser. In this example we will be calling a server side PHP script to get the "text".

20. jQuery To Fade Effects tabs
In this JQuery tutorial we will develop a program to make Fade Effect tabs

21. jQuery to validate Email Address
In this jQuery tutorial we will develop a program that validate the email address from server and displays on the user browser. In this example we will be calling a server side PHP script to get the "result".

22. jQuery To Hide the Div
In this JQuery tutorial we will develop a program that Hide of a Div

23. jQuery To Custom tabs
In this JQuery tutorial we will develop a program to make Custom tabs

24. jQuery to Select Multiple CheckBox
In this first jQuery tutorial we will develop a simple program that retrieves the value of selected checkbox from server and displays on the user browser. In this example we will be calling a server side PHP script .

25. jQuery To callback tabs
In this JQuery tutorial we will develop a program to calling function on Tab

26. jQuery to Auto Image Scroller
In this first jQuery tutorial we will develop a program that auto image scroller

27.

No Max-height Fixed
In this JQuery tutorial we will develop a program that Auto generate of a Textarea with minimum fixed height but no max height fixed.
28.

With Fixed Max-Height
In this JQuery tutorial we will develop a program that Auto generate of textarea with fixed Max-Height.


Jquery tutorial, jquery simple example, jquery useful topics,learn jquery easily, learn j query with example, simple example of jquery, jquery learn quickly, jquery video tutorial

Friday, March 25, 2011

Funny jokes




Tried with her right hand, she even tried with her teeth

A couple went to a doctor because the man was feeling down, tired all the time. The doctor said I will give a shot of vitamins, a prescription for some pep pills from the drugstore, and an empty jar for checking your sperm count - bring it back in next week so I can check it. When the guy came back to the doctor, the doctor said "Why, this jar is empty, I told you I needed to do a sperm count." The guy said, "I tried with my left hand, I tried with my right hand, my wife tried with her left hand and she also tried with her right hand, she even tried with her teeth. We could not get that jar open!"


'Die! You son of a bitch, die!'"

"I'm worried that I'm losing my wife's love," the husband told the counselor.
"Has she started to neglect you?"
"Not at all," the dejected man replied. "She meets me at the door with a cold drink and a warm kiss. My shirts are always ironed, she's a great cook, the house is always neat, she keeps the kids out of my hair. She lets me choose the television shows we watch and she never objects to sex or says she has a headache."
"So what's the problem?"
"Maybe I'm just being too sensitive," the husband ventured, "but at night, when she thinks I'm sleeping, she puts her lips close to my ear and whispers, 'Die! You son of a bitch, die!'"


Taxi driver versus Hooker
A young man and his date were parked on a back road some distance from town. They were about to have sex when the girl stopped.

"I really should have mentioned this earlier, but I'm actually a hooker and I charge $20 for sex." The man reluctantly paid her, and they did their thing.

After a cigarette, the man just sat in the driver's seat looking out the window. "Why aren't we going anywhere?" asked the girl.

"Well, I should have mentioned this before, but I'm actually a taxi driver, and the fare back to town is $25..."


Taken From Youtube


Obama in Nepal

Nepali bhayera Nepali ko nei ( means yourself) khilli na udaunu. Obama ko yo jhutho tasveer nepali get up maa rakhera tapai le aafu lai auta fraud ra murkha nepali bhanera you tube darshak lai pahichan dinu bhayo. Thank you. (try yourself to be like obama by following his thoughts, principles and actions rather than false imitation which could really bring prosperity and harmoney in the country.)

CSV import /export code






$db_hostname = 'localhost';

$db_username = 'root';

$db_password = '';

$db_name = 'db_csvtest';
$db_connection = mysql_connect($db_hostname, $db_username, $db_password) or die("Error:=>Could not connect");

mysql_select_db($db_name);
?>






Untitled Document



<?php

  include('dbconnect.php');

  ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <html xmlns="http://www.w3.org/1999/xhtml">

  <head>

  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

  <title>Export MYSQl Data to CSV/Excel file in PHP</title>

  <link rel="stylesheet" type="text/css" href="css/style.css" />

  </head>

<body>

  <div align="center" style="padding:20px;">

<table  width="100%"  cellpadding="0"  cellspacing="0" border="0">

  <tbody>

  <tr>

  <td>

  <strong>Exporting MySQL data  into CSV/Excel file in PHP</strong>

  </td>

  </tr>

  <tr>

  <td>

  <div  style="overflow:scroll;  height:400px; width:300px; margin-top:20px;">

  <?php

  $result = mysql_query("SELECT *    FROM tbl_country ORDER BY country_id ASC");

  $row_data = mysql_fetch_array($result);

  while($row_data = mysql_fetch_array($result)) {

  ?>

 

  <div style="padding:0px 0px 2px 0px; border: 1px medium #999999;"><?php echo $row_data['country_id']?>  -  <?php echo $row_data['country_name']?>  - <?php echo $row_data['country_code']?> </div>

 

  <?php } ?>

  </div>

 

 

  </td>

  </tr>

  <tr>

  <td style="padding-top:20px; font-weight:bold;">

  <a href="export_data.php?filename=country_list">Export Data to Excel File</a>

  </td>

  </tr>

  <tr>

  <td style="padding-top:20px; font-weight:bold;">

  <a href="csv.php?filename=country_list">Export Data to CSV File (with table fieldname as header)</a>

  </td>

  </tr>

  </tbody>

  </table>

</div>


<?php

  mysql_close($db_connection);

  ?>

  </body>

  </html>







CSV import /export code






$db_hostname = 'localhost';

$db_username = 'root';

$db_password = '';

$db_name = 'db_csvtest';
$db_connection = mysql_connect($db_hostname, $db_username, $db_password) or die("Error:=>Could not connect");

mysql_select_db($db_name);
?>






Untitled Document



<?php

  include('dbconnect.php');

  ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <html xmlns="http://www.w3.org/1999/xhtml">

  <head>

  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

  <title>Export MYSQl Data to CSV/Excel file in PHP</title>

  <link rel="stylesheet" type="text/css" href="css/style.css" />

  </head>

<body>

  <div align="center" style="padding:20px;">

<table  width="100%"  cellpadding="0"  cellspacing="0" border="0">

  <tbody>

  <tr>

  <td>

  <strong>Exporting MySQL data  into CSV/Excel file in PHP</strong>

  </td>

  </tr>

  <tr>

  <td>

  <div  style="overflow:scroll;  height:400px; width:300px; margin-top:20px;">

  <?php

  $result = mysql_query("SELECT *    FROM tbl_country ORDER BY country_id ASC");

  $row_data = mysql_fetch_array($result);

  while($row_data = mysql_fetch_array($result)) {

  ?>

 

  <div style="padding:0px 0px 2px 0px; border: 1px medium #999999;"><?php echo $row_data['country_id']?>  -  <?php echo $row_data['country_name']?>  - <?php echo $row_data['country_code']?> </div>

 

  <?php } ?>

  </div>

 

 

  </td>

  </tr>

  <tr>

  <td style="padding-top:20px; font-weight:bold;">

  <a href="export_data.php?filename=country_list">Export Data to Excel File</a>

  </td>

  </tr>

  <tr>

  <td style="padding-top:20px; font-weight:bold;">

  <a href="csv.php?filename=country_list">Export Data to CSV File (with table fieldname as header)</a>

  </td>

  </tr>

  </tbody>

  </table>

</div>


<?php

  mysql_close($db_connection);

  ?>

  </body>

  </html>







Wednesday, March 23, 2011

Letters Fun