SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist dalangalma's Avatar
    Join Date
    Aug 2002
    Posts
    468
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS rollovers - do I need to preload?

    I've been doing all my rollovers in CSS now... and I was wondering. Do I still need to have my javascript preload the "over" images? Does the browser load every external file referenced in the CSS immediately, or only when that style rule is first applied? I'd like to get rid of that last shred of javascript I have going there..
    Web Design:
    http://www.numbera.com/
    Free Web Design Resources and Software:
    http://brh.numbera.com/

  2. #2
    SitePoint Enthusiast jeffbax's Avatar
    Join Date
    Jun 2003
    Location
    New Jersey
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't think so

  3. #3
    SitePoint Evangelist dalangalma's Avatar
    Join Date
    Aug 2002
    Posts
    468
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You don't think I need to preload or you don't think it loads them?
    Web Design:
    http://www.numbera.com/
    Free Web Design Resources and Software:
    http://brh.numbera.com/

  4. #4
    Rabble Rouser bronze trophy
    Join Date
    Jan 2003
    Location
    Mountain View, CA
    Posts
    427
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You still need to preload them. However, if this is for something like a site menu you could always use the "over" image to mark the current page as well. This will effectively preload it for the rollovers.

  5. #5
    SitePoint Enthusiast lhatkins's Avatar
    Join Date
    Dec 2002
    Location
    Exeter, UK
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I find when using Images as backgrounds for a CSS rollover effect I get flickering of the images when I roll over it with the mouse. The only conclution I could come to was that is was an IE cache issue, anyone else ahd this and manged to solve it?
    Regards

    ---
    Lee


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
  •