CookieMonster
Posts: 25
Joined: Sun Feb 15, 2015 6:03 am

Highslide wrapper continues forever ?

Why each time highslide is triggered on the page does it create an id of highslide-wrapper-1 what appears to be infinity ?

How can I write a script to target the id=highslide-wrapper if it's always changing on each click ?
MisterNeutron
Posts: 440
Joined: Sun Aug 18, 2013 11:20 am

Re: Highslide wrapper continues forever ?

It's because you can have multiple images open at the same time on the page. Each wrapper needs some sort of unique identifier.

What are you trying to do to the wrapper? You can easily apply CSS to the wrapper without having to concern yourself with the ID's.
CookieMonster
Posts: 25
Joined: Sun Feb 15, 2015 6:03 am

Re: Highslide wrapper continues forever ?

I want to change the change the image to which the wrapper displays based on certain criteria etc.
MisterNeutron
Posts: 440
Joined: Sun Aug 18, 2013 11:20 am

Re: Highslide wrapper continues forever ?

Best of luck with that. ;)
CookieMonster
Posts: 25
Joined: Sun Feb 15, 2015 6:03 am

Re: Highslide wrapper continues forever ?

Great thanks :shock: :( :|
MisterNeutron
Posts: 440
Joined: Sun Aug 18, 2013 11:20 am

Re: Highslide wrapper continues forever ?

I always know when I'm in over my head.

Return to “Highslide JS Usage”