473,836 Members | 1,867 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1468
Javascript is the way to go. You could use it to swap classes (styles) from
visible to hidden.
"Rlrcstr" <rl*****@msn.co m> wrote in message
news:uO******** ******@TK2MSFTN GP12.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******** ********@tk2msf tngp13.phx.gbl. ..
Javascript is the way to go. You could use it to swap classes (styles)
from visible to hidden.
"Rlrcstr" <rl*****@msn.co m> wrote in message
news:uO******** ******@TK2MSFTN GP12.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.co m> wrote in message
news:uO******** ******@TK2MSFTN GP12.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.c om> wrote in message
news:eF******** *****@TK2MSFTNG P09.phx.gbl...
a little client script and css - see the display style.

-- bruce (sqlwork.com)

"Rlrcstr" <rl*****@msn.co m> wrote in message
news:uO******** ******@TK2MSFTN GP12.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.co m> wrote in message
news:OK******** ******@TK2MSFTN GP14.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******** ********@tk2msf tngp13.phx.gbl. ..
Javascript is the way to go. You could use it to swap classes (styles)
from visible to hidden.
"Rlrcstr" <rl*****@msn.co m> wrote in message
news:uO******** ******@TK2MSFTN GP12.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.co m> wrote in message
news:OK******** ******@TK2MSFTN GP14.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******** ********@tk2msf tngp13.phx.gbl. ..
Javascript is the way to go. You could use it to swap classes (styles)
from visible to hidden.
"Rlrcstr" <rl*****@msn.co m> wrote in message
news:uO******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP10.phx.gbl...
Start here:
http://www.google.com/search?hl=en&q...script&spell=1
"Rlrcstr" <rl*****@msn.co m> wrote in message
news:OK******** ******@TK2MSFTN GP14.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******** ********@tk2msf tngp13.phx.gbl. ..
Javascript is the way to go. You could use it to swap classes (styles)
from visible to hidden.
"Rlrcstr" <rl*****@msn.co m> wrote in message
news:uO******** ******@TK2MSFTN GP12.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
1420
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 version="1.0" encoding="iso8859-1"?> <?xml-stylesheet type="text/css" href="xml-style.css"?> <result> <date>2005-05-19
40
3387
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 effectively, it'd have to be wrapped, correct? Thanks, - Michael
0
1171
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 to be a collapsable menu object, like what you get in Visual Studio with the Solution Explorer when you toggle AutoHide. Is this possible? Thanks
3
1415
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
1399
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
2338
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 usual equivalent of an empty line is suppressed) 2) a paragraph has a suitable first-line indentation to indicate the start of a new paragraph 3) the first paragraph in a sequence of paragraphs has no first-line indentation, however. This is...
1
2481
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
1330
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 they click on the parent node. <?xml-stylesheet href='completeproject.css' type='text/css'?> <companies> <company id='PORTASILO'> <project id='00001'> <project_name>LAFARGE</project_name>
0
9656
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10819
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10526
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10237
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7771
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5641
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5811
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4437
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3100
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.