Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts

    Exclamation Back a page/forward a page,

    Is there a HTML command to move back a page, just as the provided icons at the top left perform.

    Frank alias effpeetee
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #2
    Regular Coder Jutlander's Avatar
    Join Date
    Jun 2007
    Location
    In my own sick little world :P
    Posts
    425
    Thanks
    1
    Thanked 12 Times in 12 Posts
    That will have to be done with javascript. You can use this attribute on a link:

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

  • #3
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Quote Originally Posted by Jutlander View Post
    That will have to be done with javascript. You can use this attribute on a link:

    Code:
    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
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #4
    Regular Coder Jutlander's Avatar
    Join Date
    Jun 2007
    Location
    In my own sick little world :P
    Posts
    425
    Thanks
    1
    Thanked 12 Times in 12 Posts
    You wrap the link around the image.

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

  • #5
    Regular Coder BWiz's Avatar
    Join Date
    Mar 2006
    Location
    Sol System
    Posts
    471
    Thanks
    7
    Thanked 21 Times in 21 Posts
    Code:
    <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.
    BWiz :: Happy Coding!
    2006
    2007 2008 2009
    2010 2011
    Irrational numbers make no sense.

  • #6
    Regular Coder Jutlander's Avatar
    Join Date
    Jun 2007
    Location
    In my own sick little world :P
    Posts
    425
    Thanks
    1
    Thanked 12 Times in 12 Posts
    That is... if he wishes to remove it.
    .
    .

  • #7
    Regular Coder BWiz's Avatar
    Join Date
    Mar 2006
    Location
    Sol System
    Posts
    471
    Thanks
    7
    Thanked 21 Times in 21 Posts
    Quote Originally Posted by Jutlander View Post
    That is... if he wishes to remove it.

    Touche! Just putting it on for reference.
    BWiz :: Happy Coding!
    2006
    2007 2008 2009
    2010 2011
    Irrational numbers make no sense.

  • #8
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    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.
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #9
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    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

  • #10
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts

    Exclamation

    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
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #11
    Regular Coder BWiz's Avatar
    Join Date
    Mar 2006
    Location
    Sol System
    Posts
    471
    Thanks
    7
    Thanked 21 Times in 21 Posts
    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.
    BWiz :: Happy Coding!
    2006
    2007 2008 2009
    2010 2011
    Irrational numbers make no sense.

  • #12
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    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
    Last edited by bazz; 07-05-2007 at 08:13 AM.

  • #13
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    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
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #14
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    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

  • #15
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Quote Originally Posted by BWiz View Post
    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)
    Last edited by effpeetee; 07-05-2007 at 12:09 PM.
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •