Skip to main content

Blog

Coding and living in Finland.

In 2023, my family and I moved to Finland. It has felt like a new journey into the unknown. I keep writing code here, and I also keep recording life, family, work, and the stories along the way.

Jan 10, 2014

HTML5 Drag-and-Drop File Download to Folders

Discover how to drag files from a webpage directly into any local folder using Chrome for seamless downloads.

14k2

Nov 15, 2013

JavaScript Auto-Adjusting Font Size for Text Boxes

Learn a simple iterative method to auto-adjust font size within fixed areas, ensuring perfect fit for any content.

22k1

Oct 30, 2013

Cross-Domain Iframe Height Auto-Adjustment Solution

Discover how to overcome cross-domain restrictions to dynamically adjust iframe height for better page aesthetics and user experience.

36k1

Sep 25, 2013

Creating iOS7 Frosted Glass Blur Effect with CSS3

Easily create the iconic iOS7 frosted glass blur effect using CSS3 filter properties.

56k9

Sep 11, 2013

Atwood's Law: Any Application That Can Be Written in JavaScript Will Eventually Be Written in JavaScript

From browsers to online office tools, JavaScript keeps expanding its reach, redefining nearly every application.

39k3

Jul 29, 2013

Implementing Resumable Uploads with HTML5 File API

Use HTML5 File API and Ajax to achieve plugin-free resumable uploads and drag-and-drop file management for seamless large file transfers.

43k1

Jul 3, 2013

jQuery's New Event Binding Method: on()

Discover how jQuery's on() method unifies and improves event binding by replacing bind(), live(), and delegate() for better performance and flexibility.

35k

Jul 3, 2013

Where Does the Value of Front-End Engineers Lie?

Front-end engineers are key players bridging design and product, enhancing user experience, and driving cross-platform development.

38k

Jul 3, 2013

Easily Achieve Auto-Resizing Textareas by Simulating with div

Use the contenteditable attribute to make a div editable like a textarea, and easily achieve auto-resizing height with CSS.

124k

Dec 20, 2012

CSS Cursor Property Examples

Discover how to change the mouse pointer style using the cursor property to enhance web interaction.

45k

Dec 18, 2012

How to Get Element Width and Height in JavaScript

Learn how to accurately get element width and height using getComputedStyle, overcoming the limitations of the style property.

33k1

Dec 2, 2012

Is YouTube and Google Making a Comeback? 'If You Are the One' Promotes Google on YouTube

Jiangsu TV launches a YouTube channel and embeds Google ads in 'If You Are the One,' sparking online debate while expanding its overseas reach.

35k

Nov 16, 2012

Internet Explorer 10 Compatibility Whitepaper (Part 2): Building Applications with HTML5

Learn how feature detection, polyfills, and graceful degradation ensure your web apps run smoothly across all browsers.

53k

Nov 15, 2012

Internet Explorer 10 Compatibility Whitepaper (Part 1)

Master four steps to adjust document modes for flawless website display in IE10 and major browsers, resolving compatibility issues.

31k

Nov 10, 2012

How to Detect IE6, IE7, and IE8 Using JavaScript

Quickly identify IE6, IE7, and IE8 browser versions using simple JavaScript code.

33k

Nov 7, 2012

Seamless AJAX Refresh with onhashchange

Leverage the onhashchange event to enable seamless AJAX page updates while maintaining browser compatibility and back button functionality.

30k3

Nov 5, 2012

Understanding CSS Specificity and Priority

Uncover the secrets of CSS selector specificity to understand why some styles override others.

41k

Oct 31, 2012

What Are We Really Chasing in Life?

A conversation between an American businessman and a Mexican fisherman reveals the true meaning of life and happiness.

39k2

Coding, and living with intention.

Subscribe
© 2012–2026 Mofei·Privacy·Terms
Life compiled in code