If you go to http://www.wine.com a you get prompted for a state, which saves for later use.
Anyone know an easy (i.e. canned) way of doing this? Their code is giving me a headache.
Thanks
anyone know how...
Moderator: Akira
- Baron[CotC]
- Caesar
- Posts: 1711
- Joined: Wed Feb 26, 2003 1:29 am
- Xfire Username: redbaroncotc
- Location: Alberta, Canada
- Contact:
-
- Legatus - Legion 2
- Posts: 1186
- Joined: Tue Feb 08, 2005 9:11 pm
- Location: Michigan
-
- Legatus - Legion 2
- Posts: 1186
- Joined: Tue Feb 08, 2005 9:11 pm
- Location: Michigan
- Baron[CotC]
- Caesar
- Posts: 1711
- Joined: Wed Feb 26, 2003 1:29 am
- Xfire Username: redbaroncotc
- Location: Alberta, Canada
- Contact:
well the state is most likely stored as a cookie. I haven't looked at his code, you'll probably find he's running server-side scripts we cant see anyway.
As for teh popup blocking the rest of the site until you select a state...
-- Check for a cookie if one doesnt exist then we need to make a popup
-- create an invisible popup that covers the entire website and prevents clicking through it
-- create a pick-a-state popup as the top layer that takes the user's choice and saves it as a cookie
-- then refresh the page and start at the check for cookie step again
-- if a cookie exists skip all the neat code and just go about normal business
As for teh popup blocking the rest of the site until you select a state...
-- Check for a cookie if one doesnt exist then we need to make a popup
-- create an invisible popup that covers the entire website and prevents clicking through it
-- create a pick-a-state popup as the top layer that takes the user's choice and saves it as a cookie
-- then refresh the page and start at the check for cookie step again
-- if a cookie exists skip all the neat code and just go about normal business