Category Archives: HTML/javascript

TypeScript 4.0 is here!

TypeScript 4 features

Microsoft continues to make developers feel great using new technologies. Now they announced the availability of TypeScript 4.0! It’s better in all areas – productivity, stability, and scalability.

Developers love to work with clean, well structured, readable, and functional code. This is exactly what TypeScript is for. Together with their IDE Visual Code it’s a strong and convenient combination for almost any web developer.

No more ‘undefined’ errors, better structure, and easier refactoring, mixed types of black magic. If needed create your own composite types for complex situations.

There’s a great article on TypeScript blog https://devblogs.microsoft.com/typescript/announcing-typescript-4-0/ on what’s added and how to get started right away.

Start hacking and learn something new!

npm install -D typescript

TypeScript 4 features

Most promising mobile UI frameworks

Simple list of some well known mobile UI frameworks you may want to use on your next mobile web project.

jQuery Mobile
Touch-Optimized Web Framework for Smartphones & Tablets

jQTouch
A jQuery plugin for mobile web development on the iPhone, Android, iPod Touch, and other forward-thinking devices

Sencha Touch
The First HTML5 Mobile Web App Framework

Jo
The simple app framework for HTML5. For iOS, Android, webOS, BlackBerry, Chrome OS & anything else with HTML5

iUI
User Interface Framework for Mobile Web Devices

SproutCore
SproutCore is an open-source framework for building blazingly fast, innovative user experiences on the web

Scroll to an anchor

Smooth javascript scrolling.


<script type="text/javascript">// <![CDATA[
		function goToByScroll(id){
     			$('html,body').animate({scrollTop: $("#"+id).offset().top},'slow');
		}

// ]]></script>

<a onclick=”goToByScroll(‘1’)” href=”javascript:void(0)”>Go to anchor 1</a>

<div id=”1″>content</div>