RGL browser: move help button, re-add synopsis link

This commit is contained in:
john.j.camilleri
2013-01-29 11:05:26 +00:00
parent 87545f3f83
commit 229853e46f
3 changed files with 15 additions and 15 deletions

View File

@@ -177,19 +177,11 @@ $(document).ready(function() {
}
});
// Initialize the panels & tabs
$(".panel").each(function(a,b){
$("<a>")
.addClass('tab')
.addClass($(b).attr('id'))
.attr('href', '#'+$(b).attr('id'))
.html($(b).attr('id'))
.click(function(){
showPanel(b);
return false;
})
// .appendTo("#tabbar")
.insertAfter("#tabbar *:last-child")
// Initialize the panels, tabs
$("a.tab").click(function(){
var panel = $(this).attr("href");
showPanel(panel);
return false;
});
showPanel(".panel:first");