# propertyhive/1.4.62/assets/js/flexslider/jquery.flexslider.init.js

Property Hive, version 1.4.62. 26 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/1.4.62/code/assets/js/flexslider/jquery.flexslider.init.js
- Raw: https://pluginprobe.com/plugins/propertyhive/1.4.62/raw/assets/js/flexslider/jquery.flexslider.init.js
- Modified: 2020-05-19T22:11:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/propertyhive/1.4.62/code/assets/js/flexslider/jquery.flexslider.init.js#L10-L20`.

```javascript
jQuery(window).load(function() {
    ph_init_slideshow();
});

function ph_init_slideshow()
{
    // The slider being synced must be initialized first
    jQuery('#carousel').flexslider({
        animation: "slide",
        controlNav: false,
        animationLoop: false,
        slideshow: false,
        itemWidth: 150,
        itemMargin: 5,
        asNavFor: '#slider'
    });

    jQuery('#slider').flexslider({
        animation: "slide",
        controlNav: false,
        animationLoop: false,
        slideshow: false,
        sync: "#carousel",
        smoothHeight: true
    });
}
```
