Archivi categoria: HTML5

Multiple content type

Today I’ve worked on a generic handler that recovers file from else where, than it sends the file to client browser. When you write a generic handler it is important to specify the contentType before complete the response. There are … Continua a leggere

Pubblicato in .Net, HTML5 | Lascia un commento

Convert SVG to font icon

I work many times with the .svg file. I suggest it because they could be resized without quality loss. But if you need to use the svg file as icon I suggest instead to use the font as font awesome … Continua a leggere

Pubblicato in HTML5 | Contrassegnato , , | Lascia un commento

Bootstrap smooth animation change column width

In bootstrap there is a great grid layout system. My request today was to resize a column dynamically I found this sample: http://jsfiddle.net/tolginho/EBqZv/5/ My target was collapse a right column like a sidebar: this is the result: http://jsfiddle.net/0gg8ych3/1/ Here my … Continua a leggere

Pubblicato in Bootstrap, HTML5 | Contrassegnato , , , , , | Lascia un commento

Easy CSS way to center item with position absolute

There are 2 way to center a child at the center without use any javascript. I wrote the style inline that is easier to understand Solution 1 move the parent to the center and then move the child right by … Continua a leggere

Pubblicato in HTML5 | Contrassegnato , , , | Lascia un commento

Jquery add, append, prepend, remove child

Starting from child element: appendTo, prependTo Add at the end the selected item to a jquery container. This sintax return the element added, so it can be use in fluent syntax. In this case appendTo or prependTo return liElment. Prepend … Continua a leggere

Pubblicato in HTML5, javascript, jquery | Contrassegnato , , , , | Lascia un commento

CascadingDropdown jquery plugin

CascadingDropdown is a great jquery plugin to implement cascading drop down in javascript I suggest you this 2 demo links. http://www.dnasir.com/github/jquery-cascading-dropdown/demo.html http://www.jqueryscript.net/demo/Dynamic-jQuery-Cascading-Dropdown-Lists-Plugin/ This plugin works great when I navigate to a “create new item” page. The problem I found is … Continua a leggere

Pubblicato in HTML5, javascript, jquery, plugin | Contrassegnato , , , | Lascia un commento

Region in css

Region are a great features working with source code. Is there a way to use region in css? YES! It’s a visual studio trick, you have to put this commented in css/less code. like this:

Pubblicato in Asp.Net, HTML5 | Contrassegnato , , , | Lascia un commento

JQuery Validation plugin with bootstrap css class

I like JQuery Validation plugin but when I use it on bootstrap site it’s important to use bootstrap validation class to get the best user experience. I found this great solution to use bootstrap css class with Jquery Validation plugin. … Continua a leggere

Pubblicato in Bootstrap, HTML5, jquery | Contrassegnato , , , , , | Lascia un commento

Validation Jquery plugin on Bootstrap Modal

JQuery validation plugin work only with a form. It’s possible validate all controls inside a form but is not possible validate the controls inside a div. So how can we validate a bootstrap modal popup? Place in the modal html … Continua a leggere

Pubblicato in .Net, Asp.Net, Bootstrap, HTML5, jquery | Contrassegnato , , , , , | Lascia un commento

Usability, User Experience, Animation

Si parla spesso d’ interfaccia e di usability, ed e’ ormai da qualche hanno che ci lavoro e cerco soluzioni. In alcuni progetti e’ fondamentale, specialmente se l’ utente finale e’ il classico utonto. e’ successo piu’ volte di farmi … Continua a leggere

Pubblicato in HTML5, Silverlight, WP7, WPF | Contrassegnato , , | Lascia un commento