Testing
Ignore this! Just messing around with a new plugin dev
Ignore this! Just messing around with a new plugin dev
Demo text below, use mobile device or simulator to view it:
Demo text start – – Demo text stop
Handy little wrapper tag to display different content/code to mobile browsers, needed it, made it, shared it :)
Version 0.3, iPad supported now!
<txp:pro_mobile>
// Show mobile content here
</txp:pro_mobile>
Use as an if/else:
<txp:pro_mobile>
// Mobile content here
<txp:else />
// Regular content here
</txp:pro_mobile>
Define custom content per browser
<txp:pro_if_mobile name="iPad" >
You have an iPad lucky thing!
</txp:pro_if_mobile>
Names available for you to use include:
Feel free to wrap tags!
<txp:pro_mobile>
Welcome mobile user!
<txp:pro_if_mobile name="opera mini">
You use opera mini, great browser!
</txp:pro_if_mobile>
<txp:pro_if_mobile name="android">
You use android, great browser!
</txp:pro_if_mobile>
<txp:else />
// normal content
</txp:pro_mobile>
For browsers that support them, please feel free to add your comments!
A cute bit of css I discovered recently for changing the highlight colour on web text, used on this site:
::-moz-selection{
background: #f8eb60;
}
::selection {
background: #f8eb60;
}
Put the following code on your a tag:
a{
color: #6B6054;
-webkit-transition:color .5s ease-in;
-moz-transition:color .5s ease-in;
-o-transition:color .5s ease-in;
transition:color .5s ease-in;
}
a:hover{
color: #fff;
}
Done!
a{
text-shadow: 0 0 2px #fff;
}
Create a nicer ‘outer glow’ effect by leaving x and y offset at 0!
Big thanks to Neil Grosskop.com for the code!
As seen on my twitter button in the header of this site, degrades very nicely with no js, first to animation for webkit enabled browsers, then to simple css hover effect.
Jquery code:
$(document).ready(function(){
$("img#tweet").hover(function(){
$(this).stop().animate({opacity: 0.75, marginTop: 45}, 400); },
function(){
$(this).stop().animate({opacity: 1.0, marginTop: 50}, 400);
});
});
Css styling:
img#tweet{
float: right; border: 0px; margin-top: 50px;
-webkit-transition-property: margin-top, opacity;
-webkit-transition-duration: .4s, .4s;
}
img#tweet:hover{
margin-top: 45px;
opacity: .75;
}
With the recent news coming out on an arrest of a teen involved with the hacking group Lulzsec, I sense a bit of hysteria coming from the general public about their personal information being stolen or published on the internet for all to see.
For now it seems the rumour before the arrest was made that Lulzsec had stolen the British census data 2011 is false, the group themselves have confirmed that they do not have this data and indeed never did have this data, but it does raise a few questions about how our data is stored online.
After the Sony groups servers were hacked this year (Their stock consequently dropped by over 2.08 billion dollars – Lulzsec claimed responsibility for the hack which took them offline), it was revealed that the passwords were stored in the database as plain text. Now as a programmer I have to tell you, this is unheard of in the real world. You just never, ever, would store a password as plain text, it’s a matter of course to encrypt passwords stored in this way, quite honestly I’m still absolutely shocked at that kind of unprofessionalism from a company that you would imagine, has all the resources in the world at it’s fingertips.. yet a 10 year old with basic programming knowledge would do a better job of storing data than a multinational conglomerate!
From what we know, if a company the size of Sony, cannot store your password in a safe/encrypted fashion, imagine how many others are doing the same thing? You need to operate as if your data is NEVER safe for any accounts you hold online.
I use Firefox for web browsing, and there’s a plugin called ‘Scriptblocker’, that protects you against anyone intercepting you while web browsing. You can choose what you will and won’t allow, so you might allow scripts to run from the domain you’re on, but block external ones such as ‘doubleclick’. Some scripts are installing tracking on your computer so that as you browse pages, their code reports back as to your browsing habits. They can collect crazy amounts of data on you, your sex, your location, what you purchase online, your favourite web pages etc etc. This information is then sold onto various companies as a commodity without you seeing one dime, I like to block this kind of stuff when possible!
Unfortunately, even if you do all of this, you’re never really safe. Whether it’s a government web site storing your census in an insecure database, an online bank being logged into from a computer with a key-tracking virus, there are always ways to steal data. We have card-skimming, we have fraudulent web sites taking login details and re-directing you to the correct site before you know what happened, you have companies storing passwords as plain text.. you have people that go through rubbish to find a bill in your name that they can use, you have people with fake driving licences, fake passports. In my opinion, you can’t worry about all of it, criminals exist we can’t do anything about that, all you can do is at least make it harder for them and be smart. The best way to be smart is to presume your data is never safe, delete it where possible, and change things frequently including your passwords and even your credit card number from time to time!
Well we were screaming out for fanpage updates on Facebook, and they made it happen. As you can see in the video above, you can (automatically from March 10th, or manually in the meantime) login as your fanpage for the first time.
It means you can use the entire Facebook web site as a separate user under your fanpage meaning when logged in:
All the exact same as how your personal account currently works. It’s an amazing upgrade, and I think Facebook is going to rival Linkedin.com for the first time when it comes to social media networking for businesses/freelancers.
I do feel a bit sorry for the third party developers such as ‘Hyper Alerts’ who provide a great email update service, but now slightly redundant unless they can really add more to their product, but this is why I always advise a word of caution for developing with these social media platforms, at the end of the day, they control the site, they control the code, they control the hosting, so there is always an element of risk with it, but hopefully third party developers can adapt their product quickly to stay relevant.
![]() |
In all, great improvements, it will be very interesting to see where this goes for Facebook in terms of business to business networking!