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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T00:15:25+00:00 2026-06-07T00:15:25+00:00

I am creating a dropdown contact form and you can view the code below:

  • 0

I am creating a dropdown contact form and you can view the code below:

http://jsfiddle.net/VtQbE/4/

Basically at current there is a black button that when is pressed it triggers the jquery to drop down and display the form.

What I want to do is have a background image showing a “down arrow” and then after the button is pressed and it drops down to display the form, I want an “up arrow”

It seems so simple but I have not found a way to do this whilst messing around with it.

Any ideas would be greatly appreciated!!

  • 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-07T00:15:26+00:00Added an answer on June 7, 2026 at 12:15 am

    Add a arrow down background image to <div id="contactLink"></div> like this <div id="contactLink" style="background:url('arrowdown.png')"></div> then in your function

    $("#contactLink").click(function(){
       if ($("#contactForm").is(":hidden")){
          $("#contactForm").slideDown("slow");
          $('#contactLink').css('background', "url('arrowup.png')");
       }else{
          $("#contactForm").slideUp("slow");
          $('#contactLink').css('background', "url('arrowdown.png')");
       }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use this library (http://labs.abeautifulsite.net/archived/jquery-multiSelect/demo/) for creating a multiple-select dropdown. I want to update
I need a snippet of code for creating an other dropdown option. Basically, if
I'm using the Pure CSS menu from here: http://csswizardry.com/2011/02/creating-a-pure-css-dropdown-menu/ It works fine, but I
I'm creating a web form, where in there are around 12-15 Input Fields... You
Without creating an extra class, I want to bind a asp.net DropDown control to
I am currently creating a multiple dropdown query where the user can query by
I'm creating a form in a Rails 3 app that has a dropdown field.
So in my view I am dynamically creating dropdown lists in a for loop.
I am creating a dropdown list in code for a gridview. I want to
There are some ideas for creating a dropdown menu from data populated from xml

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.