conditional hyperlink

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My website has two different versions of its mainpage: one is a flash
version, the other is an html version intended to be used by people who have
slow connections.

When users enter the site, they're asked to choose which one they want.

Late on, when users click on "home", I'd like my website to remember the
user's earlier choice and go to the right mainpage (fast or slow).

How do I do this?
 
personally, i'd always bring them back to the non-flash page..usually one viewing of a flash splash is plenty for one session.
 
You would need to create two separate subwebs / subsites and each would have a main/home page and in
the root of the web, just the single homepage where the visitor makes a choice or which version to
visit.

The only other ways I can think would requires the use server-side scripting to store their choice
in a session or to use cookies, and check the cookie.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
You can have both pages on the same web. The flesh page is the default.
Then use cookies to "remember" if they skipped or already visited the
flash page. Check for th cookie, if its there redirect to tech non-flash
page.

Of course when they delete the cookies, its as if they never visited the
page. But that how is done with most web sites that require sign-in. E.g
if you sing in at yahoo or hotmail and then you empty the cookies, you
need to sign-in in again.

I don't know if FP understands cookies. But if ASP is enabled at the
server, you can do it through asp script code in the page. I think you
can also use javascript to set cookies.

Do a google search for cookies and ASP/javascript.

....PC
 
Hi,

You'll need to persist which they choose by using cookies then have the main page check to see if it should display or redirect.

You can accomplish this easily with J-Bots Cookie components Set Cookie and Cookie Redirect.
http://www.websunlimited.com/order/product/Cookie/Cookie_help_dir.htm
--
Mike -- FrontPage MVP '97-'02
J-Bots 2004 102 Components For FP
http://www.websunlimited.com
FrontPage Add-ins Since '97 FP 2003 / 2002 / 2000 Compatible
Download the Trial http://www.microsoft.com/frontpage/downloads/addin/launchupdate/download.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top