Category Archives: micro tutorial

cancel bubbling on element click with jQuery

When you click over an element This is easy, on the element can be attached event listener an such event listener is built in as the click event is. It’s simply like that: <div click=”func1()”></div> This with jQuery A bit … Continue reading

Posted in javascript, micro tutorial | Tagged , , , | Leave a comment

javascript: what is typeof typeof

typeof If you’ve ever heard about typeof operator in javascript than, how about those few questions: what is typeof typeof ‘string’ ? what is typeof typeof? Answers The first one is “string”. Yes if there you have the following code: … Continue reading

Posted in javascript, micro tutorial | Tagged , | 2 Comments

jQuery debug plugin

Console.log() Almost everybody using Firebug extension of Firefox is familiar with console object and in common with console.log method, who’s taking an object parameter and dumps it into the Firebug console. It’s perfect for debugging and it’s really useful.The problem … Continue reading

Posted in javascript, micro tutorial, portfolio, web development | 1 Comment

javascript: detect browser speed and load the “slow connection” site version

How to detect the browser speed? It’s easy, you just put a ajax or image load in the beginning of the page and than you know what the speed is. But the problem is that the ajax and the image … Continue reading

Posted in javascript, micro tutorial | Tagged , , , , , | 2 Comments

javascript: get function caller

Who calls me? If that’s the question a JavaScript function is asking for, and respectively you are, there is one simple way to find the answer. Why would I need this? Well let assume I’ve one function called func1, called … Continue reading

Posted in javascript, micro tutorial | Tagged , , , | Leave a comment