Announcement

Collapse
No announcement yet.

CSS link hover colour

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    After a bit of a dig I found it, funny realy I've already posted the code when discusing the Javascript error.

    In your primary templates you have;

    <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
    <!--
    function YahooSections(ar)
    {
    var strIDs = '';
    for (var i=1;i<=ar.length;i++)
    {
    if (ar[i].sURL != null)
    {
    strIDs += '<a href="' + ar[i].sURL + '"><span class="actxxsmall"><b><font color="#000000">' + ar[i].sName + '</font></b></span></a><br>';
    {
    if (ar[i].pChild)
    {
    for (var j=1;j<=ar[i].pChild.length;j++)
    {
    if (ar[i].pChild[j].sURL != null)
    {
    strIDs += '<a href="' + ar[i].pChild[j].sURL + '"><span class="actxxsmall"><font color="#000000">' + ar[i].pChild[j].sName + '</font></span></a><br>';
    }
    }
    }
    }
    strIDs += '<br>'
    }
    }
    return strIDs
    }
    //-->
    </SCRIPT>

    near the top, the dark red text is the bit that controls the text colour. This will mean editing your templates though.

    <span class="actxxsmall"><font color="colour">

    The font tag will over write the style, so if you remove <span class="actxxsmall"><font color="#000000"> and the closing </font></span> you will use what ever is in the style sheet for the default link style.

    The style for actxxsmall is;

    .actxxsmall{
    font-size:9px;
    color:NETQUOTEVAR:FGCOLORCSS;
    }

    a 9px size font and black? font colour so removing the style (span class) will cause the object (the link text) to inherit the containing objects style, in this case the default text link colour and size.

    Your site looks really good any way, but if you want to get it the way you want then perhapse a bit of editing wouldn't hurt.

    Always remember to save your original files first though

    Hope this helps and it's not to confusing
    Justin Rowe
    Shiver

    Comment


      #17
      That is really funny actually, i had also noticed the bit in there about font color and I was going to have a look at changing it.

      I think I will change it, the client asked especially for blue hover links, I personally prefer the black.

      Glad you like the site, I am fairly pleased with it (considering it is my first ever attempt at using actinic) Still a few tiny things that are causing problems but other than that it is a good site.

      Cheers for all this, I appreciate it.

      Ben.

      Comment


        #18
        Done and working.

        http://www.ukdesignweb.co.uk/~portab...log/index.html

        Changed the brochure primary as well, just got to upload that one now.

        Cheers

        Ben.

        Comment


          #19
          Glad I could help, I've had a few questions answerd in the past, so it's nice to be able to answer one back.
          Justin Rowe
          Shiver

          Comment

          Working...
          X