Tak wygląda index.php w miejsce diva "content" ładowana jest zawartość "loader.php" w zależności o wybranej opcji w MENU GŁÓWNYM, które jest w pliku index.php ( to śmiga bez zarzutu).
Problem jest z SUBMENU wyłącznie pod IE, które znajduje się w "loader.php", a nie w "index.php", jak to można poprawić pod IE, proszę o pomoc, bo jestem w tym temacie zielony

<script type="text/javascript"> $(document).ready(function () { $.history.init(pageload); $('a[href=' + window.location.hash + ']').addClass('selected'); $('a[rel=ajax]').click(function () { var hash = this.href; hash = hash.replace(/^.*#/, ''); $.history.load(hash); $('a[rel=ajax]').removeClass('selected'); $(this).addClass('selected'); $('#body').hide(); $('.loading').show(); getPage(); return false; }); }); function pageload(hash) { if (hash) getPage(); } function getPage() { var data = 'page=' + encodeURIComponent(document.location.hash); $.ajax({ url: 'loader.php', async: false, cache: false, type: "POST", data: data, success: function (html) { $('.loading').hide(); $('#content').html(html); $('#body').fadeIn('slow'); } }); } </script> <link rel="stylesheet" href="images/style.css" type="text/css" /> <!--[if lte IE 7]> <link href="images/ie6.css" rel="stylesheet" type="text/css" /> <![endif]--> </head> <body> <div id="wrapper"> <div id="menu_tlo"> <ul id="menu"> </ul> </div> </div> <div id="body"> <div id="content"> <!-- Ajax Content --> </div> </div> </body> </html>
Poniżej loader.php z SUBMENU, które pod IE nie działa ( wyświetla się, ale nie zmienia zawartości) , dopiero odświeżenie w przeglądarce powoduje przeładowanie treści.
<? switch($_POST['page']) { case '#O_nas' : $page = ' <div id="foto"> <ul id="submenu"> <li><a href="#O_nas" rel="ajax" title="Biografia zespółu muzycznego Sonus">Zespół Muzyczny Sonus</a></li> <li><a href="#Galeria" rel="ajax" title="Galeria zespółu muzycznego Sonus">Galeria</a></li> </ul> <div id="tekst">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div></div>'; break; } ?>