When you use the .button-text a
element as a pager it removes the default behavior of the element (through preventDefault()
). If the element has a href
attribute you can still make it function as a link by using the following:
$('.button-text a')
.filter('[href]').click(function(){
window.location.href = $(this).attr('href');
});
Here's a fiddle! http://jsfiddle.net/Bjp5j/1/
This will allow for you to retain the functionality to switch the image when you hover over the button and also link to a specified URL.
I must note that this behavior is a little bit strange! The user may attempt to click on the slideshow navigation to change the image and be redirected to another page. This would be an unexpected behavior and might be frustrating for the user.