วันพฤหัสบดีที่ 23 กุมภาพันธ์ พ.ศ. 2555

Sammple MVC Custom Dropdown list.


<select id="categories" name="categories">
    @foreach (var item in selectList) {
        <option @if (item.Selected) { selected="selected"text>} value="@item.Value">@item.Textoption>
    }
select>

iOS Icon List

This need for create Bookmark in iOS
Look in this list and size
apple-touch-icon.png  57x57
apple-touch-icon-precomposed.png 57x57
apple-touch-icon-114x114.png  114x114
apple-touch-icon-114x114-precomposed.png  114x114


precomposed mean prevent effect icon from iOS


for more ref please take a look at 
https://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/IconsImages/IconsImages.html
and for reference in header html
http://mathiasbynens.be/notes/touch-icons