/    Sign up×
Community /Pin to ProfileBookmark

Cascademenu and frames – possible?

Hello.

I’ve been working with the “CascadeMenu” scprit for quite long time now, and really enjoy using it. It’s easy and good looking.
The menu script I’ve downloaded from this site: [url]http://javascript.internet.com/navigation/cascade-menu.html[/url]
I’m sure some of you know it, and since it comes with 3 files I won’t post the script it self here.

[B]However my question[/B] :
I’ve made a new layout to one of my sites, using a <iframe> for the part that is subject to change/different pages.
But I haven’t been able to get the CascadeMenu working with the frame.
Well my only idea to get it working was a “TARGET=” within the [DIV] tag.
It’s all to the same frame, so if it’s possible to adjust in the scprit/js-file then fine with me.
Thanks in advance

/Peter

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@Peter_662authorOct 21.2003 — I've looked a bit in to it my self.

Not that I got any bit closer so a solution, but, this is the part of the java-script, that changes pages.

So when the mouse is clicked, this part of the script will be exe'd:

[COLOR=red] function Do(obj)

{ var cmd = eval(obj).cmd

window.navigate(cmd) }[/COLOR]


Does anyone have any idea if it is possible to link this command to a frame called "WEB"?

/Peter
Copy linkTweet thisAlerts:
@XinOct 21.2003 — function Do(obj) {

var cmd = eval(obj).cmd;

WEB.location.href=cmd;

}
Copy linkTweet thisAlerts:
@Peter_662authorOct 21.2003 — [B]It works! [/B] ? :p

Thank you SO much for the help!

/Peter
×

Success!

Help @Peter_662 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.2,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

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