Welcome to TalkGraphics.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2010
    Posts
    11

    Default Different styles for different links

    Hi!
    Is there any way to make several styles for links?
    I mean mouse off and mouse over effects.
    Thanx!

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    7,843

    Info Re: Different styles for different links

    Quote Originally Posted by ntrox View Post
    Hi!
    Is there any way to make several styles for links?
    I mean mouse off and mouse over effects.
    Thanx!
    Simplest:
    In Web Properties > Website > Website link properties, you would untick Underline text links and set all link colours to None.
    You would change the MouseOff link to the style you want for an Unvisited link.
    You would then duplicate the link text onto the MouseOver layer and change it to display for a Visited link and soft-group and add the link.
    --- tedious and hard to isolate just the link for a line of text.

    Web Animation:
    As above but you could include a CSS transition, Web Animation > Mouse-over: Mouse-over effect.
    --- I normally combine everything and more into CSS3 styling.

    CSS:
    You would apply a Name for each link type of style htmlclass="linkTypeA".

    In Web Properties > Website > Website link properties, you would untick Underline text links and set all link colours to None.
    In Web Properties > Website > HTML Code (head), you would add:

    Code:
    <style>
    /* unvisited link */
    .linkTypeA:link {
        color: red;
    }
    /* visited link */
    .linkTypeA:visited {
        color: green;
    }
    /* mouse over link */
    .linkTypeA:hover {
        color: hotpink;
    }
    /* selected link */
    .linkTypeA:active {
        color: blue;
    }
    </style>
    . adding more CSS styling for linkTypeB, etc.

    Acorn
    Acorn - My currently active Xara software: occasionally serviced XDPX, purposely unserviced XDPX12 & XDPX11 (32/64-bit), unserviced XWD Premium 15 & 12, XPGD10, X3D7 and lots of 'permanently-owned' licences back through time (to CC's Artworks)

  3. #3
    Join Date
    Apr 2010
    Posts
    11

    Default Re: Different styles for different links

    Thank you for complete answer!

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    7,843

    Default Re: Different styles for different links

    Quote Originally Posted by ntrox View Post
    Thank you for complete answer!
    ntrox, glad you found it helpful.

    Acorn
    Acorn - My currently active Xara software: occasionally serviced XDPX, purposely unserviced XDPX12 & XDPX11 (32/64-bit), unserviced XWD Premium 15 & 12, XPGD10, X3D7 and lots of 'permanently-owned' licences back through time (to CC's Artworks)

 

 

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
  •