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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:57:47+00:00 2026-05-20T01:57:47+00:00

I have a slide down menu that uses the following jquery. $(document).ready(function() { //

  • 0

I have a slide down menu that uses the following jquery.

$(document).ready(function() {

// Expand Panel
$("#open").click(function(){
    $("div#panel").slideDown("slow");

}); 

// Collapse Panel
$("#close").click(function(){
    $("div#panel").slideUp("slow"); 
});     

// Switch buttons from "Log In | Register" to "Close Panel" on click
$("#toggle a").click(function () {
    $("#toggle a").toggle();
});     

 });

I have a tab at the top.

<!-- The tab on top --> 
<div class="tab">
    <ul class="login">
        <li class="left">&nbsp;</li>
        <li><a href="http://allbuys.ca">AllBuys.ca</a></li>
        <li class="sep">|</li>
        <li id="toggle">
            <a href="#" name="open" class="open" id="open">Pick Your City</a>
            <a id="close" style="display: none;" class="close" href="#">Close Panel</a>         
      </li>
        <li class="right">&nbsp;</li>
    </ul> 
</div> <!-- / top -->

I can’t figure out how to make a text link that does the same function as Pick Your City

Any ideas?

  • 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-20T01:57:48+00:00Added an answer on May 20, 2026 at 1:57 am

    You’re not really asking a question here. Please be more specific. Also, it would be helpful if you posted some more of your code. Right now we have no idea what the context of this html snippet is.

    However, from what I understand you could just make a text link somewhere, no matter where in your page, like this:

    <a href='http://a.b.c/' id='make_this_work_as_well'>Link text</a>
    

    Then edit the following jquery line:

    $("#open").click(function(){
        $("div#panel").slideDown("slow");
    });
    

    to

    $("#open,#make_this_work_as_well").click(function(){
        $("div#panel").slideDown("slow");
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a menu div that I want to slide down so it's always
I have a navigation menu that has submenus slide down on hover. The menu
I have some HTML and jQuery that slides a div up and down to
I have some client side code that uploads an Outlook email to a document
I'm new to JQuery, so please bear with me =) I have a Menu
I have a slideUp menu, which is acting erratically in that sometimes if I
I have a jQuery script that appends a row to a table. In short,
I have two divs and two separate links that triggers slideDown and slideUp for
I have a div where I click on a link to slideDown. As expected
I have a UIPickerView as subview in a UITableViewController, which I want to slide

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.