Results 1 to 2 of 2

Thread: How do I do this?? Click created link and form populates/appears next to it. Help

  1. #1
    EmeRideCo. is offline New Member: Posts Will Be Moderated
    Join Date
    Jan 2011
    Posts
    1

    How do I do this?? Click created link and form populates/appears next to it. Help

    Hello everyone,

    I am new to the site and posting. So, thanks for having me. I'm sure I will enjoy myself. so, to the above question. I am need of help creating a certain contact form. I want a few content links and when I click each, i want a certain form to appear next to it on the left. before the form appears there is an image stationed there. I'm not sure If I'm explaing correctly, so I provided a link to an example.

    http://foursquareouterwear.com/contact

    please take a look. under by e-mail, if you click dealer services, a certain form appears when the left images is. if you click customer service, a different form appears. I can't seem to figure this out at all. Don't know if its hard to create or an easy thing to do. any help would help.

    thanks again for your help

  2. #2
    Welcome to the forums.

    One way to do this is with a bit of CSS and JavaScript. Place the image and two forms into separate divs. Use CSS (display: none) to hide the form divs. With jQuery, an excellent JavaScript library that makes JavaScript much easier, add click listeners to your links. Upon link click, set CSS display: none on the image, and CSS display: block on the first form. Do this on the other link.

Similar Threads

  1. Click link so page moves down
    By lee_hdi in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 09 Dec 2009, 11:36 AM
  2. Just created my first form
    By gnubler in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 07 Sep 2006, 01:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •