SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Mar 2005
    Posts
    183
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help for a prototype

    Hi!

    I need to build a prototype (using plain HTML and Javascript (evrything hardcoded)).

    Pls share the code (if anyone has it) for the following scenario.


    Clicking on an Icon ( I have several icons, each on a different row), a set of rows below it (the icon) should be displayed. Clicking on it again should hide it.

    I will try to draw it (for better understanding),

    Icon 1
    Icon 2
    Icon 3 (Say I click on Icon 3, it should display the following below it. Clicking on it again should hide it)
    Emplooyee Name Employee Ph No
    Sam 123-321-947
    Jeff 876-239-582
    Icon 4

    Thanks

  2. #2
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    This is a common thing done with javascript. Have you tried searching google first?

    http://www.google.co.uk/search?q=jav...toggle+display
    http://bonrouge.com/br.php?page=togglit


Bookmarks

Posting Permissions

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