Tecuthsav web design Jquery et al

Thiagarajar college of engineering is organising a tech festival named Tecuthsav from february 13 to february 17. I was part of the web designing teamin developing the website for tecuthsav.Especially the CSS and the UI design part which i worked with.It was really a fruitfull experience as i tried Jquery for the first time.Jquery is a javascript library released under GPL.It love in first sight for me with Jquery.I hate Java,javascript basically because i dont understand it coz of its clumsy syntax and stuff and due to python.Now what if javascript is as enjoyable as python, is thats what you feel when you use Jquery.
Check this
$(“#foobar”).click(function(){
$(“div”).css(“background”,”red”);
});
Now the above code snippet means on clicking the div.#foobar the background of all divs is changed to red.Now there is a variety of stuffs you can with jquery check here.Now i used Jquery in the menu of events visible in the site.I have given all the event rules as JSON files and on clicking a link it fetches the corresponding JSON file asynchronously.
There are also variety of pluggins availabe in jquery you can use for your benefut like calendar,animation etc.
Now this is the code i use to perform the JSON operations.
$(‘ul>li>ul>li>a’).click(function(){
var name=$(this).text();
var filename=’json/’+ name + ‘.json’;
//var filename=’json/SubtleKnife.json’;
//alert(filename);
$(‘#midbox’).empty();

$.getJSON(filename,function(data){

$.each(data,function(entryIndex,entry){

var html=’add the html stuff here with JSON data say event[‘name’]’

$(‘#midbox’).append(html);
});
});
});

Jquery is truly amazing to say the least for web designers it adds so much meaning to web design.Those of who like me hating javascript can try jquery to achieve nifty stuff.There are loads of pluggin associated with jquery which are truly amazing.Many javascript libraries are cryptic in nature but jquery gives user enormous power.If you are part of some web designing project and dont use Jquery you are missing something truly amazing and interesting. 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s