Welcome to TalkGraphics.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,524

    Default Individual link options

    It would be cool for some links to work differently from others.

    A simple example, text in a linked banner to be white with no underscore while text in the copy would be the default colors with an underscore.

    So that there would be an override defaults option when adding a link.

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,904

    Default Re: Individual link options

    Gary, where do you stop? There is a trade-off for Xara's "no code" simplicity and having this and variations would be tantamount to Xara having to offer a CSS editor.
    You can achieve what you need with with a Page Placeholder holding simple CSS statements and Naming the elements to give them an ID to link into the CSS.

    The Xara default links' CSS for an entire site is:

    a {text-decoration:underline;}
    a:link {color:#0000EE; cursor:pointer;}
    a:visited {color:#561A8B;}
    a:hover {color:#0000EE;}

    a * {color:#0000EE;text-decoration:underline;}

    If you include this in your Placeholder, you then place #<ID_name> before each line and then change the green values above to what variety you need; W3Schools offers tutorials and examples to play with.

    Personally, I believe that Xara should be generating Placeholder code and offering their examples in the Design gallery in the same fashion they currently do for 3rd Party Widgets.

    Acorn

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

    Default Re: Individual link options

    i agree with gary that there could be more wysiwyg freedom with links
    especially considering thr web & page layout direction xara are traking

    you should be able to resolve this reuqirement with a little creativity

    if you create a style in your document, let's say HeaderBox
    then in the web properties > website > html code (head) you add a little css

    <style>
    .HeaderBox { //here's where you put your link visited hover active colours}
    .FooterBox { //ditto }
    </style>

    just make sure HeaderBox as a style exists in all pages
    obviously you won't see this in your xara document but you shd see it in your preview

    i would like to see this as a feature enhancement in future releases
    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
  •