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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:13:28+00:00 2026-06-11T18:13:28+00:00

I want a JQuery menu can any one tell me the code. I want

  • 0

I want a JQuery menu can any one tell me the code.

I want to make an animated menu placed on right, using jQuery

how it will work:
if i click on a menu (example: ABOUT US) the menu/ the ABOUT US text will moving to HOME and HOME is moving to CONTACT US

so basicly the menu is rotated to left and the selected menu is placed on the center with bigger font.

It should looks like this enter image description here

===============================================================================

Code Goes here

<link href="style.css" rel="stylesheet" type="text/css"/>
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/menu.js" type="text/javascript"></script>


<div id="navigation" align="right">
    <ul>
        <li><a href="#">About us</a></li>
        <li><a href="#">Project</a></li>
        <li id="red"><a href="#">Home</a></li>
        <li><a href="#">Our Team</a></li>
        <li><a href="#">Contact Us</a></li>
    </ul>
</div>

And the CSS goes here style.css

body{
font-family: arial;
font-size: 13px;
background: #c9c9c9;}
.clear{
display: block;
clear: both;}
 #wrap{
background: white;
width: 960px;
height:400px;
margin: auto;
padding:10px;}
.text{
padding: 10px;
border: 1px solid #E6E1C8;
background: #F3DDA6;}
 #red{
    background:#069;}
 #navigation{
width: 200px;
float: right;}
 #navigation ul{
list-style: none;}
 #navigation ul li{
height: 30px;
border-bottom: 1px dotted #ccc;}
 #navigation ul li a{
text-indent: 20px;
padding: 5px 0;
display: block;
height: 20px;
text-decoration: none;
color: #434343;
/*background-image: url(bull.png);*/
background-repeat: no-repeat;
background-position: 5px 6px ;
font-weight:bold;}
 #navigation ul li a:hover{
/*background-color: #8E8963;
background-image: url(bull.png);*/
background-repeat: no-repeat;
background-position: 15px 6px ;
/*color: white;*/}
 #footer{
border-bottom: 1px solid #ccc;
border-top: 1px solid #ccc;
text-align: center;}
 #footer img{
border: none;}

And the JQUERY goes here menu.js

   $(document).ready(function(){
   var Duration = 150; 

   $('#navigation ul li a').hover(function()
   {
     $(this).animate({ paddingRight: '20px' }, Duration);
      }, 
     function() {
      $(this).animate({ paddingRight: '0px' }, Duration);           
      });
    });
    
  • 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-11T18:13:29+00:00Added an answer on June 11, 2026 at 6:13 pm

    Here is some suggestion for this problem.
    I hope you can have the solution from this.

    Please make the following changes to your list.

    <li><a href="#">About us</a></li>
    <li><a href="#">Project</a></li>
    <li id="red"><a href="#" id="middle">Home</a></li>
    <li><a href="#">Our Team</a></li>
    <li><a href="#" id="last">Contact Us</a></li>
    

    and add the following js to your page:

    $('#navigation ul li a').click(function () {
    
        var currentId = $(this).attr('id');
    
        if (currentId == 'middle') { 
            return false; 
        } else {
            var Ltext = $('#middle').text(); 
            $('#middle').text($(this).text()); 
            $(this).text($('#last').text()); 
            $('#last').text(Ltext);
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a multilevel menu using jQuery. The main idea is by
I want jQuery or PHP code tell the visitor if the Javascript is disabled.
just wondering if someone can help me make this code work properly and be
Ok so i am using the following jquery dropdown menu. I found this code
Im using the jquery plugin jquery.cycle.all.js basically i want to place a div menu
I have asp.net generated html code. I want execute jQuery click function when user
Using jQuery I want to bind an existing function to a button. I've been
I want to use jquery autocomplete in a foreach loop. When using ids, only
I am trying to make a simple menu with a nice transition effect using
This is my first time using JQuery in any of my projects. I have

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.