Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
control html file from cgi file
Old 07-19-2010, 09:40 AM control html file from cgi file
Junior Talker

Posts: 2
Trades: 0
Hi

I have a page named "index.html".
In my main html file I have 2 <iframe>.
One of them present a html file while the other is empty.
The html is called "top.html" and it is connected to a CGI file (called query.cgi)

I need to create a link in "top.html" file (created by query.cgi) that when clicking on it will open a html file on the other iframe.

Problem:
because "top.html" is created and controlled by "query.cgi" I can't find a way to get the second iframe....
parameters I have tried:
document.url = undefined
document.referrer = http://my_server/top.html
window.location.href= http://my_server/query.cgi
window.document.url = undefined
how can I reach the main page??
naamabm is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-19-2010, 09:50 AM Re: control html file from cgi file
OleTom's Avatar
Extreme Talker

Posts: 176
Location: Out there some where
Trades: 0
Hello naamabm,

If you would post a link to what you are working on we might be able to be more help "You Know One Picture is worth a Thousand Words".

Post the link and I'll check back to see if I can help. BUT there is a lot of people here that are very knowledgeable that will help too
__________________
Life is Good,OleTom

Please login or register to view this content. Registration is FREE
OleTom is offline
Reply With Quote
View Public Profile Visit OleTom's homepage!
 
Old 07-19-2010, 09:55 AM Re: control html file from cgi file
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Use the target attribute
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to control html file from cgi file
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26021 seconds with 12 queries