#php has thousand of useful built-in functions. But it lacks in directory listing. Listing files by creation date can be an awful experience. How can be possible for such a great language like PHP to not have this kind of built-in parameters for scandir or readdir functions? They implemented SCANDIR_SORT_ASCENDING and SCANDIR_SORT_DESCENDING for alphabetical file ordering, but if we want date order we MUST use a custom not efficient array sorting method.Very bad.
A Pixel is Not a Pixel is Not a Pixel… Anymore!
A Pixel is Not a Pixel is Not a Pixel… Anymore!
Mobile Safari percentage bug
Dear Apple…
Why Safari on iOS mobile devices is a so shitty product?
Why can’t we specify “width: 100%” on an image element (with auto height) without having to set a useless “min-width: 100%” for the most browsers?
Why this very serious bug?
Obviously the HTML I was developing had the following meta:
[code lang=”html” title=”HTML”]
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
[/code]
But it seems to be not enough for Safari. So we have to write the following useless CSS code:
[code lang=”css” title=”CSS”]
img {
width: 100%;
min-width: 100%;
height: auto;
}
[/code]
I hope this will be fixed soon, but I think they will not do it. The bug is very old and still there… Good job Apple!
References:
- first report (2006!!!) – webkit.org
- old report – css-tricks.com
- the solution: stackoverflow.com (the only working solution is the last one with 0 score!)
CSS3 continuous responsive elements
Have you ever used the ubiquitous fullwidth widgets which come with many HTML templates? We all know Bootstrap and sliders made for it, but how many times you felt frustrated by the difficult on changing title sizes inside a jumbotron or cover image backgrounds that not act like you would like to, expecially on screen resizing?
Continue reading “CSS3 continuous responsive elements”
HTML5 new element: picture
Let’s say “WELCOME” to the new HTML5 element which will be released next month: picture! Continue reading “HTML5 new element: picture”
How much is data property cool?
HTML5 data property: love it and use it everywhere!
Soft Unbrick… “soft”??
Yesterday I was so close to definitely brick a brand new Cubot GT99… But fortunately I had previously installed a recovery manager (CWM) into my Android… So next steps were only to plug a new formatted SD in the slot and push there a new ROM from the computer… Great!
HTML5 Address Bar Accessing – a simple Graphic EQ!
Today I just want to show you a simple, but powerful Javascript instruction for HTML5:
history.replaceState()
With this function you can change the address bar strings of your browser… Feel interested?
Continue reading “HTML5 Address Bar Accessing – a simple Graphic EQ!”
Pure CSS animated scrolldown arrows
Let’s do this:
The above demo shows how to create an animated scrolldown button in pure CSS. This can be useful in one-page-websites or in parallax projects or wherever you want a nice button which invites to scroll down.
All with ZERO lines of javascript!
Academic courses on web projects: the italian digital-divide!
I did some web scouting on italian academic courses about projecting, developing or managing web applications, looking for interesting lessons and higher level technology, but what I found is uncanny! Continue reading “Academic courses on web projects: the italian digital-divide!”