wow. i had -never- even considered that :\ excellent point. thanks for bringing it up.
On 11/3/06, Sandra Clark <[EMAIL PROTECTED]> wrote: > Please, don't use an onchange() event on a select. If a user is not using a > mouse, then the onchange happens with the first keypress and they can't get > to where they want to go to. Its really frustrating for people who are > either blind, or who can't use a mouse for other purposes. > > As to cookie, when the redirection happens, use CF (or another server type > language) to see if the cookie is defined, and if it isn't, to set it then. > In other words do it on the redirected page > > > Sandra Clark > ============================== > http://www.shayna.com > Training in Cascading Style Sheets and Accessibility > > > -----Original Message----- > From: Erika L. Walker [mailto:[EMAIL PROTECTED] > Sent: Friday, November 03, 2006 1:17 PM > To: CF-Community > Subject: Javascript and cookies > > Argh. Programming. > > I need to do a drop down. Easy. When user selects item, takes them to that > url. Easy. > > BUT: I also need to set a cookie to make that the users preference next time > they visit the website. > > > I have this: > > <form name="jump"> > <select name="myjumpbox" > OnChange="window.open(jump.myjumpbox.options[selectedIndex].value)"> > <option selected>Please Select... > <option value="http://danish.site.dk/">Danish > <option value="http://german.site.dk/">German > <option value="http://spanish.site.dk/">Spanish > </select><noscript><INPUT type="submit" value="Go" > name=submit></noscript> > </form> > > > Anyone know how to set the cookie and then read it back next time the user > visits the site so it's automatically at the last language they used? > > The main url will be www.site.com and the client doesn't think their users > will know to actually go to languagepreference.site.com ... > > Thanks in advance ... > > > Cheers, > Erika > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:219391 Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
