IanIan123
Posts: 4
Joined: Sat May 16, 2015 5:31 pm

Add more images

Sun May 17, 2015 12:31 pm

How do I add new images to an existing instance?

I've tried the following...

Code: Select all

$("#images li a:not(.highslide)")
        .addClass('highslide')
        .each(function () {
            this.onclick = function () {
                return hs.expand(this);
            }
        });
... but it results in an odd graphic glitch. It repeats the controls down the top left of the screen.

You can see it here if you scroll down a bit and then click on an image...

http://www.bangface.com/archives/bf99

Return to “Highslide JS Usage”