By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,229 Members | 1,371 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,229 IT Pros & Developers. It's quick & easy.

Dynamic page formatting

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.