|
Posted by Beauregard T. Shagnasty on 05/27/06 15:49
Eric wrote:
> I'm building a website ...
>
> After you're done viewing the photo gallery, I want the viewer to be able to
> go right back to the list at the same spot he left it at. It's a long list
> and I don't want the viewer to have to spend time finding the spot he was
> in. Unfortunately, the back button on the browser isn't much help since it
> makes you reverse scroll through all of the pictures you have already
> viewed. With 30-40 pictures of some consoles it will take a long time to do
> that.
Some users are smart enough to use the dropdown of the back button and
go back more than one page, though I'll stipulate the percentage would
not be large.
> Instead I'm using a simple text link ("Back") that goes back to the index
> page. But, it takes you to the top and the viewer has to scroll down and
> find his spot again. So, I'd like to make the Back link take them to their
> previous spot in the index page, not the top. Any tips?
The only way to do this is to give each link on the main page a name or
id.
<a name="thisgame"></a> or <a id="thisgame"></a>
Then code the "Back" link on each of those 30-40 picture pages as:
<a href="mainpage.html#thisgame">Back to main list</a>
Put the Back link at the top of photos page. Prominently. Maybe
construct and style it like a breadcrumb.
> http://www.japan-games.com/Database/index.html.
Learn to use external style sheets.
You have no background color assigned, so I see my default purple.
For the DOCTYPE, new pages should be Strict rather than Transitional.
--
-bts
-Warning: I brake for lawn deer
[Back to original message]
|