Forums

Help with JavaScript onClick expand with jQuery (1 post)

  1. GreenSunAdvisory
    Member
    Posted 4 months ago #

    Hi,

    http://www.greensunadvisory.com/services/

    I am trying to build an onClick expand functionality to my website. I have successfully done this using a small javaScript function that turns display from none to block. However, I really want this drop down to be animated.

    I read that I could do this using jQuery's inbuilt "slideDown()". I have given it a shot, but it isn't working. I was hoping one of you could have a look and see if you could figure out where I have gone wrong. I have either coded it wrong, or I have not included jQuery correctly (or both lol).

    http://www.greensunadvisory.com/services/
    You can see that for the "business and start-up coaching" bullet, I have used the simple display function and it works. For the "financial projections and forecasts" bullet i have tried to slideDown() but it is not working.

    Thanks in advance,
    GSA

Reply

You must log in to post.

About this Topic

  • RSS feed for this topic
  • Started 4 months ago by GreenSunAdvisory
  • This topic is not resolved
  • WordPress version: 3.3.1