From ciapug@cialug.org Mon Oct 11 17:23:04 2004 From: ciapug@cialug.org (Claus) Date: Mon, 11 Oct 2004 11:23:04 -0500 Subject: [ciapug] RSS - Text formating in tag? Message-ID: <416AB368.5000809@gmx.net> Hello Currently I'm playing around with RSS (version 2.0) and try to create some content. With the item I use the , <link> and <description> tags. I was wondering if any formating of the text inside of the <description> tag exists. I haven't found any discussion about it and the specifications don't mention anything about it either (http://blogs.law.harvard.edu/tech/rss#roadmap). My guess no formating is allowed, but if it where I'd be interested in carrage returns (<br> or <p></p>) and bold (<b></b>). While RSS validators (http://rss.scripting.com/ and http://feeds.archive.org/validator/) don't like the <p> and <b> tags the SharpReader handles it as desired. Claus From ciapug@cialug.org Mon Oct 11 17:28:36 2004 From: ciapug@cialug.org (Jerry Weida) Date: Mon, 11 Oct 2004 11:28:36 -0500 Subject: [ciapug] RSS - Text formating in <description> tag? In-Reply-To: <416AB368.5000809@gmx.net> References: <416AB368.5000809@gmx.net> Message-ID: <40e57b5f0410110928531fb057@mail.gmail.com> You can use formatting if you encapsulate everything in there with a CDATA tag. e.g. <description><![CDATA[Here is where you would put your formatted information!]]></description> On Mon, 11 Oct 2004 11:23:04 -0500, Claus <cniesen@gmx.net> wrote: > Hello > > Currently I'm playing around with RSS (version 2.0) and try to create > some content. With the item I use the <title>, <link> and <description> > tags. I was wondering if any formating of the text inside of the > <description> tag exists. I haven't found any discussion about it and > the specifications don't mention anything about it either > (http://blogs.law.harvard.edu/tech/rss#roadmap). > > My guess no formating is allowed, but if it where I'd be interested in > carrage returns (<br> or <p></p>) and bold (<b></b>). While RSS > validators (http://rss.scripting.com/ and > http://feeds.archive.org/validator/) don't like the <p> and <b> tags the > SharpReader handles it as desired. > > Claus > _______________________________________________ > ciapug mailing list > ciapug@cialug.org > http://cialug.org/mailman/listinfo/ciapug > From ciapug@cialug.org Mon Oct 11 19:05:01 2004 From: ciapug@cialug.org (Claus) Date: Mon, 11 Oct 2004 13:05:01 -0500 Subject: [ciapug] RSS - Text formating in <description> tag? In-Reply-To: <40e57b5f0410110928531fb057@mail.gmail.com> References: <416AB368.5000809@gmx.net> <40e57b5f0410110928531fb057@mail.gmail.com> Message-ID: <416ACB4D.9020106@gmx.net> Good great info. Thanks. The question remains if RSS Feed Readers / Aggregators do interpret these HTML tags. On 10/11/2004 11:28 AM, Jerry Weida wrote: > You can use formatting if you encapsulate everything in there with a CDATA tag. > e.g. > <description><![CDATA[Here is where you would put your formatted > information!]]></description> > > On Mon, 11 Oct 2004 11:23:04 -0500, Claus <cniesen@gmx.net> wrote: > >>Hello >> >>Currently I'm playing around with RSS (version 2.0) and try to create >>some content. With the item I use the <title>, <link> and <description> >>tags. I was wondering if any formating of the text inside of the >><description> tag exists. I haven't found any discussion about it and >>the specifications don't mention anything about it either >>(http://blogs.law.harvard.edu/tech/rss#roadmap). >> >>My guess no formating is allowed, but if it where I'd be interested in >>carrage returns (<br> or <p></p>) and bold (<b></b>). While RSS >>validators (http://rss.scripting.com/ and >>http://feeds.archive.org/validator/) don't like the <p> and <b> tags the >>SharpReader handles it as desired. >> >> Claus >>_______________________________________________ >>ciapug mailing list >>ciapug@cialug.org >>http://cialug.org/mailman/listinfo/ciapug >> > > _______________________________________________ > ciapug mailing list > ciapug@cialug.org > http://cialug.org/mailman/listinfo/ciapug > > From ciapug@cialug.org Mon Oct 11 19:08:16 2004 From: ciapug@cialug.org (Jerry Weida) Date: Mon, 11 Oct 2004 13:08:16 -0500 Subject: [ciapug] RSS - Text formating in <description> tag? In-Reply-To: <416ACB4D.9020106@gmx.net> References: <416AB368.5000809@gmx.net> <40e57b5f0410110928531fb057@mail.gmail.com> <416ACB4D.9020106@gmx.net> Message-ID: <40e57b5f04101111082a94aae1@mail.gmail.com> In my opinion, they do interpret these just fine. On Mon, 11 Oct 2004 13:05:01 -0500, Claus <cniesen@gmx.net> wrote: > Good great info. Thanks. > The question remains if RSS Feed Readers / Aggregators do interpret > these HTML tags. > > > > On 10/11/2004 11:28 AM, Jerry Weida wrote: > > You can use formatting if you encapsulate everything in there with a CDATA tag. > > e.g. > > <description><![CDATA[Here is where you would put your formatted > > information!]]></description> > > > > On Mon, 11 Oct 2004 11:23:04 -0500, Claus <cniesen@gmx.net> wrote: > > > >>Hello > >> > >>Currently I'm playing around with RSS (version 2.0) and try to create > >>some content. With the item I use the <title>, <link> and <description> > >>tags. I was wondering if any formating of the text inside of the > >><description> tag exists. I haven't found any discussion about it and > >>the specifications don't mention anything about it either > >>(http://blogs.law.harvard.edu/tech/rss#roadmap). > >> > >>My guess no formating is allowed, but if it where I'd be interested in > >>carrage returns (<br> or <p></p>) and bold (<b></b>). While RSS > >>validators (http://rss.scripting.com/ and > >>http://feeds.archive.org/validator/) don't like the <p> and <b> tags the > >>SharpReader handles it as desired. > >> > >> Claus > >>_______________________________________________ > >>ciapug mailing list > >>ciapug@cialug.org > >>http://cialug.org/mailman/listinfo/ciapug > >> > > > > _______________________________________________ > > ciapug mailing list > > ciapug@cialug.org > > http://cialug.org/mailman/listinfo/ciapug > > > > > > > > _______________________________________________ > ciapug mailing list > ciapug@cialug.org > http://cialug.org/mailman/listinfo/ciapug > From ciapug@cialug.org Thu Oct 14 15:19:44 2004 From: ciapug@cialug.org (Dave J. Hala Jr.) Date: Thu, 14 Oct 2004 09:19:44 -0500 Subject: [ciapug] Browser Strings Message-ID: <1097763584.4687.1057.camel@fy05.dev.foo> So, I've been fooling around trying to identify the web browser, the os and if $MS the patch level. I've tried on with Mozilla on RHEL WS 3.x, windows 95/98 win2k and XP... It's a crude function that gets the basics: function parse_id($browser_id) { # # Almost always the good stuff starts at the right paren. Convert it # into a semi-colon to make it easier to explode the string into an array $new_id = str_replace("(", ";", $browser_id); # sometimes MS doesn't use the right paren in the id string, and they add extra stuff, # remember embrace and extend? # convert the right paran to a semi colon if it exits $new_id = str_replace(")", ";", $new_id); #echo "New id: $new_id <BR>"; # explode the values into an array $info = explode(";", $new_id); $cnt = count($info); # cleanup the elements for ($i=0;$i<$cnt;$i++){ $info[$i] = ltrim(rtrim($info[$i]));} # element # 2 in the array is the browser identity string. # however, mozilla and firefox put a U in there.Firefox # identifiers end up in the elements 4 and 5, mozilla in 4,5,6 if($info[2] == 'U'){ $info[2] = "$info[4] $info[5] $info[6]";} # windows 95/98 are reported as Windows 95 or Windows 98 # However 2000/Xp are reported as NT 5.0 or NT 5.1 # so clean it up if($info[3]== "Windows NT 5.0"){ $info[3] = "Windows 2000";} if($info[3]== "Windows NT 5.1"){ $info[3] = "Windows XP";} # print out the results for ($i=0;$i<$cnt;$i++){ echo "$i: $info[$i] <BR> ";} return($info); } If anyone has any comments or ideas, I'd appreciate some feedback. Also here's an interesting link: http://www.hyperborea.org/journal/archives/2004/06/19/whats-in-a-user-agent-string/ :) Dave -- Open Source Information Systems (OSIS) Dave J. Hala Jr. <dave@osis.us> 641.485.1606 From ciapug@cialug.org Thu Oct 14 18:03:39 2004 From: ciapug@cialug.org (Barry Von Ahsen) Date: Thu, 14 Oct 2004 12:03:39 -0500 Subject: [ciapug] Browser Strings In-Reply-To: <1097763584.4687.1057.camel@fy05.dev.foo> References: <1097763584.4687.1057.camel@fy05.dev.foo> Message-ID: <20041014170339.GA8558@vonahsen.com> You can check for XP SP2 also by searching for SV1 (I'm not sure which array element it would be in). Useful for dealing with some of the "enhancements" they've made (like file downloads) See the very bottom of: http://msdn.microsoft.com/security/default.aspx?pull=/library/en-us/dnwxp/html/xpsp2web.asp -barry On Thu, Oct 14, 2004 at 09:19:44AM -0500, Dave J. Hala Jr. wrote: > So, I've been fooling around trying to identify the web browser, the os > and if $MS the patch level. I've tried on with Mozilla on RHEL WS 3.x, > windows 95/98 win2k and XP... > > It's a crude function that gets the basics: > > > function parse_id($browser_id) > { > # > # Almost always the good stuff starts at the right paren. Convert it > # into a semi-colon to make it easier to explode the string into an > array > $new_id = str_replace("(", ";", $browser_id); > # sometimes MS doesn't use the right paren in the id string, and they > add extra stuff, > # remember embrace and extend? > # convert the right paran to a semi colon if it exits > $new_id = str_replace(")", ";", $new_id); > #echo "New id: $new_id <BR>"; > # explode the values into an array > $info = explode(";", $new_id); > $cnt = count($info); > # cleanup the elements > for ($i=0;$i<$cnt;$i++){ $info[$i] = ltrim(rtrim($info[$i]));} > # element # 2 in the array is the browser identity string. > # however, mozilla and firefox put a U in there.Firefox > # identifiers end up in the elements 4 and 5, mozilla in 4,5,6 > if($info[2] == 'U'){ $info[2] = "$info[4] $info[5] $info[6]";} > # windows 95/98 are reported as Windows 95 or Windows 98 > # However 2000/Xp are reported as NT 5.0 or NT 5.1 > # so clean it up > if($info[3]== "Windows NT 5.0"){ $info[3] = "Windows 2000";} > if($info[3]== "Windows NT 5.1"){ $info[3] = "Windows XP";} > # print out the results > for ($i=0;$i<$cnt;$i++){ echo "$i: $info[$i] <BR> ";} > > return($info); > > } > > If anyone has any comments or ideas, I'd appreciate some feedback. > > Also here's an interesting link: > http://www.hyperborea.org/journal/archives/2004/06/19/whats-in-a-user-agent-string/ > > :) Dave > -- > > Open Source Information Systems (OSIS) > Dave J. Hala Jr. <dave@osis.us> > 641.485.1606 > > _______________________________________________ > ciapug mailing list > ciapug@cialug.org > http://cialug.org/mailman/listinfo/ciapug -- ================== Barry Von Ahsen barry@vonahsen.com From ciapug@cialug.org Thu Oct 14 19:00:12 2004 From: ciapug@cialug.org (Dave J. Hala Jr.) Date: Thu, 14 Oct 2004 13:00:12 -0500 Subject: [ciapug] Browser Strings In-Reply-To: <20041014170339.GA8558@vonahsen.com> References: <1097763584.4687.1057.camel@fy05.dev.foo> <20041014170339.GA8558@vonahsen.com> Message-ID: <1097776811.4687.1121.camel@fy05.dev.foo> Yeah, I've just made a bunch of tweaks to the code... Basically what I'm gonna do is only let XP SP2 users, win2k with the firefox or mozilla browsers, mac, linux users this particular site. If they are running anything else, I'm gonna spit tons of messages at them and limit the access. I'm just not a nice person... :) Dave On Thu, 2004-10-14 at 12:03, Barry Von Ahsen wrote: > You can check for XP SP2 also by searching for SV1 (I'm not sure which > array element it would be in). Useful for dealing with some of the > "enhancements" they've made (like file downloads) > > See the very bottom of: > http://msdn.microsoft.com/security/default.aspx?pull=/library/en-us/dnwxp/html/xpsp2web.asp > > -barry > > > On Thu, Oct 14, 2004 at 09:19:44AM -0500, Dave J. Hala Jr. wrote: > > So, I've been fooling around trying to identify the web browser, the os > > and if $MS the patch level. I've tried on with Mozilla on RHEL WS 3.x, > > windows 95/98 win2k and XP... > > > > It's a crude function that gets the basics: > > > > > > function parse_id($browser_id) > > { > > # > > # Almost always the good stuff starts at the right paren. Convert it > > # into a semi-colon to make it easier to explode the string into an > > array > > $new_id = str_replace("(", ";", $browser_id); > > # sometimes MS doesn't use the right paren in the id string, and they > > add extra stuff, > > # remember embrace and extend? > > # convert the right paran to a semi colon if it exits > > $new_id = str_replace(")", ";", $new_id); > > #echo "New id: $new_id <BR>"; > > # explode the values into an array > > $info = explode(";", $new_id); > > $cnt = count($info); > > # cleanup the elements > > for ($i=0;$i<$cnt;$i++){ $info[$i] = ltrim(rtrim($info[$i]));} > > # element # 2 in the array is the browser identity string. > > # however, mozilla and firefox put a U in there.Firefox > > # identifiers end up in the elements 4 and 5, mozilla in 4,5,6 > > if($info[2] == 'U'){ $info[2] = "$info[4] $info[5] $info[6]";} > > # windows 95/98 are reported as Windows 95 or Windows 98 > > # However 2000/Xp are reported as NT 5.0 or NT 5.1 > > # so clean it up > > if($info[3]== "Windows NT 5.0"){ $info[3] = "Windows 2000";} > > if($info[3]== "Windows NT 5.1"){ $info[3] = "Windows XP";} > > # print out the results > > for ($i=0;$i<$cnt;$i++){ echo "$i: $info[$i] <BR> ";} > > > > return($info); > > > > } > > > > If anyone has any comments or ideas, I'd appreciate some feedback. > > > > Also here's an interesting link: > > http://www.hyperborea.org/journal/archives/2004/06/19/whats-in-a-user-agent-string/ > > > > :) Dave > > -- > > > > Open Source Information Systems (OSIS) > > Dave J. Hala Jr. <dave@osis.us> > > 641.485.1606 > > > > _______________________________________________ > > ciapug mailing list > > ciapug@cialug.org > > http://cialug.org/mailman/listinfo/ciapug -- Open Source Information Systems (OSIS) Dave J. Hala Jr. <dave@osis.us> 641.485.1606 From ciapug@cialug.org Thu Oct 14 19:05:27 2004 From: ciapug@cialug.org (Barry Von Ahsen) Date: Thu, 14 Oct 2004 13:05:27 -0500 Subject: [ciapug] Browser Strings In-Reply-To: <20041014170339.GA8558@vonahsen.com> References: <1097763584.4687.1057.camel@fy05.dev.foo> <20041014170339.GA8558@vonahsen.com> Message-ID: <20041014180527.GA333@vonahsen.com> On Thu, Oct 14, 2004 at 12:03:39PM -0500, Barry Von Ahsen wrote: > You can check for XP SP2 also by searching for SV1 (I'm not sure which > array element it would be in). Useful for dealing with some of the > "enhancements" they've made (like file downloads) > here's my XP SP2 user agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) At work I have to develop for NN4, so forcing a "modern" browser doesn't seem too cruel to me :) -barry > See the very bottom of: > http://msdn.microsoft.com/security/default.aspx?pull=/library/en-us/dnwxp/html/xpsp2web.asp > > -barry > > > On Thu, Oct 14, 2004 at 09:19:44AM -0500, Dave J. Hala Jr. wrote: > > So, I've been fooling around trying to identify the web browser, the os > > and if $MS the patch level. I've tried on with Mozilla on RHEL WS 3.x, > > windows 95/98 win2k and XP... > > > > It's a crude function that gets the basics: > > > > > > function parse_id($browser_id) > > { > > # > > # Almost always the good stuff starts at the right paren. Convert it > > # into a semi-colon to make it easier to explode the string into an > > array > > $new_id = str_replace("(", ";", $browser_id); > > # sometimes MS doesn't use the right paren in the id string, and they > > add extra stuff, > > # remember embrace and extend? > > # convert the right paran to a semi colon if it exits > > $new_id = str_replace(")", ";", $new_id); > > #echo "New id: $new_id <BR>"; > > # explode the values into an array > > $info = explode(";", $new_id); > > $cnt = count($info); > > # cleanup the elements > > for ($i=0;$i<$cnt;$i++){ $info[$i] = ltrim(rtrim($info[$i]));} > > # element # 2 in the array is the browser identity string. > > # however, mozilla and firefox put a U in there.Firefox > > # identifiers end up in the elements 4 and 5, mozilla in 4,5,6 > > if($info[2] == 'U'){ $info[2] = "$info[4] $info[5] $info[6]";} > > # windows 95/98 are reported as Windows 95 or Windows 98 > > # However 2000/Xp are reported as NT 5.0 or NT 5.1 > > # so clean it up > > if($info[3]== "Windows NT 5.0"){ $info[3] = "Windows 2000";} > > if($info[3]== "Windows NT 5.1"){ $info[3] = "Windows XP";} > > # print out the results > > for ($i=0;$i<$cnt;$i++){ echo "$i: $info[$i] <BR> ";} > > > > return($info); > > > > } > > > > If anyone has any comments or ideas, I'd appreciate some feedback. > > > > Also here's an interesting link: > > http://www.hyperborea.org/journal/archives/2004/06/19/whats-in-a-user-agent-string/ > > > > :) Dave > > -- > > > > Open Source Information Systems (OSIS) > > Dave J. Hala Jr. <dave@osis.us> > > 641.485.1606 > > > > _______________________________________________ > > ciapug mailing list > > ciapug@cialug.org > > http://cialug.org/mailman/listinfo/ciapug > > -- > ================== > Barry Von Ahsen > barry@vonahsen.com > _______________________________________________ > ciapug mailing list > ciapug@cialug.org > http://cialug.org/mailman/listinfo/ciapug -- ================== Barry Von Ahsen barry@vonahsen.com From ciapug@cialug.org Mon Oct 25 19:35:06 2004 From: ciapug@cialug.org (Chris Hettinger) Date: Mon, 25 Oct 2004 13:35:06 -0500 Subject: [ciapug] Two dynamic drop downs Message-ID: <417D475A.8010104@raccoon.com> Perhaps someone has a solution to this, In a web form I have two drop downs that I need to build dynamically. The first drop down is a main category and the second drop down box is populated with appropriate options once the first drop down selection has been made. This has to be done with some melding of JavaScript and PHP, but I haven't found the best way to solve this yet. Just curious if anyone else had done something similar and could let me of a good JS script to use or psuedo code of how they solved it. -ch From ciapug@cialug.org Wed Oct 27 20:41:57 2004 From: ciapug@cialug.org (David Champion) Date: Wed, 27 Oct 2004 14:41:57 -0500 Subject: [ciapug] Two dynamic drop downs In-Reply-To: <417D475A.8010104@raccoon.com> References: <417D475A.8010104@raccoon.com> Message-ID: <417FFA05.8000302@visionary.com> Chris Hettinger wrote: > Perhaps someone has a solution to this, > > In a web form I have two drop downs that I need to build dynamically. > The first drop down is a main category and the second drop down box is > populated with appropriate options once the first drop down selection > has been made. > > This has to be done with some melding of JavaScript and PHP, but I > haven't found the best way to solve this yet. > > Just curious if anyone else had done something similar and could let me > of a good JS script to use or psuedo code of how they solved it. > Barry recently did some javascript voodoo on the iowarealty.com web site to do rotating images... the PHP code builds a Javascript array, which loops thru the images. You could probably do something similar - load a javascript array, and in your onchange for the first control, have it load the second one from the array. -dc From ciapug@cialug.org Wed Oct 27 21:07:52 2004 From: ciapug@cialug.org (Dave J. Hala Jr.) Date: Wed, 27 Oct 2004 15:07:52 -0500 Subject: [ciapug] Two dynamic drop downs In-Reply-To: <417FFA05.8000302@visionary.com> References: <417D475A.8010104@raccoon.com> <417FFA05.8000302@visionary.com> Message-ID: <1098907672.3387.281.camel@dsl-69.marshallnet.com> I've been really interested in doing this with php and java too. I just haven't had the time to work on it.. Anyone got any code laying around? On Wed, 2004-10-27 at 14:41, David Champion wrote: > Chris Hettinger wrote: > > > Perhaps someone has a solution to this, > > > > In a web form I have two drop downs that I need to build dynamically. > > The first drop down is a main category and the second drop down box is > > populated with appropriate options once the first drop down selection > > has been made. > > > > This has to be done with some melding of JavaScript and PHP, but I > > haven't found the best way to solve this yet. > > > > Just curious if anyone else had done something similar and could let me > > of a good JS script to use or psuedo code of how they solved it. > > > > Barry recently did some javascript voodoo on the iowarealty.com web site > to do rotating images... the PHP code builds a Javascript array, which > loops thru the images. You could probably do something similar - load a > javascript array, and in your onchange for the first control, have it > load the second one from the array. > > -dc > > > _______________________________________________ > ciapug mailing list > ciapug@cialug.org > http://cialug.org/mailman/listinfo/ciapug -- Open Source Information Systems (OSIS) Dave J. Hala Jr. <dave@osis.us> 641.485.1606 From ciapug@cialug.org Wed Oct 27 22:48:07 2004 From: ciapug@cialug.org (Barry Von Ahsen) Date: Wed, 27 Oct 2004 16:48:07 -0500 Subject: [ciapug] Two dynamic drop downs In-Reply-To: <417FFA05.8000302@visionary.com> References: <417D475A.8010104@raccoon.com> <417FFA05.8000302@visionary.com> Message-ID: <41801797.8030204@vonahsen.com> David Champion wrote: > Chris Hettinger wrote: > >> Perhaps someone has a solution to this, >> >> In a web form I have two drop downs that I need to build dynamically. >> The first drop down is a main category and the second drop down box is >> populated with appropriate options once the first drop down selection >> has been made. >> >> This has to be done with some melding of JavaScript and PHP, but I >> haven't found the best way to solve this yet. >> >> Just curious if anyone else had done something similar and could let >> me of a good JS script to use or psuedo code of how they solved it. >> > > Barry recently did some javascript voodoo on the iowarealty.com web site > to do rotating images... the PHP code builds a Javascript array, which > loops thru the images. You could probably do something similar - load a > javascript array, and in your onchange for the first control, have it > load the second one from the array. > ah, the joy of mixing client-side scripting with server-side scripting. the two real options I've used (there may well be others) are either build the first list, then when a choice is made, resubmit/reload the page based on that selection. downside: have to reload the page, save state, form vars, etc, etc. otherwise, load up the first list, and create every possible second list, but hide it until the choice is made, then use javascript/dom foo to show the appropriate second list. downside: many multiple possible secondary lists, long load time, having all the code in the source six of one, half-dozen 'tother -barry From ciapug@cialug.org Thu Oct 28 00:37:41 2004 From: ciapug@cialug.org (Chris Hettinger) Date: Wed, 27 Oct 2004 18:37:41 -0500 Subject: [ciapug] Two dynamic drop downs In-Reply-To: <41801797.8030204@vonahsen.com> References: <417D475A.8010104@raccoon.com> <417FFA05.8000302@visionary.com> <41801797.8030204@vonahsen.com> Message-ID: <41803145.8040301@raccoon.com> I went with the second... in this case the select options and their values are not something I am concern about being seen, since it will you could see them in the sourse and I wasn't dealing with large numbers... When I get a second I will clean up and comment the page/script and share it here. -ch Barry Von Ahsen wrote: > David Champion wrote: > >> Chris Hettinger wrote: >> >>> Perhaps someone has a solution to this, >>> >>> In a web form I have two drop downs that I need to build dynamically. >>> The first drop down is a main category and the second drop down box >>> is populated with appropriate options once the first drop down >>> selection has been made. >>> >>> This has to be done with some melding of JavaScript and PHP, but I >>> haven't found the best way to solve this yet. >>> >>> Just curious if anyone else had done something similar and could let >>> me of a good JS script to use or psuedo code of how they solved it. >>> >> >> Barry recently did some javascript voodoo on the iowarealty.com web >> site to do rotating images... the PHP code builds a Javascript array, >> which loops thru the images. You could probably do something similar - >> load a javascript array, and in your onchange for the first control, >> have it load the second one from the array. >> > > ah, the joy of mixing client-side scripting with server-side scripting. > > the two real options I've used (there may well be others) are either > build the first list, then when a choice is made, resubmit/reload the > page based on that selection. downside: have to reload the page, save > state, form vars, etc, etc. > > otherwise, load up the first list, and create every possible second > list, but hide it until the choice is made, then use javascript/dom foo > to show the appropriate second list. downside: many multiple possible > secondary lists, long load time, having all the code in the source > > six of one, half-dozen 'tother > > -barry > > > _______________________________________________ > ciapug mailing list > ciapug@cialug.org > http://cialug.org/mailman/listinfo/ciapug >