Nå jeg har siddet og rodet lidt med det, men er løbet ind I at jeg ikke kan få HASH navigationen til at virke.
Mit URL vil ikke vise mit HASH tag.
Hvad gør jeg forkert ????
<!DOCTYPE html>
<head>
<script src="
http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<link rel = "stylesheet" href = "..\CSS\BasicStyles.css">
<script type="text/javascript">
$(document).ready(function () {
// This function will run when you click on on of the tabs
$('.tabs a').click(function () {
// save $(this) in a variable for efficiency
var $this = $(this);
// hide panels
$('.panel').hide();
$('.tabs a.active').removeClass('active');
// add active state to new tab
$this.addClass('active').blur();
// retrieve href from link (is id of panel to display)
var panel = $this.attr('href');
// show panel
$(panel).fadeIn(250);
// don't follow link down page
return (false);
}); // end click
// open first tab
$('.tabs li:first a').click();
}); // end ready
</script>
</head>
<body>
<div id="wrapper">
<section id="main_section">
<h1>Portfolio List</h1>
<hr />
</br> </br>
<div class="tabbedPanels">
<ul class="tabs">
<li><a href="#tab1"><span>Overview</span></a></li>
<li><a href="#tab2"><span>Fixed Income</span></a></li>
<li><a href="#tab3"><span>Security Finance</span></a></li>
<li><a href="#tab4"><span>Other Systems</span></a></li>
<li><a href="#tab5"><span>Trading Technology</span></a></li>
<li><a href="#tab6"><span>FX</span></a></li>
<li><a href="#tab7"><span>All Systems</span></a></li>
</ul>
<div class="panelContainer">
<div class="panel" id="tab1">
<h2>Panel 1 content</h2>
</div>
<div class="panel" id="tab2">
<h2>Panel 1 content</h2>
</div>
</div>
</div>
</section>
...... osv for resten af tabs
</div>
</body>
</html>