Hey, let’s find a job on Twitter? Unemployed or just searching for a nice freelance job? Don’t count your chickens before they are hatched, first read this article before spending money… Read more…
In this article I make a short list of all the possibilities to make your own iPhone app.
Apple would be busy developing a program, which might make it possible to develop an iPhone app, without needing skills to program. The program would be named Patent.
There are other possibilities to develop an app. You need to install Xcode and iOS SDK. Check out: https://developer.apple.com/devcenter/ios/index.action#downloads Read more…
In part 1, we already learned how to redirect, using PHP or .htaccess. In this article, we’ll use CSS media queries. When you use CSS media queries, you can use just one HTML-page and connect this file to several CSS-files. For each device, you can create a different CSS-file. The media query will decide which file has to be loaded.
Example: we put our general layout in style.css. This file has to be loaded in all cases:
<link rel="stylesheet" type="text/css" href="style.css" media="all" />
We want iphone.css to be loaded on an iPhone:
<link rel="stylesheet" type="text/css" href="iphone.css" media="screen and (min-device-width: 480px)" />
An iPhone 4S has two screen resolutions: 320×480 (portrait) and 480×320 (landscape).
‘min-device-width’ and ‘max-device-width’ will detect the screen width. It will only by new browsers detected. Luckily for us, smartphones generaly are already equiped with the new generation of browsers.
‘min-width’ will detect the browser width (not the screen width!)
‘only‘ hides the style sheet for older browsers. It’s possible to make a combination with “and”. Eg:
<link rel="stylesheet" type="text/css" href="780.css" media="only screen and (max-width: 780px)" />
Finally, it’s possible to detect the orientation of the mobile device (landscape/portrait):
<link rel="stylesheet" type="text/css" href="css/1000.css" media="orientation: landscape" />
This might be a good example to end this tutorial:
1 2 3 4 5 6 7
<link rel="stylesheet" type="text/css" href="style.css" media="all" /> <link rel="stylesheet" type="text/css" href="smartphone.css" media="only screen and (max-width: 480px)" /> <link rel="stylesheet" type="text/css" href="tablet.css" media="(minwidth: 481px) and (max-width: 959px)" /> <link rel="stylesheet" type="text/css" href="desktop.css" media="only screen and (min-width: 960px)" />
Every article on this site is for free. Any comments or likes/follows would be nice!
A naughty article… A worse title might be “How to buy guns or drugs on the internet“ Is it possible to surf in anonymity or to send an anonymous mail? Yes it is! Every computer had it’s unique IP-number. Consider this as your personal plate, which reveals your identity (address). Using the Tor browser, you can browse while you’re checked in on foreign servers. This means you’re assigned another IP.
Is this article legal?
First of all: a web server is protected by a username and password. When somebody knows these secret words, they can break into your files and database. Make sure you have a strong password. Don’t use usernames like “admin”. When you note your site is hacked, first thing you should to is change your password. Read more…