Limited availability during the holidays
Another busy year is coming to its end, and an exciting year lies ahead. In order to get ready for a fresh new start, our team will spend a few days' rest during the winter holidays. Over the holiday break, we will have reduced staffing from December 20th, 2024, to January 5th, 2025, so please be patient if you do not receive a response as quickly as you normally would.
We send our warmest wishes for happiness, health, and success throughout the coming year. Thank you for your continued support, and may you have a peaceful and blessed Happy Holidays!
Hi
Im trying to setup a slideshow linked with a grid of thumbnails like this one: http://maxgoldmandp.com/
I am using this code in each thumb for calling the corresponding slide:
<
a
href
=
"javascript:void(0);"
onclick
=
"$('#work').layerSlider(2);"
>Change to slide 2</
a
>
However, I can't find the correct syntax to setup that function or I'm doing something wrong... because it keeps saying in chrome debug console that $ is not a function... And obviously, the slider wont change to the pointed slide...
I have tried to replace the "onclick" o "click" but won't work either...
WHAT I AM DOING WRONG???
PLEASE!
Any idea?
Hey xhhb,
The problem is that you have used "$" instead of a jQuery keyword. The "$" cannot be used in this case because of certain WP compatibility reasons.
This is the proper code you will need to use: <a href="javascript:void(0);" onclick="jQuery('#work').layerSlider(2);">Change to slide 2</a>