RonFeliciano

RonFeliciano supports this item

Supported

109 comments found.

Hi there!

Is it work with classes? I need to detect if element zoom in or zoom out:

var pz = PinchZoomer.get(“bigImage”), eventCtr = 1; pz.on(PinchZoomer.ZOOM, updateEventLog);

function updateEventLog(e)
{
    var text = "";
if(e.type == PinchZoomer.ZOOM.split(".")[0])
{
    text = "Event: Zoom - Factor: " + pz.zoom();
}
if (pz.zoom() == 2) {
    console.log('zoom in');
}
$("#eventLog").prepend(text + "
");
eventCtr++;
}

But I need to use not Id (var pz = PinchZoomer.get(“bigImage”)), I need class, what can I do?

I have a carousel and I need to detect zoom in or zoom out of every element by class, what can I do? how to detect that image zoom in not only by ID?

Add some sort of previous zoom variable. Initially set it to 1 and store the last value of the zoom factor every zoom event. Then compare the current zoom factor to the previous one. So if curZoom > prevZoom then zoom in. If not, zoom out.

If you still have problems, please send a message here -> https://codecanyon.net/user/ronfeliciano Thanks

ibwj

ibwj Purchased

where is pz_sheet.png file? i can’t find that file.

Hi there,

Replied in your email

Hi,

Kind of like mynando and stephenliu1944, I’m using Pinch Zoomer within in a Bootstrap remote modal but the image doesn’t show. Actually, it won’t show until I resize the browser. Please help. Thank you.

Hi there,

Please send me a message here -> https://codecanyon.net/user/ronfeliciano

can I get the x y of the point in image when click on it?

Hi there,

Sent a reply to your email

Hi,

May I know is there are way to change the marker content from tooltip to a some popup. For example I have image with lot of parts in it. So I need to create markers on each and every part and when someone click a marker it should show a popup with product name/ price and add to cart buttons etc.. So I just need to know if markers support just tooltips or if I can make it work with any type of popup etc.

If confirmed I’ll buy this today. Thanks

Hi there, Although there are Pinch Zoomer(PZ) examples that uses tooltips, they are not part (for now) of the PZ plugin. You should be able to use any type of plugin for tooltips/popup as long as they are not in conflict of the PZ plugin.

Hi, I read the guide and put the plugin but it is not working. Can you help me please ??

Hi there, Replied in your email.

Hi Ron, I read documentation but I not found a code for how to add a marker via API.

I have a single pinchZoomer instance and I want to dinamic load markers to it. Note that the elements I want to set as a marker are not in the dom yet, How can I do this? Here an example of my idea

// First define the array that will receive instances of markers
var markers = [];

var pz = PinchZoomer.get("map"), // this is my only instance of pinchzoomer in the page

// now I want to add a few new markers to pz
for(var i = 0; i < 5; i++) {
   // this is the element that I want to become a marker, note that is not in the dom yet
   var area = '<div class="area" />';
   // here is first doubt, I need to append this div to dom, if yes, before of after instance it as a marker?
   $("#maparea").append(area);
   // second doubt, how do I define a fresh new Marker instance with this element?
   var mk = pz.Marker(area); // no idea what I'm doing at this line
   // after marker is instanced, define some vars
   mk.vars(x: 100, y: 50); // is that right?
   markers.push(mk); // add the new marker instance to array
}

pz.addMarkers(markers); // and finnaly define the just created markers to pz

I need some help here…

Hi there,

Please send a message here -> https://codecanyon.net/user/ronfeliciano so it will be easier to assist you. Thanks!

Can I Zoom Text Content in DIV?

I’ve purchased this but unable to use this because it don’t allow me to set container size.

Hi t here,

You can zoom text and also you can set the container size using CSS and the PZ content will adjust its size based on the scaleMode option you placed.

pixelflex

pixelflex Purchased

Hey, is there any information on the Tooltip Titles that pop-up when you hover over the marker?

HI there,

Please send a message here -> https://codecanyon.net/user/ronfeliciano Thanks!

by
by
by
by
by
by