473,508 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1096
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2590
by: Bart | last post by:
Hi there, Since you've all told me that frames ar evil, I'm planning to disguard frames in favour of CSS "pseudo-frames" for my personal website. While trying to "emulate frames" (that is I...
6
2815
by: Tom Braun | last post by:
Hello! My first post here... I need to monitor if someone clicked on some (any) link in a subframe. Due to certain restrictions, the only place I can put some JavaScript is in the main...
25
43201
by: Steal | last post by:
Hi at all I try to validate this page using the link: http://validator.w3.org/ but it return that this is not a valid HTML 4.01 page please where is it error? Steil <!DOCTYPE HTML PUBLIC...
1
1582
by: Owen | last post by:
I believe that different browsers treat frames/iframes differently, and this is one of the reasons to avoid using them in websites/applications. Are there any other reasons to avoid them? In...
2
1395
by: Griff | last post by:
A novice's view-point (please correct) With CLASSIC ASP, I understand that frames could be beneficial. For example, the left-hand frame could contain the ASP for the navigation tool and the...
7
1398
by: Melinda | last post by:
Do i go ahead using frames? I've heard in the past that frames were not supported in some browsers & its not a good idea to use them. I suppose there are two sides to this & this would be a top...
9
1259
by: Jim | last post by:
What would be cool as hell, would be a designer interface like Dreamweaver - with drag and drop elements like frames and such. Why isn't ASP.Net as easy to use as Dreamweaver. Certainly...
27
3935
by: Murray R. Van Luyn | last post by:
Hi, Is using frames in a website as big an issue nowadays as it was maybe 5 or so years ago? I can remember that you used to have to have a frame site, as well as a non frame site for browsers...
56
3763
by: Deepan HTML | last post by:
Hi All, Currently i am working in a framed environment where i have divided the window as 20% and 80% and the 20% is used for navigation purpose and right frame for displaying the orignal content....
0
7227
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7127
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7054
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7501
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5633
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3204
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3188
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1564
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
424
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.