Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overlap images and play not work #93

Open
nxhoang opened this issue May 8, 2017 · 0 comments
Open

Overlap images and play not work #93

nxhoang opened this issue May 8, 2017 · 0 comments

Comments

@nxhoang
Copy link

nxhoang commented May 8, 2017

$(document).ready(function () {

var bag;

$("[id*=gvStyle] td").click(function () {

    //$("#threesixty_images").empty();

    imagesPath = GetImageUrl();

    bag = $(".bag").ThreeSixty({
        autoplay: false,
        disableSpin: true,
        totalFrames: 52, // Total no. of image you have for 360 slider
        endFrame: 52, // end frame for the auto spin animation
        currentFrame: 1, // This the start frame for auto spin
        imgList: ".threesixty_images", // selector for image list
        progress: ".spinner", // selector to show the loading progress
        imagePath: imagesPath, // path of the image assets
        filePrefix: "", // file prefix if any
        ext: ".jpg", // extention for the assets
        height: 500,
        width: 947,
        navigation: true,
        responsive: false,
        autoplayDirection: 1,
        plugins: ["ThreeSixtyFullscreen"]
    });

})

It means that the path of image will be changed if we select a row of gridview. However play function just works in first time. If I don't clear the div tag. I can see images overlap and first list of image works only.

Please help me! I'm not an expert in this.

Thanks anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant