Make iframe headers fixed; don't jump to top when switching tabs

release-0.6
thomascube 14 years ago
parent ed33d19de9
commit 361ce60948

@ -9,7 +9,7 @@ body
body.iframe
{
margin: 0px;
margin: 20px 0 0 0;
background-color: #FFF;
}
@ -274,6 +274,14 @@ img
float: right;
}
body.iframe .boxtitle
{
position: fixed;
top: 0;
left: 0;
width: 100%;
}
.boxcontent
{
padding: 15px 10px 10px 10px;

@ -46,7 +46,7 @@ function rcube_init_tabs(id, current)
// create a tab
a = $('<a>').text(legend.text()).attr('href', '#');
tab = $('<span>').attr({'id': 'tab'+idx, 'class': 'tablink'})
.click(function() { return rcube_show_tab(id, idx); })
.click(function() { rcube_show_tab(id, idx); return false })
// remove legend
legend.remove();

Loading…
Cancel
Save