Weird problem in Safari

Weird problem in Safari

I was having a problem with some code not working after refresh, but now (with different code) I'm having a problem where the jquery doesn't work on the first load and works after I refresh it any amount of times.  Sounds like when the page is cached everything works.  With a google search, all I could really turn up is that the jquery needs to be wrapped in the following:

  1. $(document).ready(function(){
  2.       // your code
  3. });
I've done this and it's still not fixing my problem.  It's weird, because it's all of my jquery code that isn't working and I'm only having this issue in Safari.  If it helps, I'm using the following jquery:

.fadeIn()
.fadeOut()
.slideToggle()
.mouseover()
.mouseout()
.css()

Any ideas of why this might be happening?  Anyone else having these same problems?