...

View Full Version : Back a page/forward a page,



effpeetee
07-04-2007, 05:04 PM
Is there a HTML command to move back a page, just as the provided icons at the top left perform.

Frank alias effpeetee

Jutlander
07-04-2007, 05:33 PM
That will have to be done with javascript. You can use this attribute on a link:


onclick="history.back();return false;"

effpeetee
07-04-2007, 05:56 PM
That will have to be done with javascript. You can use this attribute on a link:


onclick="history.back();return false;"
Thank you Jutlander,

What I need to do is to attach the command to a jpeg icon. Can you tell me how to do that?

Thank you in advance. I am not too good at Jscript.


Frank

www.exitfegs.co.uk

Jutlander
07-04-2007, 06:03 PM
You wrap the link around the image. :)



<a href="http://www.example.com" onclick="history.back();return false;"><img src="path_to_img.jpg"></a>

BWiz
07-04-2007, 06:12 PM
<style type="text/css">
<!--
img#id
{
border: 0;
}
-->
</style>

<a href="http://www.example.com" onclick="history.back();return false;"><img id="id" src="url" /></a>


Use this remove the border.

Jutlander
07-04-2007, 06:19 PM
That is... if he wishes to remove it. :rolleyes:

BWiz
07-04-2007, 06:21 PM
That is... if he wishes to remove it. :rolleyes:


Touche! Just putting it on for reference.

effpeetee
07-04-2007, 07:53 PM
I am sorry, I did not make myself clear. On my opening page menu are some "Pictorial menu's "that put up a page of thumbnails. I want to return from the full page images to the thumbnails by clicking a jpeg icon. The obvious way is to do a page-back.

I prefer to do it with an icon if possible. It will be tricky for me because the display is just a jpeg.

Any help gratefully received.

Frank

www.exitfegs.co.uk

just so you can have a look.

My site works, but it is so pedestrian. I am trying to slicken it up.

bazz
07-05-2007, 12:42 AM
Hi Frank,

Just to check I understand....

1. when we click on the text links on the left of your home page, we go to a page with thumbnails.

2. there, we click on a thumbnail and see a full screen version of that thumb.

3. you are asking for a 'jpeg, BACK' button to go from the large image back to the thumbs?

Is this it?

bazz

effpeetee
07-05-2007, 08:40 AM
Yes Bazz,

That sums it up. This is because the large picture already has a hyperlink to another place and I don't want to have to produce another set of linked pictures, I am trying to reduce the site, not increase it.

Frank

BWiz
07-05-2007, 09:02 AM
Yes Bazz,

That sums it up. This is because the large picture already has a hyperlink to another place and I don't want to have to produce another set of linked pictures, I am trying to reduce the site, not increase it.

Frank




I want to be polite, and I want to observe the rules - but what the hell? If what you want is what bazz stated - I don't think many people will bother helping you there.

bazz
07-05-2007, 09:09 AM
Frank I sent you a script a couple of weeks ago that does just that - in a different way.

Compare these steps with thos in my last post.

1. when we click on the text links on the left of your home page, we go to a page with thumbnails.

2. there, we click on a thumbnail and see a large version of that thumb.

3. click 'CLOSE' to return to the thumbnail gallery.

In addition, you can step through the whole set of enlargements by clicking the appropriate part of the enlargemnt to go forward or backwards and to look at another folder of images, the nav mneu will always be on the left.

Frank, I think the only thing you really need to do is, categorise your images and then based on that, put them into their own directories. Then you can have a script down the left of your pages (or wherever you like), which is consistent and easy to maintain.

I noticed what appears to be duplication for you. When I go from home page to 'Little Ted and Dmitri', you seem to have another nav menu on page three.html I didn't look too closely at it but, it isn't on all the enlargement pages so it seems to over complicate things for you.

If all you want is a back button, then the answer was already posted above by Jutlander.

bazz

effpeetee
07-05-2007, 10:03 AM
Bazz,

I am very happy with what you have done. I will soon get down to seperating the pics into folders. I have done a rough seperation already.
But, additionally, I want a page with total thumnails on as per Pictorial menu so that all of the pictures can be seen at once. Unfortunately, they all link back to the text menu, which is a nuisance. I have either got to have a way to go back, or produce yet another set of pages hyperlinked to the pictorial display.
That's why I need to put a back button on screen. At least I can see no other way. I am open to ideas.

Jutlander did not give me enough detail and I have asked for more help.
I'll go over and check now.
QUOTE
I noticed what appears to be duplication for you. When I go from home page to 'Little Ted and Dmitri', you seem to have another nav menu on page three.html I didn't look too closely at it but, it isn't on all the enlargement pages so it seems to over complicate things for you.
Yes. There is still much general untidiness which I mean to put right. Thanks for pointing it out. I'll sort it.

Thanks for your help.

Frank

bazz
07-05-2007, 10:08 AM
Frank I'll send you a link by email so you can see how categorisation can work yet ensure also that all thumbs can be seen on the one page.

if you need them to be modified, then we can discuss it further.

bazz

effpeetee
07-05-2007, 10:14 AM
I want to be polite, and I want to observe the rules - but what the hell? If what you want is what bazz stated - I don't think many people will bother helping you there.

Fortunately, most people are kinder than you.

Sorry friend, but why are you so uptight?
I may not always explain properly what I am after, but the last thing I want to do, is to upset anyone.

Frank
(effpeetee)

bazz
07-05-2007, 12:48 PM
I want to be polite, and I want to observe the rules - but what the hell? If what you want is what bazz stated - I don't think many people will bother helping you there.

I don't understand your post. Frank has asked a question and received a reply from Jutlander. Your post merely has a 'go' at him when he responded to a question from me and that question was based on having helped him before and trying to guide him through what is a difficult process for him.

I don't see any justification for flaming him and to quote you again
"I want to be polite, and I want to observe the rules" - Please try harder.

bazz

Jutlander
07-05-2007, 01:36 PM
I want to be polite, and I want to observe the rules - but what the hell? If what you want is what bazz stated - I don't think many people will bother helping you there.

If you don't want to help, why not spend your time on something else then?

bazz
07-05-2007, 06:32 PM
Bazz,


Jutlander did not give me enough detail and I have asked for more help.
I'll go over and check now.


<a href="http://www.example.com" onclick="history.back();return false;"><img src="path_to_img.jpg"></a> is what Jutlander sent you.

which bit do you need help with? the <img src="this bit" /> should eb the location of your image which 'says' "Back" or whatever you want.

bazz

effpeetee
07-05-2007, 07:21 PM
<a href="http://www.example.com" onclick="history.back();return false;"><img src="path_to_img.jpg"></a> is what Jutlander sent you.

which bit do you need help with? the <img src="this bit" /> should eb the location of your image which 'says' "Back" or whatever you want.

bazz
bazz

I don't think that what I want to do is feasable. The large picture called up is in fact an html page, If I have got to go in and enter the line of code; I may as well just alter the hyperlink. That will mean a further set of html with the suffix b - 101b.html etc.

I'll have a re-think.

Frank



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum