i-frame issue!

  • razznoir
  • Newbie
  • Newbie
  • razznoir
  • Posts: 8

Post 3+ Months Ago

Alright. I only pray this is going to make sense once I have posted this. Here is the issue.

I have a "main.html" page, and it has an "i-frame" built into it. Works flawlessly, nothing is wrong with it. Has roughly 6 links to load inside the "i-frame" itself (enter yeay me here)

Here is the issue.

the "main.html" page is setup as an 'information page' that is linked to the main page "index.html". The same series of 6 links are there on the index. I'm trying to have it function in a certain way.

I wanted to be able to have users click on the 'help' link from the index page, and have the main.html page load the the specific 'help' page loading. instead of the default beginning page i deemed 'welcome'..

I hope that made sense. please help. I'd be so very grateful!!
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England

Post 3+ Months Ago

So you are trying to link to a page other then the index inside the i-frame? OK so just do that i.e.
Code: [ Select ]
<a href="help/the_sub_page">Your link name</a>
but mebe thats not what you are asking im not sure...
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8411
  • Loc: USA

Post 3+ Months Ago

When you open something in an iframe, that page opens in an iFrame. What I see that you would need (if I understood you correctly), is that you want to break out of that iFrame... (Am I correct).

There is a certain JavaScript code that would allow you to do that...
  • razznoir
  • Newbie
  • Newbie
  • razznoir
  • Posts: 8

Post 3+ Months Ago

i think you might be onto something. ill simplify it to see if you are on the right page.
page A has 6 links on it.
page B has the iframe in it 'for' those 6 links.
if you click on any page A links. Page B opens he 'default' page for the i-frame on page b.

I want each of page a's links to open up inside the i-frame on page b 'from' the links on page a??

maybe i'm attempting the impossible here
if there is a javascript. i'd love to get it.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8411
  • Loc: USA

Post 3+ Months Ago

Oh... so you want the links to open inside of the iframe?
  • razznoir
  • Newbie
  • Newbie
  • razznoir
  • Posts: 8

Post 3+ Months Ago

yea. cause the 6 links on the page A, are the same links that are on the page B with the i-frame itself.

I was hoping to match it up. so people don't have to click 'help page" link twice just to wind up seeing it in the i-frame on the page b

page A has other non i-frame crap on it.
  • razznoir
  • Newbie
  • Newbie
  • razznoir
  • Posts: 8

Post 3+ Months Ago

Sorry I can't show an example. The site isn't unveiled yet.

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: No registered users and 56 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.