JavaScript - 2014

CSS Media Queries instead of JavaScript code

Using CSS Media Queries instead of JavaScript or JQuery code
0
Before CSS3 coming out, if you needed to change the layout programatically when window size is changed you would have to write a small JavaScript or JQuery to handle window resize event and perform some action on the DOM to addapt your layout. In case you would use JQuery (which is most of the cases as I do not remember last time I wrotw plain JavaScript code) you would have to hook to window resize event and handle every resize. Based on your condition you would apply some CSS to specific element or strip style from it. ... read more

Testing Facebook apps with special permissions

How to make test-able Facebook apps which require special persmissions
0
Social networks are in an expansion and more and more they are becoming part of the applications, especially online applications. Even .NET framework included authentication with social networks built in as an out of the box feature of .NET platform. However as social networks evolve they are changing mostly in the area of security and user data privacy. ... read more

Testing mobile website client side functionality on desktop

Development and testing of mobile websites on desktop
0
Recently I have posted an article about new HTML5 features for mobile devices where some of the new JavaScript APIs are described. If you decide to apply any of these new cool features on your mobile website you would first want to test them before you publish them on the real website. You can always expose the website to you mobile device and navigate, but it really takes additional time and after 10th time you would really get annoyed by doing this. ... read more

Use GitHub for hosting JS and CSS files

How to use your CSS and JS files direcly from GitHub
0
Recently I've started JQuery plugin project on GitHub and decided to provide examples via JSFiddler. I could easily take latest files and host it on the same host as this blog but that would make a headache for me as I would have to update files on my host as soon as I update file in GitHub. So I googled a little bit and found a solution ... read more

Request different data type from Web API with JQuery

XML/JSON in return result of Web API REST service method with JQuery
 
0
In my previous article Different data type in Web API response of the same method I described how to get different response with HttpWebRequest in C#. Here I will demonstrate how to achieve the same thing but in JQuery client side code. Since Web API reponds based on accept header value, we can set it in ajax request in JQuery. ... read more

.NET

read more

SQL/T-SQL

read more

Umbraco CMS

read more

PowerShell

read more