"back" navigation how to?

  • Thread starter Thread starter jd
  • Start date Start date
J

jd

FP2002 question

How do I add a "back" navigation link on my pages without resorting to
Javascript? I do not use shared borders or FP generated nav bars on any of
my pages. Can this be done or must I start over with shared borders? I've
tried reading the FPonline help but this is one confusing topic!
 
I can't see what shared borders has to do with this?

| Without using js? Can't be done. Why not use js?
|
| --
| Murray
|
| | > FP2002 question
| >
| > How do I add a "back" navigation link on my pages without resorting to
| > Javascript? I do not use shared borders or FP generated nav bars on any of
| > my pages. Can this be done or must I start over with shared borders? I've
| > tried reading the FPonline help but this is one confusing topic!
| >
| >
|
|
 
JavaScript is no big deal!

Try this
<input type="button" value="Back" onclick="history.go(-1)">

Don
| FP2002 question
|
| How do I add a "back" navigation link on my pages without resorting to
| Javascript? I do not use shared borders or FP generated nav bars on any of
| my pages. Can this be done or must I start over with shared borders? I've
| tried reading the FPonline help but this is one confusing topic!
|
|
 
You're right- js is no big deal and I already know how to do it.

Let me elaborate. I've been playing around with MS Commerce Manager. This is
their secure shopping cart service. Say I have a "buy" link next to a
product that is shown on a page that's 5 pages deep into my site. I click on
"buy" and get immediately taken to MS's secure server where I see my cart
and the item I just bought. All is well. I click on continue shopping and go
back to the product page. Now the problem- I then click the browser "Back"
button and wham, I'm back to the shopping cart and stuck in a loop. There is
no way to move back up in my site using the browser "Back" button and MS
tech support says do NOT use js to make a "back" link.
 
Then you want the button to take you where?

Don
| You're right- js is no big deal and I already know how to do it.
|
| Let me elaborate. I've been playing around with MS Commerce Manager. This
is
| their secure shopping cart service. Say I have a "buy" link next to a
| product that is shown on a page that's 5 pages deep into my site. I click
on
| "buy" and get immediately taken to MS's secure server where I see my cart
| and the item I just bought. All is well. I click on continue shopping and
go
| back to the product page. Now the problem- I then click the browser "Back"
| button and wham, I'm back to the shopping cart and stuck in a loop. There
is
| no way to move back up in my site using the browser "Back" button and MS
| tech support says do NOT use js to make a "back" link.
|
|
| | > JavaScript is no big deal!
| >
| > Try this
| > <input type="button" value="Back" onclick="history.go(-1)">
| >
| > Don
| > | > | FP2002 question
| > |
| > | How do I add a "back" navigation link on my pages without resorting to
| > | Javascript? I do not use shared borders or FP generated nav bars on
any
| of
| > | my pages. Can this be done or must I start over with shared borders?
| I've
| > | tried reading the FPonline help but this is one confusing topic!
| > |
| > |
| >
| >
|
|
 
Back to the 4th page- not back to the shopping cart. Going back to the
shopping cart seems to me like clicking on "forward", not "back".
 
OR the button could take them to

<input type="button" value="Back" onclick="history.go(-3)">

Witch would take them to (not the page they were on and not the cart "thats
2" but the -3 takes them to the page they were on before the page of the
product )

Just a thought

Don

| You're right- js is no big deal and I already know how to do it.
|
| Let me elaborate. I've been playing around with MS Commerce Manager. This
is
| their secure shopping cart service. Say I have a "buy" link next to a
| product that is shown on a page that's 5 pages deep into my site. I click
on
| "buy" and get immediately taken to MS's secure server where I see my cart
| and the item I just bought. All is well. I click on continue shopping and
go
| back to the product page. Now the problem- I then click the browser "Back"
| button and wham, I'm back to the shopping cart and stuck in a loop. There
is
| no way to move back up in my site using the browser "Back" button and MS
| tech support says do NOT use js to make a "back" link.
|
|
| | > JavaScript is no big deal!
| >
| > Try this
| > <input type="button" value="Back" onclick="history.go(-1)">
| >
| > Don
| > | > | FP2002 question
| > |
| > | How do I add a "back" navigation link on my pages without resorting to
| > | Javascript? I do not use shared borders or FP generated nav bars on
any
| of
| > | my pages. Can this be done or must I start over with shared borders?
| I've
| > | tried reading the FPonline help but this is one confusing topic!
| > |
| > |
| >
| >
|
|
 
Another thought...

