Iframe help

  • Fusion
  • Graduate
  • Graduate
  • User avatar
  • Posts: 140
  • Loc: Liverpool - England

Post 3+ Months Ago

heya, this is really a dumb question .. but here it goes.
ok, i had an idea that i would create an iframe, and place all my navigation links on there.. and then incorporate it into every page.
so that i would jus change somethin on the iframe, instead of changin it on every page. but my problem is, that when i click on a link, to go to say.. "art" it loads up the page, but it's in the iframe.. whereas i wanted it load up on my main page, outside of the iframe.. i need help on how to make it load up outside the frame, into my main content area!!
please, if you understand what im tryin to say, give me a hand! lol
(im more of a gfx person than webmaster ;) lol)
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

in the
Code: [ Select ]
<a>
tag put target="_parent" and see if that works...[/code]
  • Fusion
  • Graduate
  • Graduate
  • User avatar
  • Posts: 140
  • Loc: Liverpool - England

Post 3+ Months Ago

thank you! i feel like such a dumbass now lol.
thanx :lol:
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

Did you try it? not sure if it actualy works....:-P
  • Fusion
  • Graduate
  • Graduate
  • User avatar
  • Posts: 140
  • Loc: Liverpool - England

Post 3+ Months Ago

yeah, it worked.. heh, thanx again :P
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

:) any time, glad I can figure out stuff first, then do research on what an IFrame is ;)
  • Fusion
  • Graduate
  • Graduate
  • User avatar
  • Posts: 140
  • Loc: Liverpool - England

Post 3+ Months Ago

lol! well.. thas a good skill you got there :p
keep it up :lol:
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Keep in mind that Iframe is not supported in older Netscape Versions. So anyone using a Netscape 4.x Browser (and I still have several friends who won't give that up) won't have access to your navigation, hence rendering the site useless to them.

You might want to check your stats and see how many Netscape 4.x users are browsing your pages before you stick something as essential as navigation in an Iframe. Personally, I wouldn't do it.
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

Ahh that IS a good point!

Is there a way to check if someone doesn't have support and output something if they dont?

//edit

Within the IFrame instead of writing a php script checking for the browser etc...
  • Geekette
  • Proficient
  • Proficient
  • User avatar
  • Posts: 482
  • Loc: The Land of NeverWinter (FL)

Post 3+ Months Ago

Hmm ... does the <noframes> tag work with inline frames? I don't think so, but then again, I have never tried.
  • Fusion
  • Graduate
  • Graduate
  • User avatar
  • Posts: 140
  • Loc: Liverpool - England

Post 3+ Months Ago

Well, yeah theres always the thing about compatablity..
But i need Iframes, because i have to get alot of information into one small space, in that case.. i need iframes!!

Although to be honest, if people are still viewing in netscape 4, then thats there own problem .. at least everyone should have IE or NS6.
So therefore, i have to stick with iframes! lol
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

I have a client who's opinion of NS 4.x user's is "We probably don't want their business anyway" *lol (Personally I like his attitude -- although for the most part, I still take that one into account -- for the most part).

Well Go for the Iframes then. Personnally, I like them.

The only alternative I could suggest is to write the navigation in javascript and call it from an external file within the body where you want it. Not sure it would work for you, but it's an alternative idea that should satisfy all browsers, and keep it so you only have to update one file.

Good luck
  • Fusion
  • Graduate
  • Graduate
  • User avatar
  • Posts: 140
  • Loc: Liverpool - England

Post 3+ Months Ago

Well, i suppose the javascript would be the best approach ..
but i think im gonna go for iframes! lol
Reason being.. i've almost finished my site, and it has alot of iframes in lol. so i dont want to have to start all over again, lol .. since i have a habit of making a site then thinkin "ahhh, i can do better" so i scrap that site then put it into my 'old sites folder' (seriously lol) then make a new site .. then the same happens with that lol. but i think ive finaly got the site layout and content how i want it this time! lol.
anyways, thanx for the help guys. :lol:
  • Steen
  • Proficient
  • Proficient
  • User avatar
  • Posts: 343

Post 3+ Months Ago

anyone have a general idea of what the percentage of users not seeing Iframes would be ?
  • The Shrew
  • Graduate
  • Graduate
  • User avatar
  • Posts: 247
  • Loc: Florida

Post 3+ Months Ago

Wild guess... 20%, most people have upgraded their browser or have bought a computer in the last few years.
  • Steen
  • Proficient
  • Proficient
  • User avatar
  • Posts: 343

Post 3+ Months Ago

Mind you, one could go ahead and use the Iframe
and put a browser sniff in there, if Netscape, then
do a server side include for that same Iframe file.

It's been done before, just a matter of form, fit & function.

or redirect them based on browser and show them a different page.

bla ...
  • Life Force Salamander
  • Newbie
  • Newbie
  • User avatar
  • Posts: 5
  • Loc: London

Post 3+ Months Ago

Hey i need some help with iframes

i've done an ifram within an iframe & nows there a massive boarder around the iframe so it doesnt fit properly inside the other iframe
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

Do you have an example link? I wouldn't recommend iframe nesting however.
  • Life Force Salamander
  • Newbie
  • Newbie
  • User avatar
  • Posts: 5
  • Loc: London

Post 3+ Months Ago

whats? iframe nesting mean?

http://remembermethistime.tk


if you go to the news page it isnt inline if you see what i mean
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

Hrmm, the page doesn't seem to load...

iframe nesting is having an iFrame inside (nested) of another iFrame
  • Life Force Salamander
  • Newbie
  • Newbie
  • User avatar
  • Posts: 5
  • Loc: London

Post 3+ Months Ago

hmm how odd try http://www.geocities.com/rmttband/
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

I don't see any iframes in your "news.htm" file. Are you sure that's what you are using?
  • Life Force Salamander
  • Newbie
  • Newbie
  • User avatar
  • Posts: 5
  • Loc: London

Post 3+ Months Ago

yes its a very complicated site, its hard to explain, the whole site is a frame within an iframe

the top fram with the logo & links & the main frame where the page's load are in an iframe

but in the main page on the news page i want to put an iframe, that the news page goes into, basically the purpose of this is to make the page scroll, but when i let the main frame scroll all the other pages scrolled & it had an undesired effect

so i'm just lining the page with an iframe so it appears that only that page scrolls, do u follow, the page u do to when u click on news isnt the news page, its a page called, news_frame.html, & the news page is the scource of the news_frame page
  • lslars31
  • Novice
  • Novice
  • lslars31
  • Posts: 16
  • Loc: Minesota

Post 3+ Months Ago

if you just used regular frames you could name one lets say main and the other menu. On the menu you would then create a link like this:
Code: [ Select ]
<a href="http://fisojfasjf.com" target="main">Link</a>


Or you could scrap it and do it the way I would with php :D
  • Life Force Salamander
  • Newbie
  • Newbie
  • User avatar
  • Posts: 5
  • Loc: London

Post 3+ Months Ago

yeah i have done a link like that, this is much more complicated, its a link from the menu frame, to the main frame, & then theres an iframe winthin the menu frame

Post Information

  • Total Posts in this topic: 25 posts
  • Users browsing this forum: No registered users and 39 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
 

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