Prettyscripts

Foundation Reveal and Slick Carousel

I was working on a website using Foundation Framework. It requires a slideshow on a modal window, which I made use of components that comes with foundation – Reveal and Orbit slider. I’ve used orbit on a few projects. However problem is encountered when working on this particular project, which I believe is due to its…

Continue Reading »

HTML5 placeholder attribute for IE9 and prior

One of the many nice features introduced in HTML5 is placeholder attribute for form fields, which is very useful to show helpful hints for the field. This can be done with JavaScript but it’s even better being native to HTML5. That is, until you use browser that doesn’t support HTML5, like IE9 (and before). There are…

Continue Reading »

Yii: CGridView and show detail in CJuiDialog

Instead of going to a different page to view detail from a grid row, I’d like to show detail from pop-in / dialog box within the same page. This article from Yii’s documentation does exactly that. The article provide solutions to open one or multiple dialogs. Here’s document how to show detail using the single…

Continue Reading »