How Can I Highlight text as you roll over it

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

    • Jun 2006
    • 27

    How Can I Highlight text as you roll over it

    Hello Again; I am always seeing neat things on other websites. I saw a websight like mine and when you went down the list of titles on his page the title line turned yellow. I tryed to use the rollover tool but that seems to be only for pictures.
    Larry P.
    Your Oldtime Radio Store
    www.yotrs.com
  • Collectors-info
    General

    • Feb 2006
    • 8703

    #2
    Re: How Can I Highlight text as you roll over it

    Hi, do you have a sample of the mouse over you have seen, as there are many different types & styles.
    Regards Chris.

    Collectables, Collecting, collectors-info.com

    www.chrismorris.co.uk

    House build project

    Comment

    • LPoling
      Sergeant

      • Jun 2006
      • 27

      #3
      Re: How Can I Highlight text as you roll over it

      No I don't if you want to see what I'm talking about go to otrcat.com and click on all US shows or all American shows and run down the list with you mouse. This is what I want to do.
      Larry
      yotrs.com

      Comment

      • Collectors-info
        General

        • Feb 2006
        • 8703

        #4
        Re: How Can I Highlight text as you roll over it

        Hi, that one is done with some java. Place this code in the head of your page.

        <script type="text/javascript"><!--
        function cOn(tr){
        tr.style.backgroundColor="#FFFF66";
        }
        function cOut(tr){
        tr.style.backgroundColor="#ffffff";
        }
        function cOut2(tr){
        tr.style.backgroundColor="#FFFFCC";
        }
        //--></script>


        Now create a table on your BV page.
        In the 1st box of each row, right click on the cell>cell html>before tag & paste the code below in this area.

        <tr onmouseover=cOn(this); onmouseout=cOut(this);>


        Sample table LINK



        .
        Regards Chris.

        Collectables, Collecting, collectors-info.com

        www.chrismorris.co.uk

        House build project

        Comment

        • LPoling
          Sergeant

          • Jun 2006
          • 27

          #5
          Re: How Can I Highlight text as you roll over it

          Thank You For your help. I knew there were some smart people out there.
          I'll try it when I get home from work today.
          Larry

          Comment

          Working...
          X