HELP: External link not working in div with slideToggle
Hello
I'm quite new to jQuery and have a problem with external links inside a div with slideToggle.
jQuery code
-
$(document).ready(function() {
$('[class^=toggle-project]').show();
$('[class^=]').click(function() {
var $this = $(this);
var x = $this.attr("className");
$('.toggle-project-' + x).slideToggle('slow');
return false;
});
});
The code includes some form a tutorial i found which lets you slideToggle multiple divs - found
here
Link code
-
<a href="http://www.jqueryhelp.com" target="_blank">www.jqueryhelp.com</a>
Test Page Here
Please let me know if you need any more code or info. I'm comletely at a loss to why this doesn't work.
Thanks very much