treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Delayed loading

  • Hello,
    This is my 1st time here and I don't know if this question falls properly under this topic area - so please forgive me if not...

    I've been designing a client site for which I'm using an image map on the main nav buttons, ie : Workshops, Feng Shui, etc., which replaces the images on roll over.

    My problem is: the main nav buttons are sometimes taking too long to start working... Is there something I can do to get them loading up 1st? I have a flash animation in the banner at the top that I figure must be causing the slow down.

    http://ourtrustisingod.com/

    I very much appreciate any suggestions you may have!

    I'm a newbie, so I'm going about this best I can... but if you see any other dumb stuff I'm doing while you're in there, please feel welcome to comment.

    Thanks,
    Susan
  • I wouldn't use javasript at all.
    CSS sprites are the way to go for nav rollovers.

    http://css-tricks.com/css-sprites-what-they-are-why-theyre-cool-and-how-to-use-them/
    http://css-tricks.com/video-screencasts/43-how-to-use-css-sprites/