Log in

View Full Version : embedded iframe with drop down menu



adamcromack
09-12-2006, 03:08 AM
so i have a page set up with iframes within a table pointing to different pages. the main frame is where all the nav links open into, and one of which is a videos page of some old videos i made for school projects, etc. I want to know if it is possilbe to have a page with an iframe that has another page with an iframe that loads the farthest page being fetched into the secondary frame within the primare frame? if you're as confused as I am, go here to see what I mean.. http://www.adamcromack.co.nr
The videos page seems to work fine if you go directly to it at http://www.xtechforum.com/adamcromack/videos/videos.html but when at the index http://www.xtechforum.com/adamcromack/index.html or the first url, the problems start... any help appreciated. thx.

adamcromack
09-17-2006, 02:11 PM
anyone?

boxxertrumps
09-17-2006, 02:35 PM
i have Something like that on my site....
www.freewebs.com/boxxertrumps
click enter and take a look at it.
http://boxxer.mooo.com:379/ is on my computer... not always up though...
i used the visual infinite menus at http://www.opencube.com/ and a browser script i requested here at DD
i had to make sure target="theiframe" was in all the <a> tags...
and as for having the pages open into the frames..... have id="frame1" and an anchor with <a href="junk.com" target="frame1">
it should work as long as the anchor and the target are in the same html document.

adamcromack
09-18-2006, 07:48 PM
that looks like a single iframe. i have that working fine, however, it is the vids page that is giving me trouble. I'll try again to explain it. The vids link opens then main vids page within the main iframe (labeled 'main'). That opens fine. NOw this main vids page also has an iframe in it, that opens up a seperate page with the vid on it. so it's like looking through two windows to see the final result (the vid)..

boxxertrumps
09-19-2006, 01:30 AM
you havent stated your problem yet, But i think that your trying to use a PHP function (POST) in a HTML document. Change the extentions to .PHP if you are... But other than that.. you can only have a target for a frame if the anchor is in the same html document... or have the perent document as the target.
eg:


anchor-XYZ
+++++++
+Frame1+
+++++++

+++++++
+Frame 2+
+++++++

Anchor-XYZ can target either frame, But An Anchor in Frame1 Cant Target Frame2.
Im still very Quizzled about your problem though.....

adamcromack
09-22-2006, 02:11 AM
okay there is the main page. this has three iframes. the top, the left side, and the main frame. all links from side and top open into the the main frame. got that?

now the link at the top that says videos opens up a page into the main frame which loads all fine. Now when we look at that page by itself, not in the frame, everything works beautifully. Forget everything else for a moment. This page is like this site: http://www.xtechforum.com/adamcromack/tls/ it has a drop down menu on the page itelf that opens other pages within an iframe that is also on that same page. look at that^ site to see what i mean exactly. Now, with this in mind, the site works fine when loaded by itslef at http://www.xtechforum.com/adamcromack/videos/videos.html but when it's loaded in the main page's iframe, then the secondary pages that load within the videos.html document will no longer load. So i'm thinking you can only have one "layer" of iframes, if you get what I mean.. I don't knowhow else to phrase that, but it's kindof like looking through a window to see another window. but you cannot see through that second window. however, when you look at that second window alone, you can see through it perfectly...

again, look at the site to see what I mean..