i-frame issue!

  • razznoir
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 24, 2009
  • Posts: 8
  • Status: Offline

Post February 24th, 2009, 10:07 pm

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 24th, 2009, 10:07 pm

  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Joined: Apr 09, 2008
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England
  • Status: Offline

Post February 25th, 2009, 9:58 am

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
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post February 25th, 2009, 4:12 pm

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...
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • razznoir
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 24, 2009
  • Posts: 8
  • Status: Offline

Post February 26th, 2009, 1:55 pm

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
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post February 26th, 2009, 2:38 pm

Oh... so you want the links to open inside of the iframe?
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • razznoir
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 24, 2009
  • Posts: 8
  • Status: Offline

Post February 26th, 2009, 4:44 pm

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
  • No Avatar
  • Joined: Feb 24, 2009
  • Posts: 8
  • Status: Offline

Post February 27th, 2009, 11:04 am

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 152 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
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.