by OMR
1. December 2009 03:01
A simple dynamic data web site with everything App_Code are resolved. But will use tier architecture is not sufficient. Data access layer needs to be used in other projects. Therefore, the class library, I put Linq To Sql file metadata classes, but was ineffective. Researched solution for a few days. (Time loss) Linq To Sql file automatically when I reviewed the file name space designer.cs add noticed. I cleaned the added name space. Metadata has become active classes. Dynamism!
by OMR
14. November 2009 04:56
This article contains plugin based coding tecniques for jquery. Lets coding.
We are declaring plugin functions to jquery prototype.
jQuery.fn.MyAlert = function(message)
{
alert("Attention: " + message;
}
This code is usable pluging declaretion but not supported tecnique for cross library safety. Example of cross library supported declaretion:
(function($) {
$.fn.MyMask = function() {
$(this).val("Masked input element");
}
})(jQuery);
Examle using:
$("#input1").MyMask();
Finished first runable plugin. Plugin adding "Masked input element" to input1 element. This function is only available for an element. Selective parameter may apply to multiple elements. Be applied to all elements according to the selector parameter. Therefore we should use each function.
More...
by OMR
6. November 2009 19:55
In this article I used the cloud effect birdunyadusun.com site will explain the technique.
Some sites have similar made with Mootools. I did research in jQuery forum. No information about the coding of similar applications. This article has nothing to parallax technique. Let's start coding.
The following code will load the clouds just below is a description of the body.
<span id="spnCloudHolder"></span>
And using this javascript codes for generating clouds:
$(document).ready(function() {
for (var i = 0; i < 3; ++i) {
$("#spnCloudHolder").append("<img src=\"img/bulutcan12.png\" class=\"cloud\" />");
}
});
You can use this image file(Transparent PNG, thanks AdmiX):

Output current screen:
More...