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

  • Home
  • SEARCH
  • 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 319357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T08:39:14+00:00 2026-05-12T08:39:14+00:00

On facebook for example – when you put your mouseover a news item, a

  • 0

On facebook for example – when you put your mouseover a news item, a remove button appears. How can I go about making this happen?

Thanks,
Elliot

  • 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-12T08:39:15+00:00Added an answer on May 12, 2026 at 8:39 am

    Modern Browsers

    In modern browsers, you can leverage the :hover pseudo class in our selector. As an example, consider the following markup:

    <div class="item">
      <p>This is a long string of text</p>
      <div class="adminControls">
        <a href="#" title="Delete">Delete Item</a>
      </div>
    </div>
    

    By default, we would want the .adminControls to be hidden. They should, however, become visible once the user has hovered the .item element:

    .item .adminControls {
        display: none;
    }
    
    .item:hover .adminControls {
        display: block;
    }
    

    JavaScript and jQuery

    If you’re using jQuery, you can accomplish this rather easily using the $.hover() method. If you’re using Prototype, you can get the protoHover plugin to achieve the same result, or view this blog post.

    $("div.item").hover(
      function () { $(this).find(".adminControls").show(); }, 
      function () { $(this).find(".adminControls").hide(); }
    );
    

    That would accomplish the show/hide effect for the following:

    <div class="item">
      <p>This is a long string of text</p>
      <div class="adminControls">
        <a href="#" title="Delete">Delete Item</a>
      </div>
    </div>
    
    <div class="item">
      <p>This is a long string of text</p>
      <div class="adminControls">
        <a href="#" title="Delete">Delete Item</a>
      </div>
    </div>
    
    <div class="item">
      <p>This is a long string of text</p>
      <div class="adminControls">
        <a href="#" title="Delete">Delete Item</a>
      </div>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using facebook open graph, new api, and i can do this: <fb:login-button show-faces=true
According to Facebook graph API we can request a user profile picture with this
In Facebook's Compose Message, each name that appears in the TO field uses a
I am building a Facebook App which is heavy on Javascript. For this I
I want to add share this on Facebook to a page. I've got this
Can't wrap my head around this... class User < ActiveRecord::Base has_many :fantasies, :through =>
i have to create a program to login on facebook using example http://code.google.com/p/facebook-java-api/wiki/Examples but
I'm just getting into Facebook application development. I've got some questions about how the
For example, if you look at Facebook, they have a short blue bar on
I am trying to run the basic fb connect example provided here http://developers.facebook.com/docs/guides/web#login Everything

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.