Help - Search - Members - Calendar
Full Version: text that scrolls out on click
HTMLHelp Forums > Web Authoring > General Web Design
paranoid times
Hi, I am rather lost on this one. What I want is a button on a webpage that if clicked on a line of text will scroll out from it. so maybe it would look a little like:

Button->

a button with a little arrow or triangle. then when clicked:

Button some text that just rolled out<

The button still being there, now with some text, and the little triangle arrow perhaps there to be clicked on again and have the text roll back (that isn't too important though).

what I have now is this:

<span style="float: left;" onclick="document.getElementById('text1').style.visibility= 'visible';">
BUTTON
</span>
<span id="text1" style="visibility:hidden; float: left;">
some text
</span>

Which will let me click on the text "BUTTON" and cause "some text" to appear next to it. The only problem with this is that I don't want it to simply appear, I want it to scroll out. I'm not exactly sure what the best way to describe all this is, but if that makes any sense I would greatly appreciate some help. and if it doesn't I would gladly try to clarify any questions.

Thank you much,
Michael
Brian Chandler
You probably need Javascript to do this - either find a script that does more or less what you want, or write one, or get someone to write one for you.
jimlongo
google suckerfish NOT suckerfish
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.