473,320 Members | 1,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Accessing Elements in other frames

Firstly, I am aware of all the issues that are introduced with frame
pages - this was not my decision - it is just what I have to work
with...

I have a frame page that looks like this
-------------------
| topFrame |
-------------------
| navFrame |
-------------------
| ContentsFrame |
|------------------

Within the contents frame I have a NEW FRAME set which looks like this
--------------------
| | |
|treeFrm | frmDisp |
| | |
--------------------

I know that this is awful. I have a link in the contentsFrame. When I
move over that link, I need to get a layer that already exists in the
frmDisplay to become visible... PLEASE HELP ME... I have NO idea how
to do this... even more so because I am not sure that it can even be
done :(

Evan
Jul 23 '05 #1
1 1211
In article <53**************************@posting.google.com >,
ev*****************@hotmail.com enlightened us with...

I know that this is awful. I have a link in the contentsFrame. When I
move over that link, I need to get a layer that already exists in the
frmDisplay to become visible... PLEASE HELP ME... I have NO idea how
to do this... even more so because I am not sure that it can even be
done :(


top.frames['myFrameName'].document.getElementById
("elementId").style.visibility = visible;

There should be numerous checks in production code to make sure the objects
and properties exist.
Also, this assumes the frameset is not in someone else's frameset. ("top")

HTH
--
--
~kaeli~
You feel stuck with your debt if you can't budge it.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Chris New | last post by:
G'Day All I am having trouble dynamically assigning a value to a table's cell from one frame to another frame. I've created a website that is primarily viewed in a frameset consisting of 2...
2
by: Jeremy Gollehon | last post by:
I'm trying to help a friend out but couldn't find an answer so thought I'd post here. Is it possible to access the frame window at http://www.5460.net (a chinese site)? We're trying to get the...
22
by: Luke | last post by:
Elements with name attribute: form, input, textarea, a, frame, iframe, button, select, map, meta, applet, object, param, img (if you know more reply...) Methods of addresing html elements:...
1
by: dj Bass | last post by:
I've got a situaion where there's one frame with a load of buttons, acting as a small control panel, with a datagrid object existing in another frame. On clicking on one button on the top frame,...
1
by: Salek Talangi | last post by:
Hello, I have following (probably very basic) problem: I made a html-frameset in VS.net, where the frames itself are aspx-pages with webforms. Now I want to access the webforms (eg. give a label...
3
by: David Brewster | last post by:
Hey everyone. I am just getting into .NET (2003) now - I've been working in VB6 for some time now, so my question may seem pretty low level for some - but bare with me ok? I have a form with 2...
1
by: CS Wong | last post by:
Hi, I have a page form where form elements are created dynamically using Javascript instead of programatically at the code-behind level. I have problems accessing the dynamically-created...
14
by: Aaron Gray | last post by:
Hi, I want to access the properties of an IFrame but seem unable to get access to the IFrames document body. <html> <body> <iframe src="test.html" id="IFrame"></iframe> </body>
1
by: jennyzest4u | last post by:
Hi, I 'm trying to access some fields in the parent window from a child window like this.. Here is my parent Jsp, which has the following script.. if (window.opener.parent.frames) { var...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.