addedValues Plugin

...Powerful Free! Database Expansion for Manila
logoBottle:

(1 or more words)


Get tropes here!
Click to see internals
Report bug


Hawaiian Hardwoods Direct

sitepic_hhd_screenshot.jpg:
Viewable with Any Browser

Members
Join Now
Login

previous page - go back to the page I started from

Previous topic: Next topic:
inactiveTopic previous page - go back to the page I started from topic started 2007/05/16; 10:22:59
last post 2007/05/16; 17:40:10
user Zappatini - previous page - go back to the page I started from  blueArrow
2007/05/16; 08:22:59 (reads: 71985, responses: 3)
Hello,

on www.vaetertag.ch I will have very long list of thumbs, divided in pages with 12 thumbs. When klicking on a thumb, users go to a page, where they can see the photo in normal size.

Users could go back with the back/forward buttons of the browser. But when they click on the navigation of the site, they don't go back to the page, they started, but they go back to the first page of thumbs.

To avoid this, I would like to give them a link directly above the photo e.g. with text "go back to the thumblist" as if they would click on the back button of the browser.

In http://docserver.userland.com/macros/linkPrev and in the tutorial http://frontier.userland.com/tutorial/nextPrevLinks i found the syntax &£123;linkPrev ("Previous")} and I integrated it in the template the photo is displayed with. But I get the error message: [Macro error: Can't evaluate the expression because the name "nextPrevs" hasn't been defined.]

Another idea was to integrate it in the report the photo is displayed with. But there I don't found a AV-macro on ".../manilaFixer/showMacros/default" to do this.

Can you give an exemple, how it would work.

Thanks
Gilberto
--

gilberto zappatini
zappatini gmbh, ludwigstr. 8, CH-9010 st.gallen

telefon +41 71 244 41 71
fax +41 71 244 41 72
web http://www.zappatini.com


user Zappatini - previous page - go back to the page I started from  blueArrow
2007/05/16; 09:55:38 (reads: 68431, responses: 0)
>Hello,
>
>on www.vaetertag.ch I will have very long list of thumbs, divided in pages with 12 thumbs. When klicking on a thumb, users go to a page, where they can see the photo in normal size.
>
>Users could go back with the back/forward buttons of the browser. But when they click on the navigation of the site, they don't go back to the page, they started, but they go back to the first page of thumbs.
>
>To avoid this, I would like to give them a link directly above the photo e.g. with text "go back to the thumblist" as if they would click on the back button of the browser.
>
>In http://docserver.userland.com/macros/linkPrev and in the tutorial http://frontier.userland.com/tutorial/nextPrevLinks i found the syntax &£123;linkPrev ("Previous")} and I integrated it in the template the photo is displayed with. But I get the error message: [Macro error: Can't evaluate the expression because the name "nextPrevs" hasn't been defined.]
>
>Another idea was to integrate it in the report the photo is displayed with. But there I don't found a AV-macro on ".../manilaFixer/showMacros/default" to do this.
>
>Can you give an exemple, how it would work.
>
>actually, this is very hard to implement properly, cbecause you are trying to do 2 things by going back:
>1 - going back to the original list's page (i.e. from the start)
>2 - goi back to the list on the page of hits where you were
>
>AFAIK, there is no way to do '2' because the page you are on has no idea of what context you came from. The prev/next link only allow you to scroll through the *hits* given an index; it does *not* know where in the hitlist you are because it does not know the query.
>
>Because of the duality of going back (i.e. what is the user's real intention), I use another approach. This is used in case where there are things like catalogues and one has to browse through many items. I simply ensure that the hit that is being called is opened in a new window or frame. In such a case the user can do both,

Thank you for your explenations - I thought because the browser knows, where the user comes from there is a possiblity to use this information inside the site too. I only want to make one thing, to make one step back.

To open in a new window is a possibility, but not really comfortable for the user. At the end he has dozens of windows opened. The best solution would be a popup-window, with a "close"-button. But there is no public macro in AV I can do it without additional professional programming.

Gilberto
--

gilberto zappatini
zappatini gmbh, ludwigstr. 8, CH-9010 st.gallen

telefon +41 71 244 41 71
fax +41 71 244 41 72
web http://www.zappatini.com


user David Bayly - previous page - go back to the page I started from  blueArrow
2007/05/16; 10:25:00 (reads: 71681, responses: 0)
it is certainly possible to do this with a javascript (you'd have to
add it to the detail page) , as Gilberto remarked the browser knows
and javacsript works on the browser side. The attribute in
javascript is document.history. I forget the routine, but I've seen
it often in javascript tutorial pages, and could work i out myself
again if I had to .

But I think it is a bad way to work, because you slowing the user
down - solutions that show the hit list and one detail report are
more interesting to the user and and more efficient (faster) to
serve. See for example, the ajax demo pages on addedValues org.

Gilberto I don't know why you think there's no supported popup
windows macro, there is. And it cna be used so that one window is
sued for each the detail report pages. Its all in the use of the
title attribute.

At 10:22 +0200 07/05/16, webmaster-zappatini.com wrote:
>Hello,
>
>on www.vaetertag.ch I will have very long list of thumbs, divided in
>pages with 12 thumbs. When klicking on a thumb, users go to a page,
>where they can see the photo in normal size.
>
>Users could go back with the back/forward buttons of the browser.
>But when they click on the navigation of the site, they don't go
>back to the page, they started, but they go back to the first page
>of thumbs.
>
>To avoid this, I would like to give them a link directly above the
>photo e.g. with text "go back to the thumblist" as if they would
>click on the back button of the browser.
>
>In http://docserver.userland.com/macros/linkPrev and in the tutorial
>http://frontier.userland.com/tutorial/nextPrevLinks i found the
>syntax &£123;linkPrev ("Previous")} and I integrated it in the template
>the photo is displayed with. But I get the error message: [Macro
>error: Can't evaluate the expression because the name "nextPrevs"
>hasn't been defined.]
>
>Another idea was to integrate it in the report the photo is
>displayed with. But there I don't found a AV-macro on
>".../manilaFixer/showMacros/default" to do this.
>
>Can you give an exemple, how it would work.
>
>Thanks
>Gilberto
>--
>
>gilberto zappatini
>zappatini gmbh, ludwigstr. 8, CH-9010 st.gallen
>
>telefon +41 71 244 41 71
>fax +41 71 244 41 72
>web http://www.zappatini.com

--

- David Bayly. Programmer and digest reader. dbayly at udena dot ch
addedValues examples at http://www.addedValues.org/showcase


user Zappatini - previous page - go back to the page I started from  blueArrow
2007/05/16; 15:40:10 (reads: 82108, responses: 0)
snip
>
>That is fine as well - even though the browser has that functionality. I always wondered why some sites did this - do you have any data suggesting that (some) users don't know how to cloase a window?

Yes I know users, they don't close windows, they pull them to the border of the screen, if they can't use them anymore.
And I know users, they don't know the function of the 2 buttons on the left upper edge of the browser - back and forward.
I changed yesterday a search report. The linktohit (to see the details of the event) was connected with the data of the event. This link is directly on the left side of the titel of the event, colored like all the other links in the site. People told me, they are not able to open the page with the details, because they only tried to click on the titel, but this was written in black, without mouseover-effect.

I don't think it's the majority, but it's not a small minority.
Gilberto
--

gilberto zappatini
zappatini gmbh, ludwigstr. 8, CH-9010 st.gallen

telefon +41 71 244 41 71
fax +41 71 244 41 72
web http://www.zappatini.com