April 16, 201214 yr I've never noticed this before, but on my music site: http://www.maxumi.co.uk/ With the slider, when a slide is "selected", the read more link is unclickable. I'm bemused as to why this is, as all the script does is add a class to the LI element. Any ideas? I've a feeling this is a bug with the slide script. Cheers.
April 16, 201214 yr At at guess, the click event to select slides is capturing the click on the inner element.
April 16, 201214 yr Author At at guess, the click event to select slides is capturing the click on the inner element. You mean, because the LI element has a click event attached to it, this means the click event of the link is being affected?
April 16, 201214 yr Yup, the featured jQuery script sets a return false for the current slide. I assume it's meant to stop you going direct to the page when you click another tag but it's affecting the Read More link inside the <li> as well: tabs.click(function() { if ($(this).hasClass('current')) { return false; } You've also got 2 version of jQuery on that page 1.3 and 1.7 Edited April 16, 201214 yr by Spitfire
April 16, 201214 yr Author Yup, the featured jQuery script sets a return false for the current slide. I assume it's meant to stop you going direct to the page when you click another tag but it's affecting the Read More link inside the <li> as well: tabs.click(function() { if ($(this).hasClass('current')) { return false; } You've also got 2 version of jQuery on that page 1.3 and 1.7 Oh man. My old code is so messy! Does anyone have the snippet for removing the WordPress jQuery?* I'll have a tinker with the script see if I can fix it. It's old, the authors site non-existent, which is a bit annoying. Edit: I've removed the return false and all seems ok.... * if ( !is_admin() ) wp_deregister_script('jquery'); Edited April 16, 201214 yr by brightonmike
Create an account or sign in to comment