摘要: Where is the default size of a div element defined or calculated? I wonder how a browser calculates the initial height and width values for div elemen 阅读全文
posted @ 2021-01-12 19:04 ChuckLu 阅读(69) 评论(0) 推荐(0)
摘要: Why padding is included in height sometimes? That depends on what box-sizing attribute you have used: border-box means that the height and width of th 阅读全文
posted @ 2021-01-12 18:02 ChuckLu 阅读(76) 评论(0) 推荐(0)
摘要: Event reference DOM Events are sent to notify code of interesting things that have taken place. Each event is represented by an object which is based 阅读全文
posted @ 2021-01-12 16:23 ChuckLu 阅读(59) 评论(0) 推荐(0)
摘要: Examine Event Listeners(Firefox) firefox只显示事件本来所处的元素上,不会在子元素上显示 What is event bubbling and capturing? How to find Event Listeners on a DOM Node when D 阅读全文
posted @ 2021-01-12 15:26 ChuckLu 阅读(297) 评论(0) 推荐(0)
摘要: What Causes Stock Prices to Change? Stock prices change everyday by market forces. By this we mean that share prices change because of supply and dema 阅读全文
posted @ 2021-01-12 12:46 ChuckLu 阅读(130) 评论(0) 推荐(0)
摘要: Declaring variables without var keyword At w3schools there is written: If you declare a variable, without using "var", the variable always becomes GLO 阅读全文
posted @ 2021-01-12 09:53 ChuckLu 阅读(118) 评论(0) 推荐(0)
摘要: Do I have to return something in javascript function? No; Javascript functions are not required to return a value. If you call a function that doesn't 阅读全文
posted @ 2021-01-12 09:46 ChuckLu 阅读(62) 评论(0) 推荐(0)