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
Old 07-01-2009, 09:49 AM Iframe dilemna
Junior Talker

Posts: 3
Name: David Robertson
Trades: 0
Ok

So I have a webpage with a few iframes. My problem concerns the iframe (called body) in which most of the content of my page is loaded. There is a navigation bar on my website, which targets body. Whenever a link on the nav bar is pressed, two iframes open in the body iframe. lets call them iframe 1 and iframe 2.

Now in iframe one, there is a form, and in iframe 2 there is either one of two pages showing. When it first opens, it is showing page b. However, when the form is submitted, id like iframe 2 to switch and show page a.

ive tried using onsubmit and call a javascript function, but i think i may be having trouble with identifying the iframe 2 correctly. Oh yes, and i should point out that in iframe 2, there are two divs. in div 1, there are links to page a and page b, and the second div is where page a and page b load.


cheers, ill buy you a case of beer

i need help very badly.

appreciated

Last edited by drob2689; 07-01-2009 at 09:52 AM..
drob2689 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Iframe dilemna
 

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.19535 seconds with 12 queries