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