My page “inicio.html” currently contains this script:
$(document).ready(function() {
$("#my_site_content").load("inicio.html");
});
and in a body of that page:
<div id="my_site_content"> </div>
I have tested this in Chrome/IE7/IE8/Firefox and it works fine, however, on Safari, the page inicio.html doesn’t work at all. I also have a Nivo Slider on the page and cufon tags for the font, though it doesn’t work in Safari. What’s going on?
OBS: If I only open inicio.html, the page works perfect, but not when I load this inside a div in another page.
EDIT: PAGE LINK
first you need to realize, whether that function will run. If no, you’ve got anser. Second, you need to see this div, so add border or background color. then try to run that function, maybe it will just disapper. don’t forget to set width and height. last, check, if there is any problem with element, because if inicio.html have html, body and so on elements, maybe that’s the problem.