Google Page Speed
Google Page Speed results for toepoke.co.uk home page. Don't think I'll bother signing up :)
http://www.webpagetest.org/result/110728_04_370bc57fd14d86fedccdbd70bbb527bd/
Google Page Speed results for toepoke.co.uk home page. Don't think I'll bother signing up :)
http://www.webpagetest.org/result/110728_04_370bc57fd14d86fedccdbd70bbb527bd/
Came across the Media Feature Pack for Windows 7 (SP1) that’s been released recently:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=31017ed3-166a-4c75-b90c-a6cef9b414c4###
So I’m having a quick look to see if it’s worth installing and read the opening page.
So let me get this right. In order to find out what’s in the Media Feature pack I have too:
Microsoft. May I introduce to you, the hyperlink?
</rant>

Hi,
In an upcoming toepoke.co.uk build we've added the ability to e-mail all the players in a match. Just for simple stuff like arranging lifts, last minute changes, etc.
We didn't want to get into creating a full blown e-mailing system, there's an app for that
. Instead I simply used a normal mailto link, which brings up whatever e-mail client is installed.
Now this works fine if the user has an e-mail client installed, but what if you use web based e-mail client? If you're interested in knowing more, please read the full article with demos, code and full explanation of the plug-in
Please note that version 1.0.2 has been released today (01-Jul-11). The article above has been updated to reflect the changes.
Hope you find this useful,
Team TP.
When I was build the sign-up screen for toepoke.co.uk I wanted to tidy up the data entry for the player’s name so you get capitalised names.
My first thought was to tie into the jQuery focus event and do a little JavaScript once the user left the input field.
Thankfully I thought a little bit more and remembered the text-transform property in CSS, and wondered if this would work against text input fields as well as heading and p tags, etc.
.tcase {
text-transform: capitalize;
}
Turns out it works quite well, and the above works under most of the modern browsers. Tested and works in Chrome 7,IE 8, FF 3.6, Safari 5, but sadly not Opera 10. Of course the text-transform property is an aesthetic effect, so I can live with it not working in Opera.
Also bear in mind if the user enters their name in lowercase, their name will be in lowercase when the form is posted to the server, so you’ll still need to capitalise on the server-side. Something like the following C# string extension should do the trick. (or see http://msdn.microsoft.com/en-us/library/system.globalization.textinfo.totitle... as kindly pointed at by Maarten van der Lee below)
/// <summary>
/// Converts the input string into an initial version, so "fred" or "FRED" becomes "Fred"
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public static string ToInitial(this string input)
{
if (string.IsNullOrEmpty(input))
return "";
return
input.FirstOrDefault().ToString().ToUpper() +
input.Substring(1).ToLower();
}
You can see the above in action on our sign-up page (http://toepoke.co.uk/user.aspx/create). Naturally this can be extended to use the uppercase and lowercase text-transform rules (uppercase is quite useful for postcodes too).
Hope this proves useful for someone.
Kind regards,
Team TP.
Find this useful?