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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:22:14+00:00 2026-05-24T13:22:14+00:00

When the user is hovering on a radio button/its label i want to display

  • 0

When the user is hovering on a radio button/its label i want to display another radio button, that user can also select but if mouse moves the 2nd radio button hides again. i have found this last jquery snipet that shows choices while hovering on link tag

http://www.stylesfirst.com/coding/easy-show-hide-with-jquery/

<html>
<head>
<style type="text/css">
p.trigger {
    padding: 0 0 0 20px;
    margin: 0 0 5px 0;
    background: url(plusminus.jpg) no-repeat;
    height: 15px;
    font-size: 14px;
    font-weight: bold;
    float:left;
}
p.trigger a {
    color: #474747;
    text-decoration: none;
    display: block;
    cursor:pointer;
}
p.trigger a:hover {
    color: #ff4b43;
}
p.active {
    background-position: left bottom;
}
.toggle_container {
    margin: 0 0 5px;
    padding: 0;
    overflow: hidden;
    clear: both;
}
.toggle_container .block {
    padding: 0px 0px 0px 15px;
}
</style>
<script type='text/javascript' src='jquery.js'></script>
<script type='text/javascript'>
 jQuery(document).ready(function(){
    jQuery('.toggle_container').hide();
     jQuery('p.trigger').hover(function(){
    jQuery(this).toggleClass('active').next().toggle('slow');
    });
});
</script>
</head>
<body>
<p class="trigger"><a>Click here</a></p>
<div class="toggle_container">
  <div class="block">
     <input id='element_1_1' name='element_1' class='element radio' type='radio' value='8'/>
   <label class='choice' for='element_1_1'>Somewhere in the middle</label>
  </div>
</div>
</body>
</html>
  • 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-24T13:22:15+00:00Added an answer on May 24, 2026 at 1:22 pm

    Are you looking for something like this

    http://jsfiddle.net/HezZa/

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

Sidebar

Related Questions

I have a function that tracks the user's mouse to show them visually where
I want a certain Javascript function to be called when the user mouse-overs /
I want to write a script which allow the user when hovering on any
USER = user PASS = pass QUERY = SELECT c1, c2, c3, c4, c5,
User Controls -- Do they serve a special purpose? As far as I can
User Region Points Last_Updated 1 5 0 1-Nov-09 I want this row 2 1
User can switch active application by Alt+Tab or by clicking on their icons in
User can came from web or from devise (Android|iPhone|iPad|iPod) How correctly detect it?
I need to trigger the hover state of a Flex button programatically, so that
I'm working on an app that lets the user stack graphics on top of

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.