473,395 Members | 1,689 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,395 software developers and data experts.

Dynamic page formatting

I'm looking to create a form on a page that dynamically changes
according to the user's choices so the the user is not overwhelmed by
the amount of information all at once.

For example:

The user is initially given a choice between 3 different plan types
using a list/menu item. Until the user makes a selection, nothing else
is on the page. When the user makes the selection, another list item
appears below the first.

The last time I looked at this type of problem, the answer was not easy
to implement because both browsers I want to support, (Netscape and
Explorer), used a completely different method of accomplishing this feat.

All suggestions would be greatly appreciated.

Thanks in advance,

Rusty

Jul 20 '05 #1
4 1602
In article <10*************@corp.supernews.com>, ru***@trwzm.com
enlightened us with...
I'm looking to create a form on a page that dynamically changes
according to the user's choices so the the user is not overwhelmed by
the amount of information all at once.

For example:

The user is initially given a choice between 3 different plan types
using a list/menu item. Until the user makes a selection, nothing else
is on the page. When the user makes the selection, another list item
appears below the first.

The last time I looked at this type of problem, the answer was not easy
to implement because both browsers I want to support, (Netscape and
Explorer), used a completely different method of accomplishing this feat.


Assuming you don't need to support the old netscape anymore and are okay
with only supporting NN6+ and other W3C compliant browsers, look into
the DHTML methods createElement and appendChild.

http://www.dhtmlcentral.com/tutorial...rials.asp?id=7

If you need to support NN4, you can make a layer and write to it. It's
clunky, though.

--
--
~kaeli~
"No matter what happens, somebody will find a way to take
it too seriously."
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #2
That sounds great.

I've been to the website you included. Do you have any recommendations
on books?

Thanks,

Rusty

kaeli wrote:
In article <10*************@corp.supernews.com>, ru***@trwzm.com
enlightened us with...
I'm looking to create a form on a page that dynamically changes
according to the user's choices so the the user is not overwhelmed by
the amount of information all at once.

For example:

The user is initially given a choice between 3 different plan types
using a list/menu item. Until the user makes a selection, nothing else
is on the page. When the user makes the selection, another list item
appears below the first.

The last time I looked at this type of problem, the answer was not easy
to implement because both browsers I want to support, (Netscape and
Explorer), used a completely different method of accomplishing this feat.

Assuming you don't need to support the old netscape anymore and are okay
with only supporting NN6+ and other W3C compliant browsers, look into
the DHTML methods createElement and appendChild.

http://www.dhtmlcentral.com/tutorial...rials.asp?id=7

If you need to support NN4, you can make a layer and write to it. It's
clunky, though.


Jul 20 '05 #3
On Thu, 29 Jan 2004 07:55:09 -0600, kaeli
<ti******@NOSPAM.comcast.net> wrote:
Assuming you don't need to support the old netscape anymore and are okay
with only supporting NN6+ and other W3C compliant browsers, look into
the DHTML methods createElement and appendChild.


If you care about legacy and non-JS support, supply the whole page
from the server (with maybe some ugly scrolling in the browser).

Then use client-side DHTML to switch the _visibility_ of content
elements on and off. It's a lot easier than actualy creating the
content client-side, and better for backwards compliance.

With client-side XSL and XML data islands you can do really magic
things, but that does get a bit browser dependent.

Jul 20 '05 #4
In article <10*************@corp.supernews.com>, ru***@trwzm.com
enlightened us with...
That sounds great.

I've been to the website you included. Do you have any recommendations
on books?


No, sorry, everything I learned about javascript and html, I learned on
Usenet and the internet.
I have yet to find a book I think is worth the money. None of them have
anything you can't find online somewhere.

As far as really good javascript that won't kill browsers, how to make
fallback pages for non-js browsers, and the like, the
comp.lang.javascript group has some very knowlegable people. You might
want to ask there.
--
--
~kaeli~
Never argue with an idiot! People may not be able to tell
you apart.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #5

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

Similar topics

1
by: Big Red | last post by:
Hi all I am reasonably new at php. I have a database table with three fields, id, caption and data. I have used the id and caption to create a dynamic menu. it just throws it into a loop with...
4
by: Rob Meade | last post by:
Hi all, Ok - this leads on from speaking to a couple here and in the SQL server group... I've an application which allows the user to type in their text into a form, they add 'happy' tags...
5
by: Ganco | last post by:
We have a dropdown combobox, where some of the text is wider than the textarea. I cannot set the width of the SELECT any higher due to design restrictions on the company website. When clicking...
1
by: Richard Hollenbeck | last post by:
Hello Newsgroup. You have all been very helpful in the past and I thank you. I try to ask relevant questions so that they don't just benefit me, but also benefit the group. I'm currently...
1
by: John | last post by:
I have successfully built a datatable and datagrid for a user-selectable field interface. The user can select the fields they want, and the controlling table has the data type information. I can...
4
by: Larry Grady | last post by:
Anyone up for a challenge? I've been struggling with this for a few days and was hoping someone could help me. Pouring through all the messageboards I just can't find the solution. We have a...
2
by: Martin | last post by:
Hi, I need to create the html below with dynamic controls <span class="myclass"> <h3>text1</h3> <h4><span>Price <strong>text2</strong> | Duration <strong>text3</strong></span></h4> </span>
4
by: Ed Jay | last post by:
I generate a DHTML page (a medical report) with dynamically generated text based on user input (answers to questions). The page length changes dynamically. I desire that when the page is printed...
4
by: Ken Wigle | last post by:
All, I would be very grateful for any help on this question. I have an application in asp.net 2.0 where I dynamically create a datatable and then bind that to a gridview. Unfortunately, the...
6
by: robtyketto | last post by:
Greetings, Im a newbie to JSP/Javascript (unfortunalley). However I found enough example to create code that connects to my access db and populates two combo boxes. The selection of the...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...

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.