Fancybox runtime height change

Fancybox runtime height change

Posted by Sajith M.R in php on 20. Nov, 2009 | 8 Comments

For those who use fancy box and iframe inside fancy box might face the issue of changing the height. Once fancybox is loaded with a particular height and width, it does not change when you change the content inside iframe dynamically. Auto height change is only possible for images.
Use the below code to change the [...]

Just a second with Iframe

Just a second with Iframe

Posted by Sajith M.R in php on 12. Nov, 2009 | 1 Comment

IF you are facing problem with layout issues inside iframe (which is normally not there in normal pages) just test these things.

Iframe is considered as a separate html page. So it needs all the basic tags, from html, head, body.
It does not get styles from parent, so you need to add manually in the header
Take [...]

Fancy box

Fancy box

Posted by Sajith M.R in html on 08. Nov, 2009 | 0 Comments

Finally I found a good light-box which really matches the name “Light box” in FancyBox.  It is a jQuery based light window. It has very less features while compare with any other light box, but simple to use. Compatible with all browsers.

Go here to find it : http://fancybox.net/
You need to add the below javascript in [...]