|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
scrollbars in a framed page
hi,
i'm having a problem with this page wich has three frames. one of this frames contains the menu and some links. the problem is: when the menu is open, the links overflow the frame and, since i set scrollbars hidden, it's not possible to visualize any link. one solution that would make me very satisfied is use other frame's scrollbar to control the menu frame. but i think it's not possible, so, what can i do? the screenshots show the menu opened and closed. thanks for any help, guys! ok, 'why not set scrollbars unhide'. i just don't want it. ![]() Last edited by ezenaide : April 15th, 2005 at 01:01 PM. Reason: before anyone say it... |
|
#2
|
|||
|
|||
|
I'd pull the menu out of a frame completely. Then, if any scrolling's necessary, you can use the main window's scrollbar.
__________________
"A pawn is the most important piece on the chessboard -- to a pawn" |
|
#3
|
|||
|
|||
|
I agree with Madpawn. In the interests of accessability remove the frames.
|
|
#4
|
||||
|
||||
|
The links are huge! =)
ezenaide: Although I agree with the accessibility aspect, can I ask you to clarify "one solution that would make me very satisfied is use other frame's scrollbar to control the menu frame." |
|
#5
|
||||
|
||||
|
Quote:
that's it... in other words: if the menu scrollbar appears on the right side (just as the main scrollbar), it will be perfect. |
|
#6
|
||||
|
||||
|
So you want two scrollbars on the right side of the page?
Or yo uwant a scrollbar on the right side of the menu? |
|
#7
|
||||
|
||||
|
Quote:
no... its a replacement: the right scrollbar will control the menu frame instead of the main frame. or it can control both frames, thats better. |
|
#8
|
||||
|
||||
|
What happens if the right side of your page has to scroll as well?
|
|
#9
|
||||
|
||||
|
er... i don't know that...
maybe could be a way to avoid this. maybe santa exists :P i really don't know that... |
|
#10
|
||||
|
||||
|
Sounds like you just blew your mind my friend... =)
Quite frankly, it's discussions like this why I avoid frames altogether... the idea of a scrollbar in the middle of the page is confusing from a user perspective. Looking at your layout, I think I would redesign it slightly to be a single page [without frames]. This way, if the left menu needs to stretch, it can... if the right content needs to flow off the screen, itcan... all with one scrollbar. |
|
#11
|
||||
|
||||
|
yeah, i know...
at first, the page has no frames, and it was a lot easier to handle. but now it has a lot of javascript, and i'm using it to write the content of the frames... i have tried to do this with layers, but seems very complicated to me... i'm new on all of this stuff ![]() using layers instead of frames, the big question is: how to insert the content of a html page - all, not only text - in a frame with a <a> tag and javascript? something like Code:
<a href="#" onClick="changeContent(pagex);"> where 'pagex' is the html page... hey... i'm working on this: Code:
function mudarConteudo(ID,parentID,sText) {
if (document.layers) {
var oLayer;
if(parentID){
oLayer = eval('document.' + parentID + '.document.' + ID + '.document');
}else{
oLayer = document.layers['main_layer'].document;
}
oLayer.open();
oLayer.write(sText);
oLayer.close();
}
else if (parseInt(navigator.appVersion)>=5&&navigator.
appName=="Netscape") {
document.getElementById('main_layer').innerHTML = sText;
}
else if (document.all) document.all['main_layer'].innerHTML = sText
}
the 'sText' parameter reffers only to text. ok, there's a parameter wich referrs to all content? anyway, thx at least for read it all ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Advanced Web Development > scrollbars in a framed page |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|