View Full Version : multiple frames question
kicsi2l8
04-18-2003, 12:37 AM
hello all,..i have a quick question.
I have a top frame, a small middle frame (where my JS navigation bar sits) and a main bottom frame. the JS navigation bar has drop down menus, but i cannot see the drop downs unless the bottom frame is far enough away from the middle frame. Is there a way to make the Javascript Navigation bar show up while keeping the bottom frame right up against the middle frame?
thanks!
Skyzyx
04-18-2003, 06:35 AM
The drop-down menus are part of whatever page they're on... in other words, they can't go across frames.
One thing you could look into, however, is using iframes, as you'd be able to do what it is that it seems like you want to do.
ConfusedOfLife
04-18-2003, 01:06 PM
I didn't have a good luck with iframes either! Do you have a sample page?!
kwhubby
04-18-2003, 10:21 PM
ive tried this too... if your using a version of your browser that supports the z indexng of iframes, iframes would work, but thats too browser specific, so thats not a good idea. But the only other way to do this that ive found is to create at the menue in the bottom frame, seperately, with div tags with a little script that keeps it on the same part of the screen while the page scrolls. ive done it before, and if you realy want i could create an example of this
ConfusedOfLife
04-19-2003, 02:06 PM
I hear ya kwhubby, it's exactly what I wanted to say! Putting everything in one page (one frame) is the ultimate solution I belive. You can use divs however to seperate your contents from each other.
shlagish
04-19-2003, 05:18 PM
But then if you do that you don't get all the advantages of frames...
Each time you click on a link in the navigation bar, the navigation bar will reload. To avoid that is one of the purposes of frames.
ConfusedOfLife
04-19-2003, 07:36 PM
If you only want to avoid that, you can use a parent framed page that only has one frame in itself! That frame is your normal page, but by putting it in a framed parent, you get that constant location bar that you were looking for. Still your menu bar and the rest of stuff reside in one page, but by clicking on any link you just change the window.location without changing the location of the parent page.
shlagish
04-19-2003, 10:30 PM
That's not what I meant, if you don't use frames, each time you click on a link, the navigation bar THE SITE CREATED (not the white location bar at the top of the browser) will reload. For slow computers it's a pain because instead of just loading the new content (5seconds) it reloads EVERYTHING (25seconds)
kwhubby
04-20-2003, 06:54 AM
but u can still do what u want WITH frames!!!! u have the navigation frame, u have the content pages for the content frame with a small little <script> tag with src to a js file.
and the navigation frame when mouseover the drop down button sends a messege to the content frame to bring a div with html in it making it look like a menu at x,y coordinate and its stays in that part of the screen even when page scrols since it has a little compensater. and if desighned properly, looks like the drop down menue is overlapping the frame.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.