Welcome to TalkGraphics.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2011
    Posts
    3

    Default Printing a section of the page

    Hi,

    I'd like to add a "print voucher" button to my site, in the same style as the other buttons. I tried adding a new button then adding the html code in the placeholder tab, but then my button is not visible.

    Any idea how I can do this?


    Thanks

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

    Default Re: Printing a section of the page

    You don't need to use a placeholder. Simply add the Javascript link to the button as shown:

    Click image for larger version. 

Name:	print_button.jpg 
Views:	164 
Size:	42.4 KB 
ID:	79833
    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.

  3. #3
    Join Date
    Feb 2011
    Posts
    3

    Default Re: Printing a section of the page

    Quote Originally Posted by beretgascon View Post
    You don't need to use a placeholder. Simply add the Javascript link to the button as shown:

    Click image for larger version. 

Name:	print_button.jpg 
Views:	164 
Size:	42.4 KB 
ID:	79833
    I tried this, nothing happens when I click the button.

    As a work around, I've redirected the button to a new page with just the voucher, then put the "print voucher" button on there.

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

    Default Re: Printing a section of the page

    Quote Originally Posted by jan View Post
    I tried this, nothing happens when I click the button
    then there is an error because it's a standard javascript event handler which works
    if you upload your xar file to here i'll take a look at it
    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.

 

 

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
  •