...

View Full Version : Show Hide Text problem



chartwise
05-17-2010, 09:37 AM
I am putting together a webpage in which I want to do a show-hide text from a button.

I know how to do it using moveover/mouseout.

The problem is that there is so much text that the page needs to scroll and to do this you have to mouseout which hides the text.

Does anyone know if there is a way of doing this with mouseclicks.
(click once to show the text and click once more to hide the text)

All help much appreciated

abduraooft
05-17-2010, 09:51 AM
You may toggle the display property in style using javascript. See a simple example at http://www.w3schools.com/jsref/prop_style_display.asp



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum