Skip to content

stanhatk/jquery-iframe-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

jQuery iframe popup

jQuery popup plugin for an iframe. Configure url and open website in a popup.

Report Bug · Request Feature

About The Project

iframe box Screen Shot

Built With

JQuery

Usage

Check index.html with example to use

 $('.#button_id').vibox({
        src: 'http://arabesq.vitisch.de/online-menu',
        paddingColor: '#ffffff', // default color of content background ( hex or color )
        borderRadius: 0, // default border-radius of content (integer)
        padding: 0, // default padding (integer)
        margin: 35, // margin from top and bottom(if responsive, integer)
        responsive: true, // responsive
        width: 560, // max-width or fixed width( integer )
        height: 340, // fixed height or responsive( integer )
        preload: false, // load on document load or on button click
        onClosed: function () {
            console.log('onClosed'); // custom function
        },
        beforeClosed: function () {
            console.log("beforeClosed"); // custom function
        },
        onOpened: function () {
            console.log('onOpened'); // custom function
        },
        beforeOpened: function () {
            console.log('beforeOpened'); // custom function
        }
    });

(back to top)

About

jQuery modal window plugin for an iframe

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors