Is there another way to do this so it will validate.

P

Paul

Kathleen said:

You both miss the point. this is about what if the user enters in through a
bookmark. Then what do you do?
my first page does redirect the user to another page. but what if the user
bookmarded the main page?.


Paul
 
M

Mike Mueller

Have you ever checked to see how many people have bookmarked
your page?


: Murray wrote:
: > Yes, but why bother?
: >
: >
: > : >> Murray wrote:
: >>> The server cannot know if the client has js enabled,
you know?
: >>>
: >>>
: >>> : >>>> Paul wrote:
: >>>>> HI! I use the following to redirect the user to
another page if they
: >>>>> do have JavaScript turned on but it will not
validate at w3c.org with
: >>>>> the following doc type.
: >>>>>
: >>>>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
: >>>>>
: >>>>> <noscript>
: >>>>> <meta http-equiv="refresh"
: >>>>>
content="1;URL=http://www.webcandesign.com/index.html">
: >>>>> </noscript>
: >>>>>
: >>>>>
: >>>>> Is there another way of acomplishing this?
: >>>>>
: >>>>> Paul
: >>>>
: >>>> I figuire if I can use a server side redirect then
this might work for
: >>>> me
: >>>> since the other does not validate.
: >>>>
: >>>> Sort of a noscript redirection for asp. is there such
a thing or
: >>>> similiar
: >>>> thing?
: >>>>
: >>>> Paul
: >>
: >> Onless its been passed something from vb script?
: >>
: >> Paul
:
: HI! I want to bother because I need to know if the user
has come in through
: a bookmark. and if he did come though a bookmark then I
need to redirect
: him/her to another page. as of now I do know a way but it
doesn ot validate
: in w3c.org and that's why I am posting this question.
sorry if I did not
: make myself clear before.
:
: Paul
:
:
 
P

Paul

Mike said:
Have you ever checked to see how many people have bookmarked
your page?

Is that really the point? how many people booked marked any site with the
same situaltion? Am I the only person with delema?

Paul
 
K

Kathleen Anderson [MVP - FrontPage]

R

Ronx

If the user enters through a bookmark then the user has a browser that
can, and has, run JavaScript.
All you need is a notice after the body:
<body>
<noscript>
You need to turn on Javascript to see this page
</noscript>

Links to this page from search engines would be possible, but unlikely
since the search engines would have been redirected to the
non-javascript page (unless the spider uses Javascript, and if the
spider stayed on the site after the redirect).
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/
http://www.rxs-enterprises.org/fp
 
S

Stefan B Rusynko

Why penalize the site & the majority for the few w/ js turned off
IMHO - Add a noscript w/ a link to the non-js page version
<body>
<noscript>
<noscript><div align="center" style="border: 1px solid Red;">
<h3>You must have JavaScript Enabled to View and Navigate this Site - or see our: <a href="otherpage.htm">alternate non-script
page</a></h3>
</div></noscript>
- your normal js based page content here


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| | >
| >
| > I still think you should do the page as the non-js-enabled
| > version, and use a js redirect if js was available/enabled
| >
|
| I agree.
|
|
| --
|
| ~ Kathleen Anderson
| Microsoft MVP - FrontPage
| Spider Web Woman Designs
| web: http://www.spiderwebwoman.com/resources/
|
|
|
 
P

Paul

Paul said:
You both miss the point. this is about what if the user enters in through
a bookmark. Then what do you do?
my first page does redirect the user to another page. but what if the user
bookmarded the main page?.


Paul

HI! I was hoping for a more automated way of doing it. useing noscript with
the meta refresh works but it just does not validate.

Paul
 
A

Andrew Murray

the meta refresh is not a "javascript redirect".....??
why the <noscript> tags around the <meta http-equiv> tag?
 
C

Chris Leeds, MVP - FrontPage

I didn't say any of that.
Just to start with a valid page before worrying about the validity of the JS
redirect.

--
Have you seen ContentSeed (www.contentseed.com)?
--
Chris Leeds
Contact: http://chrisleeds.com/contact

NOTE:
This message was posted from an unmonitored email account.
This is an unfortunate necessity due to high volumes of spam sent to email
addresses in public newsgroups.
Sorry for any inconvenience.
 

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

Top