/    Sign up×
Community /Pin to ProfileBookmark

frames cutting off dropdowns!

I have a page which works beautifully…..

There is a navigation bar <div> near the top, which has javascript dropdown menus which when visible overlap onto the body of the page below – not a problem as it is not vital text.

However, I am now asked if this can be a framed page whereby the top with navigation bar plus dropdowns is one frame and the body of the page is another.

No problem constructing the frames – but if I stipulate the top frame is only the height to the bottom of the navigation bar it obviously cuts off my dropdown menus. And if I allow for more height to accomodate these, then the body of the page is then pushed further down and doesnt appear behind the dropdowns.

Any tricks anyone knows as to how I can accomodate frames but at the same time keep my original effect of the dropdowns appearing over the body? Or am I trying to achieve the impossible? Its not really possible to make the dropdowns go upwards instead as they are too long. ?

to post a comment
Full-stack Developer

4 Comments(s)

Copy linkTweet thisAlerts:
@alpha_channelauthorFeb 04.2004 — I have been researching this one and found a site that utilised an I frame calling up the body of the page as a separate file, thus doing away with the original frameset at all.

I know that I frames are OK in IE but only supported from NS6 onwards.

Can anyone see another way around this problem, or have opinions on the I frame idea as to whether this is a valid solution?
Copy linkTweet thisAlerts:
@rhsundergroundFeb 05.2004 — here's my 2.2360679775 cents...

on my personal website, i use something similar to yourself, a frameset with a dropdown menu on top and everything else on the bottom. when i set up the underground, i thought about doing this, but instead decided to just copy and paste the code on the page. then i switched to a flash menu, which was easier. if you have dreamweaver, you can set up a template, which will make that a HELL of a lot easier. as for the frames, you might try making the text of your dropdown smaller to accompany the size of the frame you need.

best of luck.
Copy linkTweet thisAlerts:
@alpha_channelauthorFeb 05.2004 — Thanks for that.

Personally I would happily do the whole thing in Flash, however.... I am doing this for someone else who is frightened by all of the "complicated stuff" in the navigation bar and dropdowns and who doesnt want to alter any of that, but who wants to be able to edit the body of the site themselves in, dare I say it, Front Page!!!

I suggested that I can put all of the scripting and CSS for the dropdowns etc in separate files and hide the <divs> at the bottom of the html page, nicely out of the way. But they would prefer frames which would just leave them with the HTML for the body to play around with and they couldnt mess up anything from the nav bar etc.

hence I was wondering how on earth I can have a frameset whereby the dropdowns of the top frame overlay the frame below - or indeed if this is possible???!!
Copy linkTweet thisAlerts:
@rhsundergroundFeb 06.2004 — i know not of this magical frame overlap code, but if someone else does, i would be most interested.
×

Success!

Help @alpha_channel spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...