Javascript - JQuery

Highlight Input Element On Focus
Date : 14 Jul 2010
Views : 185

This code snippet shows how to highlight an input element when it has focus and remove the highlight when it loses focus.

Sliding Tab Control
Date : 12 Jul 2010
Views : 130

This code snippet shows how to develop a simple tab control, that slides tab pages when you click onto a tab.

Table Editing Example
Date : 07 Jan 2010
Views : 243

This code snippet allows you to edit individual table columns. When you click on a table column, a text box appears with the column text. When you press the enter key, the table column is replaced with the updated text from the text box.

Animated Horizontal Bar Chart
Date : 06 Jan 2010
Views : 482

This code snippet shows how to create an animated bar chart using jQuery. You can set the bar colors.

Horizontal Bar Chart Example 1
Date : 09 Dec 2009
Views : 841

This code snippet is a horizontal bar chart in javascript. You can add labels to each bar, the data is used as a percentage. The percentage is also shown on the chart. You can also set a title for the chart.

Blowfish Style Photo Album
Date : 04 Dec 2009
Views : 731

This code snippets shows how to create a blowfish style photo album. When you move your mouse over a thumbnail image, the thumbnail animates and increases in size.

Simple Calander
Date : 16 Nov 2009
Views : 314

This snippet shows how to display a calendar of the current month.

Simple Accordion Menu
Date : 16 Nov 2009
Views : 1275

This code snippet is a very simple accordion menu. You can add more items to each node.

Tabbed Panel
Date : 12 Nov 2009
Views : 518

This code snippet shows how to created a simple tabbed window.

Fading Menus
Date : 12 Nov 2009
Views : 208

This code snippet fades a menu, when you hover over it and fades back to its original state when you move your cursor away.

1

New Snippets

Highlight Input Element On Focus Javascript JQuery

This code snippet shows how to highlight an input element when it has focus and remove the highlight when it loses focus.

Calculate Age C# Miscellaneous

This code snippet shows how to calculate an age from a date of birth.

LINQ Example 2 C# LINQ

This linq example shows how to query a List object.

Sliding Tab Control Javascript JQuery

This code snippet shows how to develop a simple tab control, that slides tab pages when you click onto a tab.

LINQ Example 1 C# LINQ

This code snippet uses where to find all elements of an array that is less than 10.

File Exists Visual C++ File Manipulation

This code snippet determines if a file exists.

XML Example 1 Ruby XML

This code snippet shows how to loop through an XML string.

Simple MySQL Class To Query Database Java Database

The following code snippet shows how to create a simple MySql class that can be used to create a connection to the database server and execute queries which return a ResultSet object.

Connect To MySQL Database Java Database

This code snippet shows how to connect to a MySQL database server. You will need to download Connector/j.

File Viewer Example Java Controls

This code snippet shows how to open a file for reading and display the data into a JTextArea component.

JMenu With ActionListener Example Java Controls

This code snippet shows how to add an ActionListener to a JMenu component.

JMenuBar Example Java Controls

This code snippet demonstrates how to use the JMenuBar component and how to add menu items using the JMenu and JMenuItem components.

MD5 Message Digest Example 1 Java Security

This code snippet shows how to use the MessageDigest class to get an instance of the MD5 MessageDigest. This code snippet does not return a 32 character string.

Check If File Is Hidden Java File Manipulation

This code snippet checks if a file is hidden.

Check If File Exists Java File Manipulation

This code snippet checks if a file exists. If it does, it displays its absolute file path.

What Others Are Viewing

Highlight Input Element On Focus Javascript JQuery

This code snippet shows how to highlight an input element when it has focus and remove the highlight when it loses focus.

LINQ Example 2 C# LINQ

This linq example shows how to query a List object.

Sliding Tab Control Javascript JQuery

This code snippet shows how to develop a simple tab control, that slides tab pages when you click onto a tab.

LINQ Example 1 C# LINQ

This code snippet uses where to find all elements of an array that is less than 10.

File Exists Visual C++ File Manipulation

This code snippet determines if a file exists.

Top Javascript Snippets

This snippet allows you to edit the cells of a table.

This code snippet is a very simple accordion menu. You can add more items to each node.

This snippet show how to use the JQuery slideDown() and slideUp() effects.

This code snippet allows you to navigate a div which contains child divs using a next and previous navigation. It also shows the current div page.

This snippet shows how to fade a div from one color to another. Edit the RGB colors to fade from colors of your choice.

This snippet shows you how to search content in a div tag and highlight the word in yellow.

This code snippet is a horizontal bar chart in javascript. You can add labels to each bar, the data is used as a percentage. The percentage is also shown on the chart. You can also set a title for the chart.

This snippet is a simple drop down menu. It uses JavaScript and CSS to hide and show menus.

This code snippets shows how to create a blowfish style photo album. When you move your mouse over a thumbnail image, the thumbnail animates and increases in size.

This is another snippet of a very simple tree menu. You can add multiple nodes within existing nodes. When you close a node and reopen it, any previously expanded nodes within the closed node still remain expanded.