This message was edited by com123 at 2006-7-26 18:17:20
: : i don't know if this question belongs here.
: : if this is in the wrong place, please tell me were i should post it.
: :
: : i was wondering if anybody knew what those hiden text things are
: : called.
: :
: : the type were you click on something like a picture or text,
: : and under it or to the side, extra information becomes visible that wasn't visible before. when you click on the item again the extra info hides itself again.
: :
: : can anyone help me with the name?
: : i'm tring to creat one, but am only able to find tutorials on the
: : ones that become visible under the item (there mostly menus).
: : i need one were the extra info comes out to the left and right of the item.
: :
: : one person called it collapsible text. but when i did a search i didn't get what i wanted.
: :
: : any help is very appreciated.
: :
:
: Hi
:
: Here goes 2 exemples :
:
: One using the DISPLAY and the other using the VISIBILITY,
: the DISPLAY doesnt reserve the space of the object on the screen
: as the VISIBILITY does.
:
:
: <html>
: <head>
: <title>Teste8</title>
: <script language="JavaScript">
: function ShowLink2()
: {
: if (Link2.style.display == "none")
: Link2.style.display = "inline";
: else
: Link2.style.display = "none";
: }
:
: function ShowLink5()
: {
: if (Link5.style.visibility == "hidden")
: Link5.style.visibility = "visible";
: else
: Link5.style.visibility = "hidden";
: }
: </script>
: </head>
: <body>
: <a href="JavaScript:ShowLink2();">aaaaaaaa</a>
: <a id="Link2" href="JavaScript:;" style="display: none;">bbbbbbbb</a>
: <a href="JavaScript:;">cccccccc</a>
:
:
:
: <a href="JavaScript:ShowLink5();">aaaaaaaa</a>
: <a id="Link5" href="JavaScript:;" style="visibility: hidden;">bbbbbbbb</a>
: <a href="JavaScript:;">cccccccc</a>
: </body>
: </html>
:
:
: Hope it helps.
:
thanks a lot, i was just looking for a name but got the
code i needed instead. thank you i appreciate it. this
was a major help.