MM_Swapimage and Safari resizing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • davidb
    New Member
    • Apr 2007
    • 1

    MM_Swapimage and Safari resizing

    Hi,
    I'm trying to use the MM_SwapImage function with images of different aspect ratios but the function can't handle it when interpreted by Safari.
    I'm using Mac OSX 10.4.

    To see the problem in action, go to
    www.lizethsanto s.com/fineart/abstract/abstract.html
    and compare the Safari execution compared to the IE or Firefox result when you mouse over the images at the bottom.

    thanks for checking out my problem!
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Possible workarounds:
    1. Hide the image, swap and then show the image.
    2. If you know the dimensions, set them manually.
    3. Load a dummy background image of 1 pixel, then change to the new image.

    Comment

    Working...