473,322 Members | 1,526 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Collapsable paragraphs...

How would one implement collapsable paragraphs of text in an HTML page? I
want the sections of the document to be expandable for full text or
collapsed into just the section heading. Any help is appreciated.

Jerry
Nov 19 '05 #1
7 1445
Javascript is the way to go. You could use it to swap classes (styles) from
visible to hidden.
"Rlrcstr" <rl*****@msn.com> wrote in message
news:uO**************@TK2MSFTNGP12.phx.gbl...
How would one implement collapsable paragraphs of text in an HTML page? I
want the sections of the document to be expandable for full text or
collapsed into just the section heading. Any help is appreciated.

Jerry


Nov 19 '05 #2
I'm not sure I can rely on the end user having a JVM... Any way to do this
with DHTML?
And if you could point me to an example, that would be great. I'm a bit new
to the web side of things. Thanks.

"Showjumper" <kds> wrote in message
news:u9****************@tk2msftngp13.phx.gbl...
Javascript is the way to go. You could use it to swap classes (styles)
from visible to hidden.
"Rlrcstr" <rl*****@msn.com> wrote in message
news:uO**************@TK2MSFTNGP12.phx.gbl...
How would one implement collapsable paragraphs of text in an HTML page?
I want the sections of the document to be expandable for full text or
collapsed into just the section heading. Any help is appreciated.

Jerry


Nov 19 '05 #3
a little client script and css - see the display style.

-- bruce (sqlwork.com)

"Rlrcstr" <rl*****@msn.com> wrote in message
news:uO**************@TK2MSFTNGP12.phx.gbl...
How would one implement collapsable paragraphs of text in an HTML page? I
want the sections of the document to be expandable for full text or
collapsed into just the section heading. Any help is appreciated.

Jerry

Nov 19 '05 #4
Thanks for the response, Bruce, but it doesn't really mean much to me. I'm
still a student of this stuff. Can you give me a little more to go on?

"Bruce Barker" <br******************@safeco.com> wrote in message
news:eF*************@TK2MSFTNGP09.phx.gbl...
a little client script and css - see the display style.

-- bruce (sqlwork.com)

"Rlrcstr" <rl*****@msn.com> wrote in message
news:uO**************@TK2MSFTNGP12.phx.gbl...
How would one implement collapsable paragraphs of text in an HTML page?
I want the sections of the document to be expandable for full text or
collapsed into just the section heading. Any help is appreciated.

Jerry


Nov 19 '05 #5
DHTML is using javascript to control css and or html elements, not a java
virtual machine
"Rlrcstr" <rl*****@msn.com> wrote in message
news:OK**************@TK2MSFTNGP14.phx.gbl...
I'm not sure I can rely on the end user having a JVM... Any way to do
this with DHTML?
And if you could point me to an example, that would be great. I'm a bit
new to the web side of things. Thanks.

"Showjumper" <kds> wrote in message
news:u9****************@tk2msftngp13.phx.gbl...
Javascript is the way to go. You could use it to swap classes (styles)
from visible to hidden.
"Rlrcstr" <rl*****@msn.com> wrote in message
news:uO**************@TK2MSFTNGP12.phx.gbl...
How would one implement collapsable paragraphs of text in an HTML page?
I want the sections of the document to be expandable for full text or
collapsed into just the section heading. Any help is appreciated.

Jerry




Nov 19 '05 #6
Start here:
http://www.google.com/search?hl=en&q...script&spell=1
"Rlrcstr" <rl*****@msn.com> wrote in message
news:OK**************@TK2MSFTNGP14.phx.gbl...
I'm not sure I can rely on the end user having a JVM... Any way to do
this with DHTML?
And if you could point me to an example, that would be great. I'm a bit
new to the web side of things. Thanks.

"Showjumper" <kds> wrote in message
news:u9****************@tk2msftngp13.phx.gbl...
Javascript is the way to go. You could use it to swap classes (styles)
from visible to hidden.
"Rlrcstr" <rl*****@msn.com> wrote in message
news:uO**************@TK2MSFTNGP12.phx.gbl...
How would one implement collapsable paragraphs of text in an HTML page?
I want the sections of the document to be expandable for full text or
collapsed into just the section heading. Any help is appreciated.

Jerry




Nov 19 '05 #7
Very cool... Thanks.
"Showjumper" <kds> wrote in message
news:Of**************@TK2MSFTNGP10.phx.gbl...
Start here:
http://www.google.com/search?hl=en&q...script&spell=1
"Rlrcstr" <rl*****@msn.com> wrote in message
news:OK**************@TK2MSFTNGP14.phx.gbl...
I'm not sure I can rely on the end user having a JVM... Any way to do
this with DHTML?
And if you could point me to an example, that would be great. I'm a bit
new to the web side of things. Thanks.

"Showjumper" <kds> wrote in message
news:u9****************@tk2msftngp13.phx.gbl...
Javascript is the way to go. You could use it to swap classes (styles)
from visible to hidden.
"Rlrcstr" <rl*****@msn.com> wrote in message
news:uO**************@TK2MSFTNGP12.phx.gbl...
How would one implement collapsable paragraphs of text in an HTML page?
I want the sections of the document to be expandable for full text or
collapsed into just the section heading. Any help is appreciated.

Jerry




Nov 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: news | last post by:
Is there a way to write an XML doc so that you can still format the text, bold and whatnot, and still have it display in a collapsable tree format? Here's what I'm using as a test: <?xml...
40
by: | last post by:
Could someone cite some offical rule or documentation with regard to the <P> tag? I've seen folks put it in between paragraphs... and others wrap it around a paragraph. I'd think to use it...
0
by: Steve | last post by:
Visual Studio 2003 .NET / C# My current application has a Treeview control down the left hand edge permanently, and this object acts as my main menu controller. What I want though is for this...
3
by: The Bear | last post by:
Is there a way to create a collapsable datagrid. Where multiple areas of the grid can be expanded or collapsed? Using C# and Windows Forms
1
by: Brian Henry | last post by:
How do you make a collapsable list in html? I remember doing it in the past but cant remember how exactly to.. thanks!
7
by: Jukka K. Korpela | last post by:
After noticing that IE 7 beta supports selectors like p+p, I started wondering how to achieve a simple rendering of paragraphs so that 1) there is no vertical spacing between paragraphs (i.e. the...
1
by: t f | last post by:
Hi Is there a collapsable panel available in c#, e.g. like the toolbox / solution explorer etc... Or would one have to develop one? thanks t f
4
by: cleary1981 | last post by:
Hi, I am using php to generate an xml file with information from my database. What I want to do is style xml into an expandable collapsable table where the user will only see the childnodes if...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.