/    Sign up×
Community /Pin to ProfileBookmark

Have DHTML drop down menu, how do I affect state of one button with java?

I have a DHTML menu with graphic rollovers and a drop down menu, created with OpenCube software. Works great, but I need to make one change. When you are actually on one of the pages from the drop down menu, I want that section of the top menu to stay in the rollover state, so you can see what page you are on.

The current code is:
<body bottomMargin=”0″ leftMargin=”0″ topMargin=”0″ rightMargin=”0″ marginwidth=”0″ marginheight=”0″>

<script type=”text/javascript” language=”JavaScript1.2″ vqm_id=”images/ehnav.js”>

vqm__notice=’Visual QuickMenu Pro, (c) 2004 OpenCube Inc., All Rights Reserved, Visit – [url]www.opencube.com[/url]’;

vqm__codebase=’images/’;
vqm__database=’images/’;

</script>
<script type=”text/javascript” language=”JavaScript1.2″ src=”images/ehnav.js”></script>
<script type=”text/javascript” language=”JavaScript1.2″ src=”images/tdqm_loader.js”></script>

and when I emailed them for help on Friday afternoon they told me to change it to this:
<body bottomMargin=”0″ leftMargin=”0″ topMargin=”0″ rightMargin=”0″ marginwidth=”0″ marginheight=”0″>

<script type=”text/javascript” language=”JavaScript1.2″ vqm_id=”images/ehnav.js”>
vqm__notice=’Visual QuickMenu Pro, (c) 2004 OpenCube Inc., All Rights Reserved, Visit – [url]www.opencube.com[/url]‘;
vqm__
codebase=’images/’;
vqm__database=’images/’;
</script>

<script type=”text/javascript” language=”JavaScript1.2″ src=”images/ehnav.js”></script>

<script type=”text/javascript” language=”JavaScript1.2″>
dqm__static_image0 = vqm__database+”about_on.jpg”
dqm__rollover_image0 = vqm__database+”about_on.jpg”
</script>

<script type=”text/javascript” language=”JavaScript1.2″ src=”images/tdqm_loader.js”></script>

but it is not working. I have the new code inserted on -deleted, got the answer – page if you want to see it.

Thanks!

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@VladdyAug 22.2004 — [i]Originally posted by Hurstool [/i]

[B]I have a DHTML menu with graphic rollovers and a drop down menu, created with OpenCube software.[/B][/QUOTE]

My condolences
[B] Works great, [/B][/QUOTE]
Not when one has JS disabled
[B]

but I need to make one change. When you are actually on one of the pages from the drop down menu, I want that section of the top menu to stay in the rollover state, so you can see what page you are on.

[/B]
[/QUOTE]

No point to fix something that is FUBAR to begin with...
Copy linkTweet thisAlerts:
@HurstoolauthorAug 22.2004 — I'm getting ready to add a signature to my posts which says "Yes, I use tables and javascript menus, don't give me grief about it" (grin!)

Anyone have a workable solution for the problem as posted?
Copy linkTweet thisAlerts:
@HurstoolauthorAug 23.2004 — Anyone??
Copy linkTweet thisAlerts:
@Willy_DuittAug 23.2004 — [i]Originally posted by Hurstool [/i]

[B]Anyone?? [/B][/QUOTE]


Help you with what...

The example code you provided shows nothing of the script and only references numerous external javascript files that noone has access to...

.....Willy
×

Success!

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