473,394 Members | 1,693 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,394 software developers and data experts.

how to visit the iframe in frameset

This problem is this:a page is made up of frameset, but i can't visit
the iframe(inline frame) of the frame in the framset.just like the
frameset have 3 frames,the third frame have a iframe(inline frame) .how
to ?Thank you for help.

Mar 18 '06 #1
2 1606


zh*******@yahoo.com wrote:
a page is made up of frameset, but i can't visit
the iframe(inline frame) of the frame in the framset.just like the
frameset have 3 frames,the third frame have a iframe(inline frame) .

What exactly does that mean that you "can't visit the iframe"? Is is not
visible? Do you want your script to access the iframe and change its
contents? You should be able to access
top.frames[2].frames[0].location.href = 'whatever.html';
to load whatever.html in the iframe.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Mar 18 '06 #2
thank you Martin,
i have 1.htm that include a iframe named "textedit",the code below work
well,but when i put 1.htm into a frameset ,the code can't do any
effect.
<img src="' onclick="format('Bold')">
<script language="javascript">
function format(command){
var textedit=document.frames("textedit");
var sText = textedit.document.selection.createRange();
if (!sText==""){
if (arguments[1]==null)
textedit.document.execCommand(command);
else
textedit.document.execCommand(command,false, arguments[1]);
textedit.focus();
}
}
</script>

Mar 19 '06 #3

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

Similar topics

12
by: Javier | last post by:
Hello, I'm very new in this forum and as I have the following problem, the website is in http://new.vanara.com ----------------------------------------------------------------------------...
8
by: Fabio R. | last post by:
I'm using an <object> tag to replace <iframe>, not supported in a Xhtml strict DTD (can't use transictional). I can load into the <object> another page, but I don't know from there (the child...
11
by: Fred | last post by:
I have an aspx page: Main.aspx which has several components that cause a postback. In the page Main.aspx I also have an iframe which contains a multi-page pdf file. The problem I am facing is...
7
by: Patrick.O.Ige | last post by:
Can i use Frameset in ASP.NET?What are other options I have a question :- I have an asp.net page and i'm using TreeView control as links The links are on the left side of the page inside a iframe!...
2
by: Bart Van der Donck | last post by:
Hi, I have a directory with a file main.htm: <html><body> <p><iframe src=i.htm></iframe></p> <p><a href="javascript:history.back()">Back</a></p> </body></html> and a file i.htm:
6
by: oscar1martin | last post by:
The property document.links seems to access links inside a frame, but not an iframe. For instance, the following code displays a "4": 2 links in main page, 2 links in frame1. <body...
0
by: tequilamala | last post by:
I have an Iframe in one of the pages i am developing... the iframe is suppose to scroll up and down and the links target the iframe. the problem is that the iframe scrolls side to side on internet...
5
by: BerlinBrown | last post by:
Do you know if it is possible to wait for the iframe page to load and then manipulate the iframe DOM. E.g. mypage: <script> function myinit() { theiframe.location = "iframe_with_frames.html"...
4
by: maminx | last post by:
Hello..i have problem, hope someone can help me..i have this frameset below : <FRAMESET ROWS="55%" COLS="37%,63%"> <FRAME NAME="runningTrade" SRC="http://runningtrade.com" scrolling="no"> ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.