Izork
Posts: 1
Joined: Sat Sep 14, 2013 7:08 pm

opener anchor in a different element

I'm testing your cleaver code.

Want to have a list of links on the left side of a web page and images on the right. Each link on the left open a corresponding image on the right.

The images on the right expand onclick just fine. And look great.


Clicking the links on the left. Highslide expands from those same links on the left. But I want highslide to expand from the corresponding images on the right.

Got the images to expand from the center of the web page. But its not the effect I hoped for.

Is it possible to change the opener anchor to a id or class?
Fusher
Posts: 7912
Joined: Mon Jan 30, 2012 10:16 am

Re: opener anchor in a different element

I think you can simply add onclick handler which will call click event on image. Something like in pseudo-jQuery-code:

Code: Select all

$("link").click(function() { $("image").click(); })
Paweł Fus
Highcharts Developer
User avatar
RoadRash
Posts: 8249
Joined: Tue Jul 15, 2008 6:43 pm
Location: Fredrikstad, Norway
Contact: Website

Re: opener anchor in a different element

For the record: The pure Highslide solution (not using jQuery) is thumbnailId
Hilde
Highslide Support Team

Overview of my Highslide sample pages: RoadRash.no

Return to “Highslide JS Usage”