Older blog entries for sness (starting at number 3787)

Implementing doubletap on iPhones and iPads | appcropolis

Implementing doubletap on iPhones and iPads | appcropolis: "$(selector).doubletap(
/** doubletap-dblclick callback */
function(event){
alert('double-tap');
},
/** touch-click callback (touch) */
function(event){
alert('single-tap');
},
/** doubletap-dblclick delay (default is 500 ms) */
400
);"

'via Blog this'

Syndicated 2012-02-21 00:56:00 from sness

javascript - How can I prevent default double-tap behavior (zooming, panning) in Mobile Safari on iOS4? - Stack Overflow

javascript - How can I prevent default double-tap behavior (zooming, panning) in Mobile Safari on iOS4? - Stack Overflow: "When I double-tap near the edge of a page that exceeds the height or width of the browser window in Safari under iOS4, it zooms in or out and/or scrolls up, down, right, or left, depending on the size of the page and the current viewport position. How can I prevent this behavior, please?

I'm working on a site where this is (very) bad; we're preserving several layers of menu state and scrolling horizontally to navigate between layers. Double-tapping hoses the layout, and there's no intuitive way to get it back.

Double-tap does not seem to fire a scroll or touch event as far as I can tell. Other things I've tried:



"

'via Blog this'

Syndicated 2012-02-21 00:56:00 from sness

Breaking Floats Without Hacks

Breaking Floats Without Hacks: "Using the CSS Float and Clear Properties
I have run across so many problems with designers confused about how to properly make use of the CSS property, clear. As a result, I'll be discussing two common mistakes and how to avoid them in this article."

'via Blog this'

Syndicated 2012-02-21 00:55:00 from sness

The span and div Tags

The span and div Tags: "The tag has very similar properties to the
tag, in that it changes the style of the text it encloses. But without any style attributes, the tag won't change the enclosed items at all.

The primary difference between the and
tags is that doesn't do any formatting of it's own. The
tag acts includes a paragraph break, because it is defining a logical division in the document. The tag simply tells the browser to apply the style rules to whatever is within the ."

'via Blog this'

Syndicated 2012-02-20 20:41:00 from sness

zsh – a bash alternative that’s easily customizable with oh-my-zsh

zsh – a bash alternative that’s easily customizable with oh-my-zsh: "And then one day in mid-2011 I discovered the Z shell and once I read about all the nice features it has, I started being even more productive and I fell in love with this tool.


In this tutorial, I will guide you through the installation of zsh, show you some of the many awesome features that this shell brings to your terminal and I’ll give you some tips on how to use this shell with your customizations on any machine that you use."

'via Blog this'

Syndicated 2012-02-20 17:18:00 from sness

Why I Still Use Emacs « Occasionally sane

Why I Still Use Emacs « Occasionally sane: "anything: anything is similar to OS X’s QuickSilver utility; you activate it, start typing what you want and it’ll show you all the possible results, organized by categories. By default, it looks at the files in the current directory, and the opened buffers I believe, but you can configure it to find all sorts of things, such as Emacs commands, man pages, recently opened files, functions, etc."

'via Blog this'

Syndicated 2012-02-20 17:17:00 from sness

AtomizeJS - Home

AtomizeJS - Home: "AtomizeJS is a project which aims to make it easy to write programs in JavaScript that can be both concurrent and distributed. It does this by implementing Distributed Software Transactional Memory (DSTM)."

'via Blog this'

Syndicated 2012-02-20 17:17:00 from sness

On naming - Quietly amused by the world

On naming - Quietly amused by the world: "There are only two hard things in Computer Science: cache invalidation and naming things.

— Phil Karlton"

'via Blog this'

Syndicated 2012-02-20 17:16:00 from sness

Using CSS without HTML · Mathias Bynens

Using CSS without HTML · Mathias Bynens: "Even with a completely empty HTML document, browsers will still auto-generate the implied HTML elements."

'via Blog this'

Syndicated 2012-02-20 17:13:00 from sness

3778 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!