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

Elevate zoom not working for ajax contents. #175

Open
malik3339 opened this issue Jan 22, 2018 · 1 comment
Open

Elevate zoom not working for ajax contents. #175

malik3339 opened this issue Jan 22, 2018 · 1 comment

Comments

@malik3339
Copy link

Greetings !

elevate zoom works fine when page is loaded. but when I loaded images with "jquery.append()" inside "ajax" call it does nothing.....

@hakiour
Copy link

hakiour commented Apr 13, 2018

After load the image wit jquery.append(), call again to the elevateZoom() function whit your configuration, example:

$( "#elementID" ).empty();
$( "#elementID" ).append("<img id='yourImageID' src='https://hamza.es/assets/images/logo.png' data-zoom-image='https://hamza.es/assets/images/logo.png' alt=''>");
$("#yourImageID").elevateZoom({tint:true, tintColour:'#01714d', tintOpacity:0.5, scrollZoom : true });

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

2 participants