rightdev.blogspot.com
dev it Right: JavaScript Date Formatter
http://rightdev.blogspot.com/2007/10/javascript-date-formatter.html
Monday, October 15, 2007. We offten need to display date in accordance with some pattern. There is my implementaion of this task for javascript:. SimpleDateFormatter = function() {}; SimpleDateFormatter.zeroize = function (value, length) { if (! Length) length = 2; value = String(value); for (var i = 0, zeros = ' ; i. H : '12') (date.getHours(). Format function SimpleDateFormatter.cache = {};. Y Year 1996; 96. M Month in year July; Jul; 07. D Day in month 10. E Day in week Tuesday; Tue.
rightdev.blogspot.com
dev it Right: August 2007
http://rightdev.blogspot.com/2007_08_01_archive.html
Friday, August 31, 2007. How get HTML element real position. I have spent a lot of time trying get the real position of DIV element. And I have done it, but only at Firefox. It is a complex issue to find real top and left of the element, because of IE and FF returns different. And this result is depends on. Helped me. There is an undocumented function. How I use it:. Thursday, August 30, 2007. MochiKit - powerfull JavaScript framework. But I found a great framework - MochiKit. There is the function:.
rightdev.blogspot.com
dev it Right: October 2007
http://rightdev.blogspot.com/2007_10_01_archive.html
Monday, October 15, 2007. We offten need to display date in accordance with some pattern. There is my implementaion of this task for javascript:. SimpleDateFormatter = function() {}; SimpleDateFormatter.zeroize = function (value, length) { if (! Length) length = 2; value = String(value); for (var i = 0, zeros = ' ; i. H : '12') (date.getHours(). Format function SimpleDateFormatter.cache = {};. Y Year 1996; 96. M Month in year July; Jul; 07. D Day in month 10. E Day in week Tuesday; Tue.
rightdev.blogspot.com
dev it Right
http://rightdev.blogspot.com/2013/07/if-you-remember-i-wrote-how-to-limit.html
Monday, July 8, 2013. If you remember I wrote how to limit input field only with numbers. I glad to show you that 6 years does not pass in vain and I find out better (primarily from UX point of view) way to do the same:. Function stopEventPropagation(event) { if (event & event.stopPropagation) event.stopPropagation(); if (window.event) window.event.cancelBubble = true; } function isNumberKey(evt){ var charCode = (evt.which)? Evtwhich : event.keyCode if (charCode 31 & charCode! IRuler - Online Ruler.
rightdev.blogspot.com
dev it Right: How get HTML element real position
http://rightdev.blogspot.com/2007/08/how-get-html-element-real-position.html
Friday, August 31, 2007. How get HTML element real position. I have spent a lot of time trying get the real position of DIV element. And I have done it, but only at Firefox. It is a complex issue to find real top and left of the element, because of IE and FF returns different. And this result is depends on. Helped me. There is an undocumented function. How I use it:. Subscribe to: Post Comments (Atom). How get HTML element real position. MochiKit - powerfull JavaScript framework. IRuler - Online Ruler.
rightdev.blogspot.com
dev it Right: July 2007
http://rightdev.blogspot.com/2007_07_01_archive.html
Tuesday, July 31, 2007. Hello, world" with Spring MVC. Recently I've started using of Srping MVC for my web apps. So what you need to get started with spring MVC:. Spring framework and put spring.jar to web server lib path. 2) Add DispathServlet mapping to web.xml. Servlet-name strong spring /strong /servlet-name. Servlet-class org.springframework.web.servlet.DispatcherServlet /servlet-class. Url-pattern /index.jsp /url-pattern. 3) We have called servler instance as spring. So we should create a spring.
rightdev.blogspot.com
dev it Right: July 2013
http://rightdev.blogspot.com/2013_07_01_archive.html
Monday, July 8, 2013. If you remember I wrote how to limit input field only with numbers. I glad to show you that 6 years does not pass in vain and I find out better (primarily from UX point of view) way to do the same:. Function stopEventPropagation(event) { if (event & event.stopPropagation) event.stopPropagation(); if (window.event) window.event.cancelBubble = true; } function isNumberKey(evt){ var charCode = (evt.which)? Evtwhich : event.keyCode if (charCode 31 & charCode! Subscribe to: Posts (Atom).
rightdev.blogspot.com
dev it Right: MochiKit - powerfull JavaScript framework
http://rightdev.blogspot.com/2007/08/mochikit-powerfull-javascript-framework.html
Thursday, August 30, 2007. MochiKit - powerfull JavaScript framework. Many of us often have a deal with implementing base functions for JavaScript. At Java we have JDK with a lot of helpfull classes. But at the case of JavaScript developers often have to invent a wheel. But I found a great framework - MochiKit. It is a set of util classes. I will not tell about all thier capabilities, only which I have used. 1 DIV slide up and slide down. There is the function:. Nice tool, thanks! IRuler - Online Ruler.