SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2002
    Location
    Toronto, Canada
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Netscape 4.x and JS Rollover

    Hey all,

    I've just run into a problem viewing a site I launched in Netscape 4.x...

    The problem is when I mouse-over the thumbnail pictures. The large image is supposed to appear above. The image appears, however, shrunken!

    I don't encounter the problem in IE... Any ideas? It could be the JS Code (please keep in mind that it is VERY basic beginner code!).


    Site: www.creationsbygabriella.com/portfolio.html


    Thanks,
    ...Frank
    Last edited by FrankieShakes; May 14, 2002 at 05:07.
    ...Shakes


    "Whether you think you can, or you think you can't, you're right!"

  2. #2
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2002
    Location
    Toronto, Canada
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Andrew,

    Thanks for the links... Do these also work in Netscape 4.x (I'm sorry I didn't mention it earlier).


    Thanks,
    ...Frank
    ...Shakes


    "Whether you think you can, or you think you can't, you're right!"

  4. #4
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't see anything wrong with that, but i'm not exactly the person to ask about cross browsability as i only really design with ie6 in mind lol

  5. #5
    SitePoint Addict
    Join Date
    May 2000
    Posts
    313
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The problem you are having with NS4 is that it will retain the size of the original image. That is a peculiarity of NS4 only. If the first image you have is 10 by 10 then all the images will be that size even if they are larger or smaller. You could try specifying larger height and width sizes in your img tag and make sure that all of your images are the same size. Another way to get around it is to use a combination of divs and document.write statements to write out the img tag each time they rollover the thumbnail.

  6. #6
    SitePoint Enthusiast
    Join Date
    Mar 2002
    Location
    Toronto, Canada
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Requestcode,

    I guess I'll try to re-size all the images to the same fixed width & height.

    As for your second suggestion, how would I go about doing that? I'm not too familiar with javascript, so any help/examples would be appreciated.


    Thanks,
    ...Frank
    ...Shakes


    "Whether you think you can, or you think you can't, you're right!"


Bookmarks

Posting Permissions

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