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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:36:53+00:00 2026-05-15T05:36:53+00:00

I have created http://techavid.com/design/test3.html and when you load the page you see there are

  • 0

I have created http://techavid.com/design/test3.html and when you load the page you see there are 3 images. The sun image is focused(in color), while the others are greyed out until clicked. That is how it should be for the images.

Under each image you see a sentence 1st: Sun, 2nd: Airplane & 3rd: Nano, but when page loads you see all three sentences. How to make it so when page loads the first sentence underneath the active image (sun) shows only and the others do not show, they only show when clicked (though that works just need to figure out onpage load only show “1st: Sun”)?

thanks 🙂

paul J.

  • 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-15T05:36:53+00:00Added an answer on May 15, 2026 at 5:36 am

    If you’d put the first two links in a span (like you do with the other two sets of links), this should work:

    $('#popuptext span:not(:first) a').hide();
    

    The proposed HTML would look something like this:

    <div id="popuptext">
        <span class="suntext"> <!-- add this -->
            <a href="#" rel="sun">1st:</a>
            <a href="#" rel="sun">Sun</a>
        </span> <!-- and this -->
        <span class="planetext">
            <a href="#" rel="plane">2nd:</a>
            <a href="#" rel="plane">Airplane</a>
        </span>
        <span class="nanotext">
            <a href="#" rel="nano">3rd:</a>
            <a href="#" rel="nano">Nano</a>
        </span>
    </div>
    
    • http://api.jquery.com/first-selector/
    • http://api.jquery.com/not-selector/

    Edit
    Sorry, I haven’t looked at your code close enough. You have to change the selector from #popuptext span:not(:first) to #popuptext span:not(:first) a, then it works correctly. Also note my comment below.

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

Sidebar

Related Questions

I have created the following demo: http://thedrivepartnership.com/overflow.html The scrolls expand fine in FireFox /
Please see the class I have created at http://textsnip.com/see/WAVinAS3 for parsing a WAVE file
I have created the layout for my new portfolio webpage here: http://vitaminjdesign.com/work.html I want
I have created a google map located at: http://calwestcultural.com/sgs/example_map.html I am trying to link
I am using this Android class to implement a countdown: http://developer.android.com/reference/android/os/CountDownTimer.html I have created
I have created this fan page http://www.facebook.com/pages/ohlala/327385737341 and added an application on tab "Special
I have created custom controller by following http://code.google.com/apis/maps/documentation/javascript/controls.html Is there any way to remove
Based on Raphael demo: http://raphaeljs.com/australia.html I have created objects that changes their colour. But
I am following this tut http://monoclestudios.com/cocos2d_whitepaper.html to integrate coco2sd. I have created a project,
I have installed SQLite and am using the wrapper from: http://sqlite.phxsoftware.com/ I have created

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.