why does my index page dissapear only in safari?

I have tried everything I can think of to track down this issue but can’t turn up anything. I’m using the jquery address plugin for my site. After I login to my site the user gets redirected to the home page at which time I initialize the jquery address plugin. This works great on FF, IE, and Chrome but Safari starts to load the page and then goes blank for some unknown reason. The last block of code it hits is this:

$  ('a').address();

$  .address.init(function(e) {
    // Address details can be found in the event object
});

// Handle handle change events
$  .address.change(function(e) {

    var urlAux = e.value.split('=');
    var page   = urlAux[0];
    var arg  = urlAux[1];

    if (page == "/foo") {
        /* load foo */
    }
    else if (page == "/bar") {
        /* load bar */
    }
    else if (page == "/") {
        /* my index page loaded here

        $  .address.title("Home Page");

        $  ("#loadImage").show();
        $  ('#main').load("home.php", function (e) {
            e.preventDefault();
            $  ("#loadImage").hide();
        });
    }
});

This get called outside of document ready. Any idea what might cause this issue in safari?

newest questions tagged jquery – Stack Overflow

About Admin