7 May 2015

extender – HTMLInputElement

0:14 | javascript | 1170 views

Goal: give some additional function to the HTMLInputElement type the usage is very simple: in this case the inputbox value is and all the text selected this extender working in ie as well.


7 May 2015

How to crash the Chrome from javascript

0:01 | javascript, web trick | 1299 views

Goal: there is no goal at all… I have came across an unhandled exception in the Chrome what is crashing the actual page. The js command is simple: so and there is a living issue ticket (somebody else found this as well): jump


4 May 2015

select the next inputbox

11:10 | javascript | 1146 views

Goal: jump to the next inputbox there is a simple jumper function: jQuery is in the background!


2 May 2015

element creation with templates

17:49 | javascript | 1226 views

Goal: to create a quick template based element creation method Everyday task to manage item templates. We have a container and the template of the items. the result will be: to achieve this we have to extend the String object with a template function: the TypeExtend function itself is here: jump


1 May 2015

url – parameters as part of the path

9:23 | php, tricky | 1380 views

Goal: simplify the url A normal url request with parameters looks like this: In many cases we need the following form: how to: 1. we have to accept the invalid request as a normal one. Let’s create a .htaccess file in the root with the following content: 2. receive the parameter in your php code […]


24 Mar 2015

get all the parents

2:43 | javascript | 1285 views

Goal: create a simple way to collect all the parents The code is the simpliest on the world: …the result is an array with the parents of the element. The same idea but width size: …the result is an array with the width of all the parents of the element.


19 Mar 2015

autofit div variant

12:41 | web trick | 1263 views

Goal: to find a good way to create an autofit div How can I use a divs to fill spaces like panels in the desktop applications? 1. css calc() This is brilliant but maybe dangerous because of the browsers. 2. content shifting with padding 3. stretched sail – div glued to the edges This way […]


11 Mar 2015

replace a frame

11:59 | javascript | 1252 views

Goal: remove marker from a text The problem is simple. I have a markered text like this: and I want to remove the marker structure quickly. The solution with regex back-reference: where x the markered text itself $1 (not used) is the main regex: (<span class=”mark”>…) $2 (what we need to keep) is the second […]


14 Feb 2015

quick js editor

23:41 | javascript, web trick | 1293 views

Goal: a simple js editor from the browser put the following to the address line… 1. simple way: try this this one is poor because of not focus, but here is the fixed version: 1.1 simple way with focus in the window: try this 2. extended editor (big respect for the ace team! check it […]


1 Feb 2015

Webos autostart

2:14 | webOS | 1405 views

Goal: how can I start my application after reset Not too easy to find how the pre starts application after the reset, but here is… There is a section in the /etc/palm/luna.conf file Just put your application to the end of the line under the LaunchAtBoot section. how the luna working with the conf file: […]


#sidebar a { color:#fff; } #sidebar ul ul li { color: #DEF585; } #sidebar h2 { color: #fff; } #sidebar ul p, #sidebar ul select { color: #BEDDBE; } #backfly { background: url(images/golfBallWallPaper.jpg) left bottom fixed repeat-x #65a51d; }