Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Image resizer.. open in pop-up?

Howdy! I've got a question related to resized images.

When you click a resized image in Vanilla, it will simply expand in the same window. I need it to expand in either a pop-up window or in a new tab. How can this be done? :D

Thanks for any input!

Comments

  • peregrineperegrine MVP
    edited October 2012

    something like this may work. if you find the parent of the class of the anchor if there is no class in the anchor itself. you need to find out what to select on.

    $(document).ready(function() {
    $(".AddonPicture a").attr("target", '_blank');
    });

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.