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 6680101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:26:08+00:00 2026-05-26T04:26:08+00:00

I have a page with multiple divs that hold different sections of content. Initially,

  • 0

I have a page with multiple divs that hold different sections of content. Initially, the home page content is set to .active and everything else is hidden. Once a link is clicked in the nav bar, the current active content is to fade out and the new content is to fade in.

Currently, this works almost perfectly. However, any text links in any of the content divs are invisible (images that are wrapped with a link show up fine). The text links, although invisible, are clickable if you move your mouse over the empty space where the link should show up.

Example HTML:

<body>
 <div class="content_wrapper">
  <div id="nav">
   <ul id="navlist">
    <a id="about" class="showHideLink"><li>ABOUT</li></a>
    <a id="media" class="showHideLink"><li>MEDIA</li></a>
    <a id="blog" class="showHideLink"><li>BLOG</li></a>
   </ul>      
  </div> 

  <div id="page-wrap">
  <!-- Content -->

   <div id="home-content" class="section active">
    <h1>WELCOME</h1>
     Welcome to our site!<br />
     Check out our YouTube channel: <a href="http://www.youtube.com/user/Foo/" target="_blank">Here</a><!-- **This link is invisible** -->
    </div>

    <div id="about-content" class="section">
     <h1>About</h1>
      About Us. [<a href="#citation1" alt="Citation Link">1</a>]<!-- **This link is invisible** --><br />
      <br />
      [<a id="citation1">1</a>] <a href="mycitation.html" target="_blank">Citation Title</a> <!-- **This link is invisible** -->
    </div>

   </div>
  </div>
</body>

Javascript:

<script type='text/javascript'>
 $(document).ready(
  function() {
   $(".section").hide();
   $(".active").fadeIn();

   $("a.showHideLink").click(function(){
    var _contentId = '#' + $(this).attr('id') + "-content";

    if(!$(_contentId).hasClass("active") && $(_contentId).length)
    {
     $(".active").stop().fadeToggle(function(){
     $(".active").removeClass("active");
     $(_contentId).fadeToggle();
     $(_contentId).addClass("active");
    }
   );
  }
 });
});
</script>

How can I change this so that links (and other possible content that may also be affected by this bug that I haven’t found yet) in the content sections are visible?
Thanks

EDIT:
Here is a link to the live site: http://uoflusli.com/index_off.php

  • 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-05-26T04:26:09+00:00Added an answer on May 26, 2026 at 4:26 am

    The problem is those links are getting the style of a:-webkit-any-link and is rendered the same as the background. Hard to see things without a color.

    This issue is easy to find. Use Chrome, then right click on the link and select inspect element — the CSS cascade is laid bare (pun intended).

    Good Luck.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have multiple divs in a page whose content gets loaded via ajax. I
Okay, I have a page on a Drupal install that has multiple divs. I
I have some page layouts that require multiple columns and all of their content
I have a page with multiple forms that I submit via Ajax POSTs serially.
I have a form on an HTML page with multiple submit buttons that perform
Imagine the scenario you have a listing page that is a concatenation of multiple
I have a search page that is used in multiple places with multiple 'themes'
I have multiple toggle divs on the same page, and the div I'm toggling
I have a page with multiple divs, these are used to make tabs with
Suppose you have a page with multiple datepickers and you want to set some

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.