Przedstawiam kod html
<!DOCTYPE html> <html lang="pl"> <head> <meta charset="utf-8" /> <link rel="stylesheet" type="text/css" href="style.css"> <link href='http://fonts.googleapis.com/css?family=Oxygen&subset=latin,latin-ext' rel='stylesheet' type='text/css'> <!--[if IE]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body> <div id="main"> <div id="nawigacja"> <nav id="gorne"> <ul> </ul> </nav> </div> </header> <section id="fla"> <img src="images/komfordbud_06.jpg" alt="" width="950" height="284"> </section> <div id="panel"> <div id="boxy"> <img id="corner1" src="images/komfordbud_11.jpg" alt="" width="411" height="120"> <img id="corner2" src="images/komfordbud_14.jpg" alt="" width="411" height="120"> <img id="corner3" src="images/komfordbud_16.jpg" alt="" width="411" height="120"> </div> </div> <div id="prawa"> dfgdfg </div> </div> </body> </html>
a niżej jquery
$(document).ready(function(){ $('#content_area').load($('.menu_top:first').attr('href')); $('.menu_top').click(function(){ var href = $(this).attr('href'); $('#content_area').hide().load(href).fadeIn('normal'); return false; });})
Prosze o pomoc