jQuery Tiles Gallery

I've just published a jQuery plugin called jQuery Tiles Gallery on Envato Marketplace. 

jQuery Tiles Gallery

This plugin is able to arrange images in a complex and random generated grid. Images are preloaded and put into the grid to fit at best theirs cell. So, a great advantage of this plugin is that you don't have to prepare all images of same size or proportion.

The plugin is available here http://codecanyon.net/item/jquery-tiles-gallery/2281417?ref=darkoromanov just for 5 buckets.

Responsive web “design”

I had my first round with responsive HTML/CSS, "design" would be really inappropriate as I didn't (re)designed anything responsive, I just wanted to make usable romanovian.com also on mobile devices with screens below 480px.

 

Any suggestion & critics are welcome! Let me know what do you think about the "color flip" I've introduced as well, I think it's more comfortable on mobile devices (remember to go below 480px!).

iMatrix Photo Effect

I'm glad to present the last version of my iOS app iMatrix Photo Effect. With the 1.2 version I've added some new features: it's now possible to choose the characters sets that will be used to build the matrix effect and the colors as well. I've worked a bit also on the quality of the final image, now they're better and more detailed.

The app is now free, if you want to try it download from Apple Store: http://itunes.apple.com/us/app/imatrix-photo-effect/id385465319?mt=8

 

wordreference.com

My favourite "dictionary site" has just renewed its look! It's not a big change, they made it cleaner but it's alway the old good wordreference.com. They also added a couple of feature on the sidebar, so it's finally possible to disactivate that  annoying (for me) link on words.

 

Here it is: http://wordreference.com

Check HTML tags in text

This is a simple function in javascript I wrote to check whether a text contains HTML tags. It doesn’t rely on any javascript library, it works with Chrome, Firefox, and IE7,8,9 (I think also IE6).

It’s useful if, for example, you don’t allow HTML tags in a form submitted by users but BE CAREFUL because, as any web developer should always keep sticked in mind, you can never, ever, trust submitted data, so be sure to double check the data also on server side to prevent sql injection or XSS attacks.

 

 

function containsHtmlTags(text) {
        var html = document.createElement('div');
        html.innerHTML = text;
        return html.children.length;
    }