-- Original Message --
From: FlashGuy [EMAIL PROTECTED]
I have a form with two input tags. The Login button executes the file assigned to
the form tag.
How can I have the Logout button run a template file rather then the form?
There are a 2 options off
Put an input of button type outside your form which calls a javascript to
change the url. Something like:
script language=javascript
function gotologoutpage() { window.location = logout.cfm; }
/script
input type=button value=Logout style=background:6C993F
class=loginbutton
Flash Guy,
If you just want links to a login form and a logout process, you don't need
the FORM tag. Just use anchor tags to create links to the appropriate
templates. You could display just the logon link until the user logs in,
then after they've logged in, display just the logout link:
cfif
http://developer.irt.org/script/frame.htm
-Original Message-
From: FlashGuy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 25, 2002 9:28 AM
To: CF-Talk
Subject: input tag
I'm using 3 column frames on my site with the following names.
| left | middle | right |
Change the code to something like:
input type=button value=Refresh class=navlinks
onClick=parent.middle.document.history.go(0);
Note the removal of the TARGET attribute as this doesn't apply to INPUT
tags. Also, note the removal of the javascript: from the onClick
5 matches
Mail list logo