Correct width in all browsers (JS snippet)

This is a short JS snippet which is quite hard to find but it works like a charm. Basically with help of this JS snippet you get your width of the page correctly displayed in old IE6 and IE4 if you need to make it compatible with them or android/chrome/other browsers. function get_width() { var myWidth = 0; if(document.width) { //chrome myWidth = document.width; } else

By |November 4th, 2012|Categories: The Code|Tags: , , , , |

POS CP852 printers

For programmers in web development and problems with POS CP852 encoding. Have you ever worked on a project with ancient POS receipt printers that use CP852 encoding, which have no suitable drivers and probably several other things that make finding a solution hard for you? We had so i am sharing the code which will hopeffuly be useful to someone who will be having similar probles in

By |October 31st, 2012|Categories: The Code|Tags: , , , , , , , |