simple programming in FrontPage

G

Guest

I would like to add a link to my website which would allow my clients to log
in to their password-protected folders. Presently, they add their client id
to the address in their browser window and enter, then enter their username
and password. I would like to be able to have a link on the homepage which
says "Type your client id here." which would then take them to the window
which asks for their username and password. This seems like it would be
easily accomplished if I knew a bit more about using FrontPage. I did learn
it well enough to create and publish my webpage, but do not know how to
configure for client input. Can anyone help me with this?

Thanks.
 
T

Trevor L.

Carl said:
I would like to add a link to my website which would allow my clients
to log in to their password-protected folders. Presently, they add
their client id to the address in their browser window and enter,
then enter their username and password. I would like to be able to
have a link on the homepage which says "Type your client id here."
which would then take them to the window which asks for their
username and password. This seems like it would be easily
accomplished if I knew a bit more about using FrontPage. I did learn
it well enough to create and publish my webpage, but do not know how
to configure for client input. Can anyone help me with this?

Thanks.

By "they add their client id to the address in their browser window", do you mean they change it to something like:
http://myweb.xxx.com/loginpage123.html

If so, this will do it
<html>
<head>
<title>Link to login page</title>
<script type = "text.javascript">
function getpage()
{location.href = 'loginpage' + form1.clientid.value + '.html'}
</script>
</head>
<body>
<form name="form1" action="">
Client ID:<input type = "text" name = "clientid" />
<input type = "button" value= "Go to Login Page" onclick="getpage()" />
</form>
</body>
</html>

If you mean something slightly different, please post back and I will try to alter the code to suit.
 
K

Kevin Spencer

I might add that "simple programming" is an oxymoron. ;-)

--

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

Orange you bland I stopped splaying bananas?


Trevor L. said:
Carl said:
I would like to add a link to my website which would allow my clients
to log in to their password-protected folders. Presently, they add
their client id to the address in their browser window and enter,
then enter their username and password. I would like to be able to
have a link on the homepage which says "Type your client id here."
which would then take them to the window which asks for their
username and password. This seems like it would be easily
accomplished if I knew a bit more about using FrontPage. I did learn
it well enough to create and publish my webpage, but do not know how
to configure for client input. Can anyone help me with this?

Thanks.

By "they add their client id to the address in their browser window", do
you mean they change it to something like:
http://myweb.xxx.com/loginpage123.html

If so, this will do it
<html>
<head>
<title>Link to login page</title>
<script type = "text.javascript">
function getpage()
{location.href = 'loginpage' + form1.clientid.value + '.html'}
</script>
</head>
<body>
<form name="form1" action="">
Client ID:<input type = "text" name = "clientid" />
<input type = "button" value= "Go to Login Page" onclick="getpage()" />
</form>
</body>
</html>

If you mean something slightly different, please post back and I will try
to alter the code to suit.
--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
 
T

Trevor L.

Kevin said:
I might add that "simple programming" is an oxymoron. ;-)

Well, yes.

But sometimes it can look that way (if you write a few simple error-free lines and no one tries to change it.)
Orange you bland I stopped splaying bananas?

Hey what ?
Is this the chicken salad surgery ?
I can't decipher it, but that is probably the idea :))
 
K

Kevin Spencer

Hi Trevor!
But sometimes it can look that way (if you write a few simple error-free
lines and no one tries to change it.)

....and if you write those lines of code in a vacuum! ;-)

My point about "simple programming" is that, over the years, I have observed
that people who do not write software get the impression that certain things
are simple, simply because they do not present a complex user interface.
This is akin to someone who watches a ballet dancer apparently performing
effortlessly, and gets the idea that ballet must be easy to learn. As you
and I know, it takes years and years of practice for that ballet dancer to
present the *illusion* that what they are doing is easy.

In fact, there is an inverse relationship between the simplicity of use of
software, and the difficulty in developing it. This is due to the fact that
for software to be easy to use, it must do more of the logical work
independently of the user.

Part of the misconception arises from the fact that humans have no idea how
intelligent we really are. Things which we can resolve almost instantly and
instinctively are actually quite complex, and we are simply not aware of the
complexity of the underlying thought that performs the calculation. Take
throwing a ball, for instance. Most of us do not remember when we were
infants, and simply grasping a ball was an extraordinarily difficult task.
To throw one with any accuracy involves literally tens of thousands of
calculations, as we coordinate the muscles in our arms and body, calculate
the distance, the weight of the ball, and the amount of force to impel the
ball to its target. Computers are immensely stupid by comparison. They must
be instructed down to the last detail, accounting for every possible
permutation of the combinations of causes and effects involved in a process,
or the program fails.

As a seasoned programmer, I grimace whenever I hear that word! ;-)
Hey what ?
Is this the chicken salad surgery ?
I can't decipher it, but that is probably the idea :))

Ambiguity has a certain quality to it!

I'll part the curtain just a wee bit. It is not the things we understand
that entertain us, that draw and hold our attention. It is the things we do
not understand, particularly when those things seem to be within reach of
understanding, perhaps with a bit of problem-solving involved. There's an
old saying in the Entertainment business: Always leave them wanting more!

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

Orange you bland I stopped splaying bananas?


Trevor L. said:
Kevin said:
I might add that "simple programming" is an oxymoron. ;-)

Well, yes.

But sometimes it can look that way (if you write a few simple error-free
lines and no one tries to change it.)
Orange you bland I stopped splaying bananas?

Hey what ?
Is this the chicken salad surgery ?
I can't decipher it, but that is probably the idea :))

--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
 
L

Lawrence Beyer

I have never been to a ballet, but I have seen it
in the movies, and everybody dances on their toes.
I have often wondered, why don't they just hire
taller dancers?

(e-mail address removed)
 
T

Trevor L.

Kevin said:
Hi Trevor!
But sometimes it can look that way (if you write a few simple
error-free lines and no one tries to change it.)

...and if you write those lines of code in a vacuum! ;-)

My point about "simple programming" is that, [snip]

As a seasoned programmer, I grimace whenever I hear that word! ;-)

My only comment is
"Well said"

Well, not quite the only comment.
In my career, I used some in-house packages which were intended to be simple user driven packages. OK for many tasks they were just
that. The code behind the scenes hid the complexity.

But then I would ask "Why doesn't it do this or that?" and I would find places where I could plug into the code and add my own (in
PL/1 if I recall correctly). After a while, the programmers looking after the code would dread my consulting them. In the end, I
became a progammer myself.

I have done the same with FrontPage. Now I don't use FP very much except for uploading. Instead I write the HTML JS and CSS.

Now that I have an mvp site with FPSE I have to be more careful. I also have to use FP to connect live if I want to use ASP, which I
am trying to do with limited success.
 

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