Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9218101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:47:09+00:00 2026-06-18T02:47:09+00:00

I have built a jquery slider for my website. There are 3 slides in

  • 0

I have built a jquery slider for my website. There are 3 slides in total and each slide contains 30-40 images linking through to a separate page.

I would like to completely remove the href links on the slides that are not active, and then add them in again when the slide is active. I have tried a few methods such as:

$('a').click(function(e){
e.preventDefault();
});

But this only prevents the link clicking through and doesn’t actually remove it.

Any suggestions on what i could do?

The reason i would like to do this is because Google doesn’t like more than 100 internal links on a page and i have nearly double that!

Thanks, Dan

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T02:47:10+00:00Added an answer on June 18, 2026 at 2:47 am

    please be aware that google will scrape the original code and won’t pay attention to the one resulting in js manipulations.

    you can start without href in the dom and have something like

    <a data-href="url">
    

    when the event for image sliding in fires you can activate it with:

    $(this).attr('href', $(this).data('href'))
    

    or you could actually activate them all at once on dom ready

    $('#carousel a').each(function() {
        $(this).attr('href', $(this).data('href'));
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a slide show built with jQuery that pauses on hover. It has
We've built an AJAX website which uses JQuery UI extensively. we have 30+ homemade
I have a jquery slider that I have built, basically just three pannels that
I have a jquery content slider I built from scratch with a 'previous' and
I built an image slider that uses jquery to create a loop of images.
I have built this accordion using the jquery ui accordion plugin, I sort of
I have built a simple menu in jQuery http://vanquish.websitewelcome.com/~toberua/ Here is a sample of
I have built a an app in PhoneGap/Cordova and used the JQuery library for
I am using jQuery cycle in combination with a mousewheel plugin. I have built
I have a slideshow built in flash that I want to mimic in jQuery.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.