Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 04-21-2007, 04:37 AM   #1 (permalink)
Inactive
 
Join Date: 04-21-07
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

akswithsim is liked by many
JS: Iframe problem

I am using iframe structure as shown below
Main Window
----IFrame 1 (inside main window)
--------Iframe 2 (inside Iframe1)
----------------Iframe 3 (inside Iframe2)

From Iframe2, to call Iframe3 I am using following code
---------------
var obj = window.frames["Iframe3"];
---------------
Above code is throwing error as shown below
In IE 6 - Permission Denied.
In IE 7 - Object Expected.
In Firefox - Working fine.

One more infomation :
I am using Iframe SRC of same domain. (not external link is there).

Can anybody help me. Its urgent?
Thanks in advance
akswithsim is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-21-2007, 07:54 AM   #2 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,083
iTrader: 0 / 0%
Costin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest order
instead of using var obj = window.frames["Iframe3"];
try this: var obj = document.getElementById("Iframe3");
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-23-2007, 12:15 AM   #3 (permalink)
Inactive
 
Join Date: 04-21-07
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

akswithsim is liked by many
Thanks

thanks costin_trifan for replay. problem solved, just by reloading the window. But don't know why it is happening?
akswithsim is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-23-2007, 12:34 AM   #4 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,083
iTrader: 0 / 0%
Costin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest order
Maybe it's just an IE bug...
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-23-2007, 12:38 AM   #5 (permalink)
Inactive
 
Join Date: 04-21-07
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

akswithsim is liked by many
May be, but problem was in IE 6 and IE 7 both. It means IE 7 still have some bugs.
akswithsim is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-23-2007, 02:15 AM   #6 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,083
iTrader: 0 / 0%
Costin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest order
All browsers have a problem or more...
Quote:
(Why IE should be different?)
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-23-2007, 03:18 PM   #7 (permalink)
Contributing Member
 
Join Date: 01-02-07
Location: PA, USA
Posts: 194
iTrader: 0 / 0%
Latest Blog:
None

Arenlor is liked by somebodyArenlor is liked by somebodyArenlor is liked by somebodyArenlor is liked by somebody
Send a message via ICQ to Arenlor Send a message via AIM to Arenlor Send a message via MSN to Arenlor Send a message via Yahoo to Arenlor
The major bug I see in IE is it has it's own tags and the like. That and it's made by Microsoft.
Arenlor is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
iFrame and tracking problem Reilly Coding Forum 1 08-03-2006 06:43 AM
Problem with iframe. Plz help. maverickinc Coding Forum 5 06-10-2004 12:45 PM


Sponsor Links
Webmaster Forum Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 03:11 AM.
© Copyright 2008 V7 Inc