How can images open new tab/page instead of a box?

Closed1401HighiMapper WP
Profile Reply
sparklogix Client

I posted this question in the Code Canyon comments, and thank you for your reply. I tried what you suggested and wound up with code that looks like this:

$(‘.imapper’ + id + ‘-pin’).click( function() {
window.location = $(this).find(‘.imCSB_container’).html();

When I added the URL to the content and saved the changes, the mapped image opens this URL ( which is a 404 page. I put in the content box. Did I miss something with the code?

Thanks so much for your help with this! You support is excellent :)


User Description Posted On
sparklogix Client

Sorry, the formatting on that code didn't turn out so great :(

Shindiri Support team Administrator


Sorry, that should've been window.location = $(this).parent().find('.imCSB_container').html();

Kind regards,


sparklogix Client

Worked perfectly! Thank you for your help :)

× This ticket is closed.