table rollover effect

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default table rollover effect

    i have created a table and have almost completed the rollover effect. when I
    point at the option in one of the rows, the link highlights a blue but when I
    move it away it goes white, so i tried to change it so it wouldgo back to the
    background colour of the page but having done this, the row stays the same
    colour of the mouseOver effect. this is the code used that give me this result

    <tr onMouseover="this.style.backgroundColor='#99CCCC'" style="CURSOR: hand"
    onMouseout="this.style.backgroundColor='background .jpg'">

    here is a link to the section:
    [url]http://www.myworld21.v21hosting.co.uk/hockey.html[/url]

    i have only changed the rollover effect to try ad go back to the background
    image in the first row of the 1st column. can someone tell me how can i get the
    row to go back to the background colour/image?

    StevenM21 Guest

  2. Similar Questions and Discussions

    1. Using mx:Link without the Rollover effect?
      Did you try the ImageButton? it is in the flex\extras folder. Tracy
    2. Using mx:Link without the Rollover effect?
      Where is this ImageButton? Howcome FlexBuilder doesn't know about it? I'm simply trying to have an image with rollover state (change the image...
    3. Rollover effect on mouse
      H I am making a navigation bar and i want to know when ever someone click mouseover to one of the button I want a white fade going back and...
    4. rollover effect doesn't turn off
      Hi, folks! I am documenting a complex relational database application. I have a table that is part of the schema. I have created several...
    5. Using a rollover to kick off a flash in a different table/table cell
      What I'd like to do but don't know if possible through Dreamweaver is the following: The web page has multiple tables. Use a rollover function...
  3. #2

    Default Re: table rollover effect

    The problem isn't that you need to go BACK to the background image. It's still
    there, it's just been covered up by the color that you put over it with the
    onMouseOver script. Instead of trying to bring back the image with the
    onMouseOut script, you just need to get rid of the color.

    Replace

    onMouseout="this.style.backgroundColor='background .jpg'"

    with

    onMouseOut="this.style.backgroundColor='transparen t';"

    That should do it.

    rilkesf Guest

  4. #3

    Default Re: table rollover effect

    cheers rilkesf, i will give that a go once I get back to my laptop that I am building the site on, but as you said it should work
    StevenM21 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139