Welcome to TalkGraphics.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2011
    Posts
    5

    Default HTML code in button

    Hello,

    I would like to be able to place some HTML code with a button. When the user presses the button the code will take them to an affiliate site with the relevant info.

    At the moment I have a placeholder with the code in the HMTL code body with substituted text
    similar to this-

    <center><h1><a href="http://www.pretned-website.com/pt/AIDLink.php?SUBID=**&BID=***AID=***" target=_top >Lets Go to the Site</a>

    Unfortunately I do not seem to have much control over the accurate placing of the text with different browsers.

    Is there a way to incorporate this code with a button? Hence more control.

    I have tried to find a way with the supplied buttons but cannot fathom it.

    Any help will be greatly appreciated

    I’m using Xara web designer premium 7.1.2

    Thanks in advance
    Mark

  2. #2
    Join Date
    Feb 2011
    Posts
    5

    Default Re: HTML code in button

    Hello Again,

    So to take it a bit further I can use HTML <form> to submit the link. Which is great but the button is rather plain. can I incorporate this in to a Xara web designer premium 7.1.2 supplied button or a custom button.

    <form><input type="button" value="Lets go to the Site" onClick="window.location.href="http://www.pretned-website.com/pt/AIDLink.php?SUBID=**&BID=***AID=***/"></form>

    CSS is mentioned on the web, but I'm not sure how this can be used with WDP7

    Cheers
    Mark

  3. #3
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: HTML code in button

    Hi Karmoh

    The placeholder is not needed. The link can be put into a text link or a button.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Karmoh Link.jpg 
Views:	105 
Size:	69.5 KB 
ID:	84104  

  4. #4
    Join Date
    Feb 2011
    Posts
    5

    Default Re: HTML code in button

    Hello,

    geez how dumb of me............. I was over thinking it....

    Thanks

  5. #5
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: HTML code in button

    Glad I could help

  6. #6
    Join Date
    Sep 2011
    Posts
    1

    Default Re: HTML code in button

    I really don't know if this is the right place to post, but -

    I've got a problem I haven't a clue how to fix.

    I have a button being used as a placeholder for html code (paypal) in WD 7.0.

    When the button is clicked on a live site, it ignores the paypal code and goes to an XARA website.

    Anyone have a clue what I should do or how to fix it so that the button is clicked and it goes to paypal instead of XARA?

 

 

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
  •