.Net Framework, Asp.net, Ado.net, .Net Remoting, .Net Webservice, SQL, XML, XSLT, WCF, WPF, WWF NHibernate, Ajax, Jquery, DHTML

Ado.netAsp.Net 2.0SQLC-SharpXMLFrameworkIISXMLWebServiceArchitecture
UMLProject ManagementSDLCMethodologiesDesign PatterenOOPWCF.Net RemotingWWF
MVPMVCSilver LightN-HibernateAjaxJ-QuerySEO-MarketingSite MapPhp

JQuery and Json together

JQuery is a javascript library which eases javascript developemt and it also includes many Ajax functionality. So before we start we need to download the .js libraries from jquery official sites

Basic understanding

$("#header") = get the element with id="header"
$("h3") = get all "h3" element
$("div#content .photo") = get all element with class="photo" nested in the 'div id="content"'
$("ul li") = get all "li" element nested in all "ul"
$("ul li:first") = get only the first "li" element of the "ul"

See Using Jquery in repeater / gridview / datagrid
How to edit gridview row using jquery DOM

We have expert jquery developer in mumbai india, We can provide Php JQuery, Jquery with asp.net, jquery with ajax. Give a rich look to you application with with Jquery UI. Please contact us to know more about our service.
All Jquery example are experienced from jquery.com, here we are just trying to make example easier for development need.

Jquery examples

JqueryResizeableCollapseSliding EffectFloating Div
Image SlidingImage ChangesDiv AlertDiv DisappearSimple image changes
Datepicker

This is a floating div sample by Arindam Chakraborty
Look at the bottom of the page div floating !! you can close the div by clicking the right top close button

You can change the appearience and the position of the div by changing the css-class property.
Jquery Sample Code
<script type="text/javascript" language="javascript" src="js/jquery-1.2.6.min.js"></script>
1:
2:<div id="message_box">
3: <img id="close_message" style="float:right;cursor:pointer" src="images/close.png" />
4: This is a floating div sample by Arindam Chakraborty
5:</div>
6:
7:
8:<div>
9: Look at the bottom of the page div floating !! you can close the div by clicking the right top close button <br /><br />
10: You can change the appearience and the position of the div by changing the css-class property.
11:</div>
12:
13:<style type="text/css" >
14:#message_box {
15:bottom: 0; left: 0;
16:z-index: 10;
17:background:#eeffb4;
18:padding:5px;
19:border:1px solid #99c403;
20:text-align:center;
21:width:99%;
22:position: absolute;
23:}
24:
25:</style>
26:
27:<script type="text/javascript" language="javascript" >
28://scroll the message box
29:$(window).scroll(function()
30:{
31: $('#message_box').animate({top:$(window).scrollTop()+"px" },{queue: false, duration: 400});
32:});
33:
34:
35:// close the div
36:$('#close_message').click(function()
37:{
38:
39: $('#message_box').animate({ bottom:"+=15px",opacity:0 }, "slow");
40:});
41:</script>
42:
Leave your comment.
Name
Email
Comments
Tell Us3704+5 =

Reduce your Dialy IT Cost, Consult with us
Stay healthy in recession

Advertisement
Sponsored by

Privacy Policy ©2009 ETG Consultancy, All Rights Reserved Terms & Conditions
Asp.net, Ado.net, .Net Remoting, .Net Webservice, SQL, XML, XSLT, WCF, WPF, WWF NHibernate, Ajax, Jquery, DHTML