/    Sign up×
Community /Pin to ProfileBookmark

DHTML menu wont work if it’s put in a frame?

I have a horizontal menu that drops down as the mouse hovers over it. It works fine except when I put it in a frame it wont drop down at all? Can anyone help?

to post a comment
HTML

6 Comments(s)

Copy linkTweet thisAlerts:
@FunkymonkeyauthorDec 21.2005 — None of the effects work either such as changing the colour on mouse over - I'm using visual studio
Copy linkTweet thisAlerts:
@bathurst_guyDec 21.2005 — Do you have a link to the page in question, or even at least some code to post?
Copy linkTweet thisAlerts:
@FunkymonkeyauthorDec 21.2005 — Sorry I didn't explain very well, the highlighting on mouseover works fine. What I need to do is to open up the dropdown menu (which is actually just a table that becomes visible when the mouse moves over one of the menu options) in another frame. Is it possible to display a table in one frame when the mouse moves over a menu option (which is just another table) in another frame?
Copy linkTweet thisAlerts:
@bathurst_guyDec 21.2005 — Yes, with JavaScript.

example<a href="#nogo" onmouseover="parent.frames[1].document.getElementById('idoftable').style.visibility = 'show'; return false;">Menu Item</a>You will need to change the frame that it is in and the idoftable

There may be an issue with making it disappear again though, maybe onmouseover of a different menu item?
Copy linkTweet thisAlerts:
@FunkymonkeyauthorDec 21.2005 — Cool thanks, where does the name of the frame go? Instead of 1?
Copy linkTweet thisAlerts:
@bathurst_guyDec 21.2005 — Yes I believe so, you may have to place it in 'framename' apostrophies
×

Success!

Help @Funkymonkey 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 6.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...