Showing posts with label J Query. Show all posts
Showing posts with label J Query. Show all posts

Change Google Map Marker

Change Google Map marker/Icon


JQuery for bus ticket booking

JQuery for bus ticket booking


Login In Jquery PHP - MYSQL

This is  Login In Jquery  Ajax PHP.  data: "username="+ username + "&password=" + password , is used to pass the  username and password  to login.php  and get result  $("#display").fadeIn(2000).html(response);

JQuery Using Insert to Database

Jquery tab

Simple  tab using hide and show function in j query

J query for Zoom in Zoom Out

This is simple coding for zoom in and zoom out in j query.




Multiple Drop Down Select Box

This is a Multiple Drop down Select Box.this consist of simple code to select drop down and search a data in select box .u can search a data in select box.


Register Form With j query validation

This simple j query validation for register form.it consists username first name  last name,password Confirm password email,and i agree.


Register Form With j query validation








Register Form




















Demo Contact Form with jquery validation





Contact Form






Source Code

Contact Form with jquery validation

This simple j query  validation  for contact form  that consists of  name  email url(website) and message that all field  are required  and valid  details .


Animated Scroll to Top

Hi ,This j query for scroll  to top on the  page ,it consists of simple j query for  scroll to top on the page.just scroll on the top of the page,,.

J query

Download this j query

<script type="text/javascript" src="js/jquery.min.js"></script>

Html Code :


<body id="top">
<div id="pagewrap">

//Your Content 
<p id="back-top"><a href="#top"><span>Back to Top</span></a></p>
</div>
</body>

 



index.php


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<title>Animated Scroll to Top</title>
<script type="text/javascript" src="js/jquery.min.js"></script>
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body id="top">
<div id="pagewrap">
<p>World Heavyweight Champions
Edge (7)
Triple H (5)
Batista (4)
Chris Jericho (3)
CM Punk (3)
Randy Orton (3)
The Undertaker (3)
Big Show (2)
Christian (2)
Jeff Hardy (2)
John Cena (2)
Kane (1) (1)
Rey Mysterio (2)
Alberto Del Rio (1)
Chris Benoit (1)
Daniel Bryan (1)
Dolph Ziggler (1)
Goldberg (1)
Jack Swagger (1)
King Booker (1)
Kurt Angle (1)
Mark Henry (1)
Shawn Michaels (1)
Sheamus (1)
The Great Khali (1)</p>

<p id="back-top"><a href="#top"><span>Back to Top</span></a></p>
</div>
</body>
</html>

Jquery for Select Country and State

hi...!!!  this  is    j query for  Country and State .this simple js for country and state it's free u need countries.js  this consists of country name and state  name  u can select country it's display to state  of  country .it's consists all  country and state but not in districts . 

  country : 


<select onchange="print_state('state',this.selectedIndex);" id="country" name ="country">
<option >Select Country</option>
</select>

u  can select  country it automatically  show the states  in the country there


State:    

<select name ="state" id ="state">
<option >Select State</option>
</select>

Source Code:


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Select Country and State </title>
<script type= "text/javascript" src = "countries.js"></script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" width="500" align="center">
<tr>
<th colspan="2" ><p align="center">Select country and state </p></th>
</tr>
<tr>
<td>Select Country:</td>
<td> <select onchange="print_state('state',this.selectedIndex);" id="country" name ="country">
<option >Select Country</option>
</select></td>
</tr>
<tr>
<td>State:</td>
<td> <select name ="state" id ="state">
<option >Select State</option>
</select></td>
</tr>
</table>
<script language="javascript">print_country("country");</script>
</body>
</html>

Nic Editor

     hi guy's , This is  nic editor this is  similar to ck editor . it contains of  only one j query and one image .it reduce the site  loading time .CK editor is  memory is high. this is just max 70kb only .include  to website very easy.  u can include link,image  u cange text h1 to h6 and subtitle and more...,
      u need on js file name : nicEdit.js one image: nicEditorIcons. u can call this  area1 in the text area  box it's automatically display a nic editor  .
   

Example :


<textarea name="area1" cols="40" rows="10" ></textarea>

Source Code:



<html>
<head>
<title>Nic Editor</title>
</head>
<body>
<div>
<script type="text/javascript" src="js/nicEdit.js"></script>
<script type="text/javascript">
bkLib.onDomLoaded(function() { nicEditors.allTextAreas() });
</script>
 

 <h4>Nic Editors</h4>
 <textarea name="area1" cols="40" rows="10" ></textarea>

</div>
</body>
</html>



Customize Background Color using Jquery


hey .. this is customize your website background color.it contain very simple j query  used to customize  background.you can customize any background . it's is same as color picker.it pick the color and change the background color.

Download this j uery first 

<script type="text/javascript" src="js/jscolor.js"></script>

HTML : include to j query after just copy and paste to this line automatically run this customize background.

<input class="color" onchange="document.getElementsByTagName('BODY')[0].style.backgroundColor = '#'+this.color">




Source code:


<html>
<head>
<title>customize Background Color </title>
</head>
<body>
<script type="text/javascript" src="js/jscolor.js"></script>
<p> Change background:<br>
<input class="color" onchange="document.getElementsByTagName('BODY')[0].style.backgroundColor = '#'+this.color">
</body>
</html>


Simple coding for online Translator

Hi This is Simple Online  translator .This is easy to translate your site  to any language.u can  fix to any position in this translator .it consists above 40 language. u can create easy Translator .just copy and paste a j query code.and  fix to any place your site.

J query:


<script type="text/javascript" src="http://x.translateth.is/translate-this.js"></script>
<script type="text/javascript>TranslateThis();</script>

Html:


<div id="translate-this" style="width:250px; margin-top:3px;border:0 red solid; float:right; text-align:right;">
<a style="width:180px;height:18px;display:block;"class="translate-this-button"href="http://www.translatecompany.com/"></a>

</div>



Source Code


<div id="translate-this" style="width:250px; margin-top:3px;border:0 red solid; float:right; text-align:right;">
<a style="width:180px;height:18px;display:block;"class="translate-this-button"href="http://www.translatecompany.com/"></a>

</div>
<script type="text/javascript" src="http://x.translateth.is/translate-this.js"></script>
<script type="text/javascript>TranslateThis();</script>