Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Un-clickable Links

Featured Replies

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.

  • 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?

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 by Spitfire

  • 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 by brightonmike

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.