|
frank posted Answer by futtta for HTML5 Canvas Colour Text.
|
![]() |
|
|
|
![]() |
frank liked Check My Machine by Paul McCartney.
|
![]() |
frank posted Adobe Flash Now Officially a Part of Google Chrome.
|
Monthly Archives: March 2010
As found on the web (March 26th)
![]() |
Published Vouwfiets-stress met ORI.
|
![]() |
|
![]() |
|
![]() |
|
![]() |
Published Avoid iframe-scrollbars with squeezeFrame.js.
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
Liked Bachelorette-Long Time Gone.
|
Avoid iframe-scrollbars with squeezeFrame.js
I know, this seems to have become an obsession of mine, but here I am again with a follow-up on my iframes-tips blogpost. You might remember I advised against disabling scrollbars on iframes, because;
Disabling them will render the iframe partially inaccessible for some of your users, because the size your iframe-content needs, depends on things outside your control such as operating system & versions (e.g. font & screen resolution), browser (e.g. css-implementation) and browser configuration (e.g. non-default font-size).
But what if you could resize (generally: zoom out) the iframe-content to perfectly fit the available width and height, thus avoiding vertical and especially horizontal scrollbars? Well, that is exactly what squeezeFrame.js tries to do (using css zoom and -moz-transform:scale in Firefox)! Just include the javascript-file in the iframe-content page and set a few options if you want to change the default behavior (which is: zoom in/out for width only, max. + or – 5%).
squeezeFrame.js was tested successfully in Firefox 3.6, IE6, Safari4 and Chrome4, but does not work in Opera 10.5. More info (including some “known issues”) can be found on the demo-page and in the javascript-code off course.
As always; reply in the comments or contact me if you find bugs or have problems.
ORI vouwfiets geplooid en gewogen
De Ori (ook verkocht als Mezzo) is even Brits als oer-vouwer Brompton en werd ontworpen door ex-Benetton F1 ingenieur Jon Whyte (die eerder ook al “full rear suspension” MTB’s voor Marin tekende). De MI8 lijkt overigens op een modernere versie van z’n befaamde stalen landgenoot (kijk maar op deze foto), met een scharnierloos monocoque aluminium frame met zelfsluitende koppelingen aan achter- en voorwiel, Shimano Nexus 8-speed “potversnellingen” en een heel strak design dat mooi assorteert met m’n zwarte fietsmuts.
Enkele korte ritjes maken geen uitgebreide test, maar ik kan wel zeggen dat de overstap van m’n Vero (Dahon) naar de Ori MI8 niet zonder slag of stoot ging. Ge had me moeten horen vloeken toen ik dat klereding op de trein niet proper opgeplooid kreeg. En de goeie raad van de conducteur, heel de weg tussen Lokeren en Dendermonde, hielp ook voor geen meter. Het kan nochtans best snel, kijk maar:
En inderdaad, ik ben over de middag nog even gaan oefenen en dat ging al heel wat vlotter. Voor de rest is de afstand tussen het zadel het stuur de stuurpen betrekkelijk klein, maar al bij al is de Ori MI8 een knappe, lichte en snelle vouwfiets. Een ideaal opstapje naar een Birdy, misschien?
As found on the web (March 19th)
![]() |
|
![]() |
|
![]() |
|
![]() |
Published x-frame-options coming to a Firefox near you.
|
![]() |
Liked 2 videos.
|
![]() |
Posted Contacts in the Browser.
|
![]() |
|
![]() |
|
![]() |
|
![]() |
x-frame-options coming to a Firefox near you
Microsoft IE8 introduced it, Apple Safari4 has it, Google Chrome4 does it and now somewhere in the not too distant future, Firefox will ship it too; support for X-FRAME-OPTIONS.
X-cuse-me? Well, X-FRAME-OPTIONS is the HTTP response header that broke Google Talk chat badge a few months ago, remember? It allows you to specify whether your site or page can be (i)framed or not, by setting it to “DENY” (not allowed to be framed) or “SAMEORIGIN” (allowed if the framing site is on the exact same domain). The most important reason for this functionality is as a prevention-mechanism for “clickjacking” (a.k.a. UI redressing), a type of web attack that tries to trick victims into clicking a framed site by hiding it behind another innocent element.
So now that feature is finally coming to Firefox as well; Mozilla’s Brendan Sterne, one of the driving forces behind Mozilla’s much broader content security policy, grabbed the bug by the balls and came up with a first patch. If all goes well, this would be an ideal candidate to get pushed out with a minor version update as per the new release process, no?
As found on the web (March 16th)
![]() |
|
![]() |
|
![]() |
Posted Harmony: Canvas Drawing Tool.
|
![]() |
|
![]() |
Posted SVG Wow!.
|
![]() |
|
![]() |
Published Speed up your (WordPress-)site!.
|
![]() |
Liked 2 videos.
|
![]() |
|
![]() |
|
![]() |
Posted A Better Mobile Web; What else?.
|