S
SierraTech
In FrontPage 2000 I use to link a web page URL to a button as follws:
1) Insert Button
2) Check "Send to Other"
3) Make sure "Custom ISAPI, NSAPI, CGI or ASP Script" is selected
4) Press "Options" and Set Method to "POST"
5) Insert JavaScript next to the button as shown below:
function jumptoInfo() {
location.href = "http://www.url/page.htm";
}
I cannot seem to do this in Frontpage 2002. I tried insert HTML and added
javascript tags as follows:
<Script language=" JavaScript" >
function jumptoInfo() {
location.href = "http://www.url/page.htm ";
}
</script>
Which hides the javascript but still no action.
In FP98 I had to do the following:
1) Insert PushButton Object
2) 2-Click PushButton Form Field Prop
3) Select Normal, Change Name (optional)
4) Change Label
5) Click Extended & "ADD"
6) Define attribute as "onClick"
7) Enter a Value (use name of the function in script ["jumptoInfo(this)"]
8) Click "OK" on all boxes
9) Advance cursor right of button
10) Click "Insert Script" Select JavaScricpt
11) Define the function, use the same name declared in the PushButton Form
Field Prop.
12) define URL with "location.href"
13) Script should look like this:
function jumptoInfo() {
location.href = "http://www.url/page.htm";
}
What is the procedure for doing this in FP 2002 (apparently I haven't tried
this in Frontpage 2002 because it doesn't work).
1) Insert Button
2) Check "Send to Other"
3) Make sure "Custom ISAPI, NSAPI, CGI or ASP Script" is selected
4) Press "Options" and Set Method to "POST"
5) Insert JavaScript next to the button as shown below:
function jumptoInfo() {
location.href = "http://www.url/page.htm";
}
I cannot seem to do this in Frontpage 2002. I tried insert HTML and added
javascript tags as follows:
<Script language=" JavaScript" >
function jumptoInfo() {
location.href = "http://www.url/page.htm ";
}
</script>
Which hides the javascript but still no action.
In FP98 I had to do the following:
1) Insert PushButton Object
2) 2-Click PushButton Form Field Prop
3) Select Normal, Change Name (optional)
4) Change Label
5) Click Extended & "ADD"
6) Define attribute as "onClick"
7) Enter a Value (use name of the function in script ["jumptoInfo(this)"]
8) Click "OK" on all boxes
9) Advance cursor right of button
10) Click "Insert Script" Select JavaScricpt
11) Define the function, use the same name declared in the PushButton Form
Field Prop.
12) define URL with "location.href"
13) Script should look like this:
function jumptoInfo() {
location.href = "http://www.url/page.htm";
}
What is the procedure for doing this in FP 2002 (apparently I haven't tried
this in Frontpage 2002 because it doesn't work).