469,275 Members | 1,871 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

frames ... and how to deal with them

Hi

I am kinda new to js so this might be an easy one to experts like you ...

I am setting up a website with frames (classic layout: banner, navigation
bar and main window).

In the navigation frame (name is 'frmLeft') I have some pics which switch
colors on event onMouseOver, no problem so far. But on this same
onMouseOver event I want to load another html in another frame (frmRight)
.... can you tell me how to do this?

Similar when I trigger onMouseOver in frmLeft I want to change a pic in
frmRight (without loading another html file) ... I suppose this must be
possible but I don't know how ...

An url were a can find some decent explanations concerning how to work with
frames in js is also very welcome ...

Greetz

Bert
Jul 23 '05 #1
1 1013
Hi,
Generally speaking ...don't use frames, as it upset a lot of users.

But if you really have to, refer to the co-frame with top.framename

Something like

onmouseover="top.frmRight.location='blah.html';"

onmouseover="top.frmRight.document.Images['ImgName'].src='Gif1.gif';"

HTH

Kien
www.caoxuan.com/webart/goodies/

"Bert Van Doninck" <ne**@vandoninck.net> wrote in message news:<40***********************@news.skynet.be>...
Hi

I am kinda new to js so this might be an easy one to experts like you ...

I am setting up a website with frames (classic layout: banner, navigation
bar and main window).

In the navigation frame (name is 'frmLeft') I have some pics which switch
colors on event onMouseOver, no problem so far. But on this same
onMouseOver event I want to load another html in another frame (frmRight)
... can you tell me how to do this?

Similar when I trigger onMouseOver in frmLeft I want to change a pic in
frmRight (without loading another html file) ... I suppose this must be
possible but I don't know how ...

An url were a can find some decent explanations concerning how to work with
frames in js is also very welcome ...

Greetz

Bert

Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Bart | last post: by
25 posts views Thread by Steal | last post: by
1 post views Thread by Owen | last post: by
2 posts views Thread by Griff | last post: by
7 posts views Thread by Melinda | last post: by
27 posts views Thread by Murray R. Van Luyn | last post: by
56 posts views Thread by Deepan HTML | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.