making an application on you web page hidden

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shonie
    New Member
    • Apr 2012
    • 3

    making an application on you web page hidden

    Ok so on my home page of my site i have a nav bar. I want all my nav bar links to link it itself. I want all the information on my page to be hidden until you click on the link. how can I do this??
  • AutumnsDecay
    New Member
    • Mar 2008
    • 170

    #2
    I'm not 100% sure of what your question is, but I'll take a stab at it.

    You would actually want to use Javascript for something like this. I'd recommend using the jQuery library.

    jQuery has a function called toggle() which would do what you want.

    Check out a site I did a while back that uses this functionality:



    If you click on one of the products, it expands. The same could be done in your situation; click the link, toggle a certain <div> element, containing the info you want to display.

    Comment

    Working...