Opening a html page within fancybox

Opening inline HTML in a fancybox popup is easily achievable but once I faced the problem of opening a html page within the fancybox popup.

After googling, I found the solution that ‘type’ property of fancybox we need to include on calling of it.

Read More

Hide the Admin Bar in WordPress

WordPress automatically display an admin toolbar at the top of the page in frontend for logged in users.

This admin bar in WordPress is really an annoyance to me because it slightly disturb my theme design and I never want the toolbar for anything. I can hide it by using css and we can also do it in wordpress by using wordpress filter.

Read More

How to open fancybox on page load?

Opening fancybox on page load is very simple. just call below given code in document ready eg.

$(document).ready(function () {
        $.fancybox({
            'width': '80%',
            'height': '80%',
            'autoScale': true,
            'transitionIn': 'fade',
            'transitionOut': 'fade',
            'type': 'iframe',
            'href': 'http://www.example.com'
        });
});

Read More

[ Page 25 of 25 ]