Welcome Guest, Not a member yet? Register   Sign In
hiding and showing of text
#1

[eluser]k7faq[/eluser]
I have spent quite some time searching and trying some Javascript and have not found what I am looking for.

I have a CI 1.7.2 generated page with content that I would like for the user to choose to hide or show without having to reload the page.

I see that various sites use divs and allow the user to show/hide text by clicking some text, a check box or a tab.

Can anyone point me in a direction of finding some code that would fit this bill?

I am looking at several areas of the page to allow the user to show/hide so I would need to be able to reference each with a unique identifier and consequently the function would have to accommodate such.

Thank you greatly in advance for your ideas or thoughts.
#2

[eluser]SPeed_FANat1c[/eluser]
http://api.jquery.com/hide/
http://api.jquery.com/show/
#3

[eluser]k7faq[/eluser]
Thanks for the ideas.
#4

[eluser]jmadsen[/eluser]
probably easier is:

http://api.jquery.com/slideToggle/




Theme © iAndrew 2016 - Forum software by © MyBB