Welcome to TalkGraphics.com
Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1

    Default Create 'BACK' button to emulate browser back button

    Is there a way in Xara to create a 'back' button, doing the same as the browser 'back' button?

    Or is that a silly thing to consider anyway?


  2. #2
    Join Date
    Mar 2009
    Posts
    4,503

    Default Re: Create 'BACK' button to emulate browser back button

    Actually, that's not silly at all as Covoxer has developed two history buttons. These are part of the tweakset for XWD6 and can be downloaded here.

  3. #3
    Join Date
    Aug 2007
    Location
    Maghull UK
    Posts
    6,202

    Default Re: Create 'BACK' button to emulate browser back button

    Yep, this


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


    in a placeholder :-)
    JOHN -XaReg (FB) XaReg (DB - ignore prompt to register)
    Windows 10 [Anniversary] pro Intel Pentium CPU G630 @ 2.70Ghz RAM: 4 GB; 64-bit x64

  4. #4
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,508

    Default Re: Create 'BACK' button to emulate browser back button

    Great tip.

  5. #5
    Join Date
    Dec 2000
    Location
    Hautes Pyrénées, France
    Posts
    5,083

    Default Re: Create 'BACK' button to emulate browser back button

    Do it with a text link or a graphic button and you have no need to mess with placeholders, and on top of that it's in the style of your web page...
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	back.jpg 
Views:	187 
Size:	37.0 KB 
ID:	79676  
    Last edited by Big Frank; 01 February 2011 at 11:33 PM.
    If someone tried to make me dig my own grave I would say No.
    They're going to kill me anyway and I'd love to die the way I lived:
    Avoiding Manual Labour.

  6. #6
    Join Date
    Mar 2009
    Posts
    4,503

    Default Re: Create 'BACK' button to emulate browser back button

    Quote Originally Posted by beretgascon View Post
    Do it with a text link or a graphic button and you have no need to mess with placeholders, and on top of that it's in the style of your web page...
    That's actually Covoxer's method for the history buttons in his tweakset.

  7. #7
    Join Date
    Dec 2000
    Location
    Hautes Pyrénées, France
    Posts
    5,083

    Default Re: Create 'BACK' button to emulate browser back button

    It's a standard javascript event that's been around for many, many years. I applied it to a graphic button using Xara's Web Properties dialog. I'm not overly familiar with the tweakset but you can apply just about any javascript event to a text or graphic. John (covoxer) is a talented programmer and it was good of him to add this into a set up useful add-ons.
    If someone tried to make me dig my own grave I would say No.
    They're going to kill me anyway and I'd love to die the way I lived:
    Avoiding Manual Labour.

  8. #8
    Join Date
    Mar 2009
    Posts
    4,503

    Default Re: Create 'BACK' button to emulate browser back button

    I can see how you took my comment to mean something I did not intend. I should have said: "That's actually the method Covoxer used ...." I'm sure he was not the first one to use this script. What I was trying to say is that your approach is the same as Covoxer's.

  9. #9
    Join Date
    Dec 2000
    Location
    Hautes Pyrénées, France
    Posts
    5,083

    Default Re: Create 'BACK' button to emulate browser back button

    No offence intended and none took, Boy
    If someone tried to make me dig my own grave I would say No.
    They're going to kill me anyway and I'd love to die the way I lived:
    Avoiding Manual Labour.

  10. #10
    Join Date
    Mar 2009
    Posts
    4,503

    Default Re: Create 'BACK' button to emulate browser back button

    Serenity of mind and peaceful interaction is what we need!

 

 

Bookmarks

Posting Permissions

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