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:219379
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to