The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Problem with drop down link.

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #147021

    Hello I have just finished my design of my drop down but can not seem how to work out how to get it to hide until have clicked class=”sign_in” button and also can press sign in button to make it go away? not sure on how to do that


    You need javascript./jQuery.


    Thanks for that I all ready have that code but could not get it to work. Were about to I put the script that is.

    Do I put it in the head part. or below the very last div.

    <script type="text/javascript">
    $('.sign_in').click(function() {
      $('.dropdown').slideToggle('slow', function() {
        // Animation complete.

    Have you linked in Jquery first?

    Frankly, I would put it in a separate JS file linked AFTER the JQ main file but, failing that it should be at the bottom of the page before .


    yes will try it again.


    To @Paulie_D

    Thanks for you help but just watched a video on how to make pop up login here what I have done have got it to work I think it more better.

    Going to do design of it tomorrow functions just about done no jquery in this one you can fork it if need be.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.