Move navigation frame to right for rtl languages.

This commit is contained in:
Michal Čihař
2005-12-14 15:59:39 +00:00
parent c04775d955
commit 76bbf08a3d
3 changed files with 13 additions and 3 deletions

View File

@@ -190,12 +190,20 @@ function refreshQuerywindow( url ) {
function goTo( targeturl, target ) {
//alert('goto');
if ( target == 'main' ) {
target = window.frames[1];
if (text_dir == 'ltr') {
target = window.frames[1];
} else {
target = window.frames[0];
}
} else if ( target == 'query' ) {
target = querywindow;
//return open_querywindow( targeturl );
} else if ( ! target ) {
target = window.frames[0];
if (text_dir == 'ltr') {
target = window.frames[0];
} else {
target = window.frames[1];
}
}
if ( target ) {