jSmooth is a jQuery plugin which allows you to have a smooth scrolling effect when you are in the same page and navigation is implemented with #anchors. It optionally adds a back button so that the user can return to its starting place and click something else.
Archives for 2011
Using generics to override static methods
There are cases where the design of an abstract class requires that some static properties should be changed by the child classes (using the new keyword) where as the static functions remained the same. While testing, I realized that the static functions that were declared in the abstract class used the values of the static […]
HTML5 form validation
HTML5 and ccs3 are a really loud buzz in web design for quite some time. The new features can be really powerful tools in a developer’s arsenal. This technology can also be used in all sort of mobile devices. All modern devices have browsers that support all those new exciting features.
Handling server errors in asp.net
When we have a web application in production, there are times where some things go wrong and we have errors. By default we will get the “Yellow Screen of Death”. When the application runs in localhost, a lot of information comes up that is useful to find and squash the bug. But when our application […]
Detecting Client’s IP Address
It’s pretty common the need for a web application to be able to detect the I.P. address of a client. The I.P. address could be used either for statistic or authentication purposes. Knowing the IP address you could easily get information about the location of the client. Using Max Mind’s GeoIP Country and GeoIP City […]
If PHP Were British
When Rasmus Lerdorf first put PHP together, he – quite sensibly, despite his heritage – chose not to write it in Greenlandic or Danish. Good job too – that would have been rather unpleasant to work with. He opted instead, being in Canada at the time, for the local tongue. No, not French – that […]
Creating thumbnails from JPG images with .NET
The .NET framework has the System.Drawing namespace which allows the developer to create and/or manipulate image files programmatically. A common and popular action that a developer might need is to create a thumbnail of an image. The framework has a built-in method for creating thumbnails, the Image.GetThumbnailImage method. As you can read the method checks […]
Handling redirections, missing pages and server errors in asp.net
In this article we talk about the different HTTP status code and which of them are important SEO-wise. We also talk about a few features of the ASP.NET engine, so that we can make our website more SEO friendly by providing correct HTTP status codes to the search engines.