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

Home Forums JavaScript jQuery: Expanding Height and Width

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

    I’m looking for a way to have an element expand in both height and width to reveal more content. For example, I will be using this in a navigation menu and it would start with buttons for ‘Home’, ‘About’, ‘Portfolio’ and ‘Contact’. When ‘About’ is clicked I want to make it so that it slides/expands to a greater height and width and shows the options under ‘About" (i.e. ‘Team’, ‘Mission Statement’). I’ve looked for a way to do this but I don’t think I’ve come across anything helpful. Does this seem like something that effects like .slideToggle() and .show() could solve or do I need to use a plugin? Let me know if this description doesn’t make sense and I’ll try to clarify.

    Thanks for your help!


    Are you referring to something like this, but with a click instead of a hover?

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