Archive for November, 2009
side_effects_by 00velvet00dreams00
0Title: side_effects_wallpaperAuthor: 00velvet00dreams00File : JPGDownload This File:www.mediafire.com
.NET Style String Formatting with jQuery – Javascript Function to Support Token Replacement within a String
0Here is a quick jQuery Plugin Announcement:
String concatenation and formatting are common aspects of almost every development effort. However, the combination of single and double quotes, along with escape characters, text, and plus signs (+) can be a bit overwhelming and difficult to remember. The .NET Framework provides a much cleaner approach with the String class’s Format method. It allows you to create string values by specifying insertion points for other values as well as special formatting.
String.Format(“Hello {0}”, “world”);
The string formatting approach described above can now be used with Javascript using a jQuery Plugin: .NET STYLE STRING FORMATTING – a simple and clever function to support token replacement within a string.
Given a string like “Hello, {0}” and calling the format function with a single argument like “world”.
var result = $.format(“Hello, {0}”, “world”);
The result variable will be set to “Hello, world”.
The function will support More >
CSS Based Javascript Free Cross-Browser Pagination with Tooltips
0Blogs, forums, online slide presentations etc. mostly use simple previous – next text links for navigation. All other fancy, more useful pagination techniques need Javascript code or images. Yesterday, I came across to a new completely CSS based, Javascript and image free pagination example.
This cross-browser pagination technique is supported by:
- Internet Explorer 6 or higher
- Firefox 1.0 or higher
- Chrome
- Opera
- Safari
More details and a demo can be found here.
ResourcesMix Weekly Updates for 2009-11-27
0- Round Corner Square Photoshop Brushes | ResourcesMix.info http://resourcesmix.info/round-corner-square-photoshop-brushes/ #
- Struts 1 vs Struts 2 ~ Css-Edge | Best Resources, Tutorials, cheat sheets, Tips for Designers & Developers http://bit.ly/08TEYbw #
- http://bit.ly/6qLczR #
Usability Issues on Date Formating – Choosing the Right Date Format
0While managing my rss subscriptions, I noticed that some websites use confusing date formatting. For example: What date is 12/05/09?
- May 12th, 2009
- December 5th, 2009
- May 9th, 2012
Using Date Formats: MM/DD/YY (common in US), DD/MM/YY (common in Europe) and YY/MM/DD (used in Japan) are really confusing.
Dates used in web sites should be understandable for all cultures. The best practice for date formatting is using month names with 4 digit year. So the right formats for our example are – 12 May 2009 or May 12th, 2009.
Second issue about date formatting is displaying day and month information without a year. It is hard for users to understand if the reading is relevant for them. Showing full date enables More >
