Results 1 to 2 of 2

Thread: hover image-link..Help

  1. #1
    Join Date
    Jul 2008
    Posts
    3

    hover image-link..Help

    Hello!
    On hover image-link changes to another image to simulate a effect : how do i do that ?
    Just like on left menu on http://www.goldenretrievers.com.br/main.html
    I don't know flash, i can do that with html/CSS ?

    Can't be with Sprite because each menu bottom is a diferent image.
    Tks

    ________
    conservatory Fruit Machine

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    The menu.html file in the left frame is:-
    Code:
    <body bgcolor="#FDF9E0" bottommargin="0" leftmargin="0" topmargin="0">
    <table border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td align="center" valign="top"><p>
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100" height="450">
              <param name="movie" value="menu.swf" />
              <param name="quality" value="high" />
              <param name="wmode" value="transparent">
    
              <embed src="menu.swf" width="100" height="450" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
              </object>
          </p>
          </td>
      </tr>
    </table>
    <br />
    </body>
    which includes the flash file http://www.goldenretrievers.com.br/menu.swf

    You can change images on hover or visited states with just CSS, (no flash or javascript), see item 2 here:-

    http://www.wickham43.supanet.com/tut...tedbutton.html

    The best way is to make an image which has all states in one combined image like http://www.wickham43.supanet.com/tut...mecombined.gif and then use different margins to show the part that you want for the different hover and visted states.
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Posting Permissions

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