/    Sign up×
Community /Pin to ProfileBookmark

Mouse over / mouse active question…

Hi there…

My client wants his new website in frames. Yes, I know, but he wants it….

I have 3 frames: logo (top), menu (left) and content (main). Now I’d like to know if its possible to do the following when I use a text menu (no images).

The menu has to do the following:
– light up when the mouse is over and unlight when mouse is not over
– stay active when mouse clickes and the content is loaded in the content frame.

I know it’s possible with an image menu, but is it also possible with a text menu?

Can anyone show me how or where I can find a tutorial about this…

Thnx…

Leon

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@maw_webdesignauthorSep 18.2004 — Thnx Mr. J. ?


But what if a link on the content page is clicked. Is there also a way to get the text link in the menu activated?

E.g. there's a text link in the menu called 'company'. When I click on that one, I can get it activated. Thats cool. But what if on the content page (frame main) is also a text link to the company page. Is it possible when I click on the text link on the contentpage the text link on the menu page lights up?

Leon
Copy linkTweet thisAlerts:
@Mr_JSep 18.2004 — Yes.

In your menu suppose your Company links ID is "comp1"

The link in the content page would be something like this

<a href="company.htm" onclick="parent.menuframename.active('comp1')">Company</a>

I can do you a working example if you wish, let me know how you are wanting the links highlighted

Ie

Default state

Onmouseover state

Onmouseout state

Onclick state
Copy linkTweet thisAlerts:
@maw_webdesignauthorSep 22.2004 — Yessss, it works fine.

Thnx for your help!

Leon ?
×

Success!

Help @maw_webdesign 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,
)...