If you are using a data driven site just make the link to the selection page
for the products.
Sometimes the simple approach is the best.

Don
| You're right- js is no big deal and I already know how to do it.
|
| Let me elaborate. I've been playing around with MS Commerce Manager. This
is
| their secure shopping cart service. Say I have a "buy" link next to a
| product that is shown on a page that's 5 pages deep into my site. I click
on
| "buy" and get immediately taken to MS's secure server where I see my cart
| and the item I just bought. All is well. I click on continue shopping and
go
| back to the product page. Now the problem- I then click the browser "Back"
| button and wham, I'm back to the shopping cart and stuck in a loop. There
is
| no way to move back up in my site using the browser "Back" button and MS
| tech support says do NOT use js to make a "back" link.
|
|
| | > JavaScript is no big deal!
| >
| > Try this
| > <input type="button" value="Back" onclick="history.go(-1)">
| >
| > Don
| > | > | FP2002 question
| > |
| > | How do I add a "back" navigation link on my pages without resorting to
| > | Javascript? I do not use shared borders or FP generated nav bars on
any
| of
| > | my pages. Can this be done or must I start over with shared borders?
| I've
| > | tried reading the FPonline help but this is one confusing topic!
| > |
| > |
| >
| >
|
|
 
You are right that would be -4

Don

| OR the button could take them to
|
| <input type="button" value="Back" onclick="history.go(-3)">
|
| Witch would take them to (not the page they were on and not the cart
"thats
| 2" but the -3 takes them to the page they were on before the page of the
| product )
|
| Just a thought
|
| Don
|
| || You're right- js is no big deal and I already know how to do it.
||
|| Let me elaborate. I've been playing around with MS Commerce Manager. This
| is
|| their secure shopping cart service. Say I have a "buy" link next to a
|| product that is shown on a page that's 5 pages deep into my site. I click
| on
|| "buy" and get immediately taken to MS's secure server where I see my cart
|| and the item I just bought. All is well. I click on continue shopping and
| go
|| back to the product page. Now the problem- I then click the browser
"Back"
|| button and wham, I'm back to the shopping cart and stuck in a loop. There
| is
|| no way to move back up in my site using the browser "Back" button and MS
|| tech support says do NOT use js to make a "back" link.
||
||
|| || > JavaScript is no big deal!
|| >
|| > Try this
|| > <input type="button" value="Back" onclick="history.go(-1)">
|| >
|| > Don
|| > || > | FP2002 question
|| > |
|| > | How do I add a "back" navigation link on my pages without resorting
to
|| > | Javascript? I do not use shared borders or FP generated nav bars on
| any
|| of
|| > | my pages. Can this be done or must I start over with shared borders?
|| I've
|| > | tried reading the FPonline help but this is one confusing topic!
|| > |
|| > |
|| >
|| >
||
||
|
|
 
And I honestly don't see why you need it, since every browser has a back
button.


"Rob Giordano (aka: Crash Gordon®)" <[email protected]>
wrote in message I can't see what shared borders has to do with this?
 
can't be done without one of the things you've mentioned.

even <a href="#" onclick="go.history(-1);"> is javascript though probably the
smallest bit of JS you're likely to see.



Otherwise get uses to press the back button on their browser.

Or create a link, physically linking the page before.

the above javascript is better though.
 
Javascript simply will not work. The MS tech support guy was correct. Both
js and the browser back button lock you into a page/cart loop.

I believe FP can create "back" and "forward" links that don't rely on JS. At
least that's what I think the FP online help is telling me. And I'm guessing
the links use FP extensions.

Maybe an MVP will pick up this thread and comment.
 
FP uses JavaScript in it's navigation or it hardcode the links between pages based on the navigation
view. Certain functions/features of the navigation component and shared border do require the site
to be published via FP's http mode to a server that has the FP extensions in order to work.

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
The FrontPage Back and Next links use Navigation Bars. The links are
calculated when the page is saved and the hyperlinks are hard coded to point
to the adjacent pages in navigation view. They do not emulate the browser
Back and Forward buttons.

You could investigate opening the cart pages in a new browser window (the
"buy now" links will include the attribute target="_blank", then closing
the cart will re-establish the original product page. The browser Back
button, and JavaScript emulations, will work perfectly.
However, if the user does not close the cart, it is possible that purchasing
several products will result in several carts being opened - all showing
different information. Which window is the current window?
Using target="cart" in the links will limit the number of cart windows to
one, but if the user minimises the window, a subsequent transaction will
leave it minimised, possibly leaving the user in a state of confusion.
 
Back
Top