clickable blocks with target in new window
Hallo everybody,
I´m quite new to jQuery, so this may be a simple question. Anyway: This Script forces a div to be "clickable" what works fine.
-
$(document).ready(function(){
$(".pane-list li").click(function(){
window.location=$(this).find("a").attr("href");return false;
});
}); //close doc ready
But how can I make this script to accept the "target=_blank" attribute? Any suggestions?[/code]