Webmaster Forum

Bidding Directory   High Bandwidth Dedicated Servers   V7N Directory
Go Back   Webmaster Forum > Web Development > Web Design Lobby
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.

Reply
 
LinkBack Thread Tools Display Modes
Old 08-13-2007, 12:12 PM   #1 (permalink)
Inactive
 
Join Date: 08-13-07
Posts: 1
iTrader: 0 / 0%
Latest Blog:
None

wordlinkz is liked by many
calling a function in parent page through iframe?

Hello

I have an iframe (code below).. what i want to check is whether this iframe has lloaded or not and if not loaded load another page(by javascript checking in main page)

Code:

<div style="font-family:Georgia, "Times New Roman", Times, serif">
<IFRAME NAME="mainframe" id="mainframe" FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=580 HEIGHT=100 style="position:relative; left:16px; margin-top:90px;" onload="genurl1('/cgi-bin/nph-gov.cgi')"></IFRAME>
</div>

What im trying to do is make the iframe call a function in main page (which on call assigns a value to a variable.and if that variable is set i can know the page has loaded and if that variable is not set ,the iframe has not loaded)

NOTE:the iframe src is from another domain

I need help on gng about doing this. ...as the iframe src is another domain and will i be able to call a function in in main page thru the iframe..and assign a value.
wordlinkz is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Go Back   Webmaster Forum > Web Development > Web Design Lobby

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
Split a page in 2 halfs and call it with an iframe Joakim Coding Forum 26 12-19-2007 04:27 AM
Iframe just in area that i wanted in the middle of page basketmen Coding Forum 3 12-02-2007 06:22 AM
Does text inside IFrame elements affect Google page ranking? rjohnson Google Forum 4 11-15-2003 11:04 AM


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


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